enable-begin-frame-scheduling crashes

Do not post support requests, bug reports or feature requests. Discuss CEF here. Non-CEF related discussion goes in General Discussion!

enable-begin-frame-scheduling crashes

Postby ronag » Fri May 01, 2015 11:50 am

When running the latest trunk build win32 2015-04-27 with "enable-begin-frame-scheduling" my application crashes with a "impl_.get() != nullptr".

Stack:

Code: Select all
>   libcef.dll!_wassert(const wchar_t * expr, const wchar_t * filename, unsigned int lineno) Line 369   C
    libcef.dll!scoped_ptr<CefBeginFrameTimer,base::DefaultDeleter<CefBeginFrameTimer> >::operator->() Line 386   C++
    libcef.dll!CefRenderWidgetHostViewOSR::OnSetNeedsBeginFrames(bool enabled) Line 962   C++
    libcef.dll!DispatchToMethodImpl<CefRenderWidgetHostViewOSR,void (__thiscall CefRenderWidgetHostViewOSR::*)(bool),bool,0>(CefRenderWidgetHostViewOSR * obj, void (bool) * method, const Tuple<bool> & arg, IndexSequence<0> __formal) Line 252   C++
    libcef.dll!DispatchToMethod<CefRenderWidgetHostViewOSR,void (__thiscall CefRenderWidgetHostViewOSR::*)(bool),bool>(CefRenderWidgetHostViewOSR * obj, void (bool) * method, const Tuple<bool> & arg) Line 259   C++
    libcef.dll!ViewHostMsg_SetNeedsBeginFrames::Dispatch<CefRenderWidgetHostViewOSR,CefRenderWidgetHostViewOSR,void,void (__thiscall CefRenderWidgetHostViewOSR::*)(bool)>(const IPC::Message * msg, CefRenderWidgetHostViewOSR * obj, CefRenderWidgetHostViewOSR * sender, void * parameter, void (bool) * func) Line 1002   C++
    libcef.dll!CefRenderWidgetHostViewOSR::OnMessageReceived(const IPC::Message & msg) Line 951   C++
    libcef.dll!content::RenderWidgetHostImpl::OnMessageReceived(const IPC::Message & msg) Line 490   C++
    libcef.dll!content::RenderViewHostImpl::OnMessageReceived(const IPC::Message & msg) Line 916   C++
    libcef.dll!content::RenderProcessHostImpl::OnMessageReceived(const IPC::Message & msg) Line 1560   C++
    libcef.dll!IPC::ChannelProxy::Context::OnDispatchMessage(const IPC::Message & message) Line 294   C++
    libcef.dll!base::internal::RunnableAdapter<void (__thiscall IPC::ChannelProxy::Context::*)(IPC::Message const &)>::Run(IPC::ChannelProxy::Context * object, const IPC::Message & <args_0>) Line 176   C++
    libcef.dll!base::internal::InvokeHelper<0,void,base::internal::RunnableAdapter<void (__thiscall IPC::ChannelProxy::Context::*)(IPC::Message const &)>,base::internal::TypeList<IPC::ChannelProxy::Context * const &,IPC::Message const &> >::MakeItSo(base::internal::RunnableAdapter<void (__thiscall IPC::ChannelProxy::Context::*)(IPC::Message const &)> runnable, IPC::ChannelProxy::Context * const & <args_0>, const IPC::Message & <args_1>) Line 294   C++
    libcef.dll!base::internal::Invoker<IndexSequence<0,1>,base::internal::BindState<base::internal::RunnableAdapter<void (__thiscall IPC::ChannelProxy::Context::*)(IPC::Message const &)>,void __cdecl(IPC::ChannelProxy::Context *,IPC::Message const &),base::internal::TypeList<IPC::ChannelProxy::Context *,IPC::Message> >,base::internal::TypeList<base::internal::UnwrapTraits<IPC::ChannelProxy::Context *>,base::internal::UnwrapTraits<IPC::Message> >,base::internal::InvokeHelper<0,void,base::internal::RunnableAdapter<void (__thiscall IPC::ChannelProxy::Context::*)(IPC::Message const &)>,base::internal::TypeList<IPC::ChannelProxy::Context * const &,IPC::Message const &> >,void __cdecl(void)>::Run(base::internal::BindStateBase * base) Line 346   C++
    libcef.dll!base::Callback<void __cdecl(void)>::Run() Line 396   C++
    libcef.dll!base::debug::TaskAnnotator::RunTask(const char * queue_function, const char * run_function, const base::PendingTask & pending_task) Line 65   C++
    libcef.dll!base::MessageLoop::RunTask(const base::PendingTask & pending_task) Line 441   C++
    libcef.dll!base::MessageLoop::DeferOrRunPendingTask(const base::PendingTask & pending_task) Line 451   C++
    libcef.dll!base::MessageLoop::DoWork() Line 560   C++
    libcef.dll!base::MessagePumpForUI::DoRunLoop() Line 220   C++
    libcef.dll!base::MessagePumpWin::RunWithDispatcher(base::MessagePump::Delegate * delegate, base::MessagePumpDispatcher * dispatcher) Line 51   C++
    libcef.dll!base::MessagePumpWin::Run(base::MessagePump::Delegate * delegate) Line 58   C++
    libcef.dll!base::MessageLoop::RunHandler() Line 404   C++
    libcef.dll!base::RunLoop::Run() Line 56   C++
    libcef.dll!base::MessageLoop::Run() Line 298   C++
    libcef.dll!CefBrowserMessageLoop::RunMessageLoop() Line 28   C++
    libcef.dll!CefRunMessageLoop() Line 178   C++
    libcef.dll!cef_run_message_loop() Line 295   C++


Related to http://www.magpcss.org/ceforum/viewtopic.php?f=6&t=12863

Any ideas what might be the cause?
ronag
Techie
 
Posts: 16
Joined: Sat Sep 28, 2013 12:27 pm

Re: enable-begin-frame-scheduling crashes

Postby magreenblatt » Fri May 01, 2015 11:59 am

Does the problem reproduce with cefclient? What is the full set of command-line flags they you're passing?
magreenblatt
Site Admin
 
Posts: 12408
Joined: Fri May 29, 2009 6:57 pm

Re: enable-begin-frame-scheduling crashes

Postby ronag » Fri May 01, 2015 12:19 pm

No problem with the cefclient.

Options used are:

Code: Select all
off-screen-rendering-enabled
disable-gpu
enable-begin-frame-scheduling


EDIT: I just noticed this post ended up on the wrong forum. Please move to Support Forum.
ronag
Techie
 
Posts: 16
Joined: Sat Sep 28, 2013 12:27 pm


Return to CEF Discussion

Who is online

Users browsing this forum: Majestic-12 [Bot] and 11 guests