Crash in CloseHandleWrapper

Having problems with building or using CEF's C/C++ APIs? This forum is here to help. Please do not post bug reports or feature requests here.

Crash in CloseHandleWrapper

Postby smayoral » Thu Sep 10, 2020 5:09 am

Hi,

I have an sporadic crash in chromium in the CloseHandleWrapper function.
The crash happens without user interation, usually in the morning after coming from sleep modus. Application reconnects with a server and refreshes some web content.

Chromium version is cef_binary_78.3.9+gc7345f2+chromium-78.0.3904.108 and chromium.log with LOGSEVERITY_WARNING is empty.

Operating system is Windows 10.

Any ideas?

Thanks!

bool CloseHandleWrapper(HANDLE handle) {
if (!::CloseHandle(handle))
CHECK(false); // CloseHandle failed. (Visual Studio points to this line)
return true;
}

> [Inlineframe] libcef.dll!base::win::internal::CloseHandleWrapper(void * handle) Zeile 73 C++
libcef.dll!base::win::internal::ScopedHandleVerifier::CloseHandle(void * handle) Zeile 140 C++
libcef.dll!base::win::HandleTraits::CloseHandle(void * handle) Zeile 16 C++
[Inlineframe] libcef.dll!base::win::GenericScopedHandle<base::win::HandleTraits,base::win::VerifierTraits>::Close() Zeile 104 C++
[Inlineframe] libcef.dll!base::win::GenericScopedHandle<base::win::HandleTraits,base::win::VerifierTraits>::~GenericScopedHandle() Zeile 55 C++
libcef.dll!base::subtle::PlatformSharedMemoryRegion::Take(base::win::GenericScopedHandle<base::win::HandleTraits,base::win::VerifierTraits> handle, base::subtle::PlatformSharedMemoryRegion::Mode mode, unsigned int size, const base::UnguessableToken & guid) Zeile 147 C++
libcef.dll!base::FieldTrialList::DeserializeSharedMemoryRegionMetadata(const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>> & switch_value) Zeile 1236 C++
[Inlineframe] libcef.dll!base::FieldTrialList::CreateTrialsFromSwitchValue(const std::__1::basic_string<char,std::__1::char_traits<char>,std::__1::allocator<char>> & switch_value) Zeile 1277 C++
libcef.dll!base::FieldTrialList::CreateTrialsFromCommandLine(const base::CommandLine & cmd_line, const char * field_trial_handle_switch, int fd_key) Zeile 770 C++
libcef.dll!content::InitializeFieldTrialAndFeatureList() Zeile 38 C++
libcef.dll!content::ContentMainRunnerImpl::Run(bool start_service_manager_only) Zeile 855 C++
libcef.dll!content::ContentServiceManagerMainDelegate::RunEmbedderProcess() Zeile 52 C++
libcef.dll!service_manager::MainRun(service_manager::MainParams & params) Zeile 0 C++
libcef.dll!service_manager::Main(service_manager::MainParams & params) Zeile 477 C++
libcef.dll!content::ContentMain(const content::ContentMainParams & params) Zeile 19 C++
libcef.dll!CefExecuteProcess(const CefMainArgs & args, scoped_refptr<CefApp> application, void * windows_sandbox_info) Zeile 214 C++
libcef.dll!cef_execute_process(const _cef_main_args_t * args, _cef_app_t * application, void * windows_sandbox_info) Zeile 78 C++
[Externer Code]
smayoral
Techie
 
Posts: 21
Joined: Wed Jan 10, 2018 8:58 am

Return to Support Forum

Who is online

Users browsing this forum: No registered users and 12 guests