CEF Crash in MessagePumpForUI::ScheduleNativeTimer

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.

CEF Crash in MessagePumpForUI::ScheduleNativeTimer

Postby zhangwenlong » Sat Dec 05, 2020 3:05 am

I have a crash in MessagePumpForUI::ScheduleNativeTimer (86 version)
In ScheduleNativeTimer, I see it check the value in_native_loop_ failed.
the dump:
libcef.dll!logging::LogMessage::~LogMessage()
libcef.dll!logging::LogMessage::~LogMessage()
> libcef.dll!base::MessagePumpForUI::ScheduleNativeTimer(base::MessagePump::Delegate::NextWorkInfo next_work_info)
libcef.dll!base::MessagePumpForUI::HandleWorkMessage()
libcef.dll!base::MessagePumpForUI::MessageCallback(unsigned int message, unsigned __int64 wparam, __int64 lparam, __int64 * result)
libcef.dll!base::RepeatingCallback<bool (unsigned int, unsigned long long, long long, long long *)>::Run(unsigned int args, unsigned __int64 args, __int64 args, __int64 * args)
libcef.dll!base::win::MessageWindow::WindowProc(HWND__ * hwnd, unsigned int message, unsigned __int64 wparam, __int64 lparam)
libcef.dll!base::win::WrappedWindowProc<&base::win::MessageWindow::WindowProc>(HWND__ * hwnd, unsigned int message, unsigned __int64 wparam, __int64 lparam)
I use a timer call the CefDoMessageLoopWork function every 10 ms.
Does anyone know why?
Thank you
zhangwenlong
Newbie
 
Posts: 3
Joined: Sat Dec 05, 2020 2:39 am

Re: CEF Crash in MessagePumpForUI::ScheduleNativeTimer

Postby magreenblatt » Sat Dec 05, 2020 5:32 pm

What OS? Does the crash reproduce with “cefclient.exe --external-message-pump”?
magreenblatt
Site Admin
 
Posts: 12409
Joined: Fri May 29, 2009 6:57 pm

Re: CEF Crash in MessagePumpForUI::ScheduleNativeTimer

Postby zhangwenlong » Sun Dec 06, 2020 10:17 pm

windows(86 debug version)
the cefclient.exe is no such problem.
I think I know why.
I drag a view component in html,it produced a window message to system, it crash.
I can disable dragging, But I didn't understand the principle.
zhangwenlong
Newbie
 
Posts: 3
Joined: Sat Dec 05, 2020 2:39 am


Return to Support Forum

Who is online

Users browsing this forum: No registered users and 117 guests