cefclient crashes immediately after closing devtools window

Issue #3111 resolved
Tomasz Kunicki created an issue
  • Run cefclient
  • open popup menu and select show DevTools
  • close DevTools

Application crashes immediately

Comments (9)

  1. Marshall Greenblatt

    Answer the rest of the questions:

    1. What version of the product are you using? On what operating system?
    2. Does the problem reproduce with the cefclient or cefsimple sample application at the same version? How about with a newer or older version?
    3. Does the problem reproduce with Google Chrome at the same version? How about with a newer or older version?

  2. Tomasz Kunicki reporter
    • It’s CEF 90.5.3 windows x32 version.
    • Windows 10 Pro x64
    • The problem appears to be in every CEF 90 build. Works fine in 89.
    • It’s 100% reproducible
    • Google Chrome is fine

    https://cef-builds.spotifycdn.com/cef_binary_90.5.3%2Bgaf0e862%2Bchromium-90.0.4430.72_windows32_client.tar.bz2

    Here is stack trace:

    libcef.dll!content::RenderFrameHostImpl::ExecuteJavaScriptForTests(const std::__1::basic_string<wchar_t,std::char_traits<wchar_t>,std::allocator<wchar_t>> & javascript, base::OnceCallback<void (base::Value)> callback, int world_id) Line 1832   C++
    libcef.dll!CefDevToolsFrontend::DispatchProtocolMessage(content::DevToolsAgentHost * agent_host, base::span<const unsigned char,4294967295> message) Line 551   C++
    libcef.dll!content::DevToolsSession::DispatchProtocolMessageToClient(std::__1::vector<unsigned char,std::allocator<unsigned char>> message) Line 369    C++
    libcef.dll!content::DevToolsSession::SendProtocolNotification(std::__1::unique_ptr<crdtp::Serializable,std::default_delete<crdtp::Serializable>> message) Line 451  C++
    libcef.dll!content::protocol::Target::Frontend::TargetDestroyed(const std::__1::basic_string<char,std::char_traits<char>,std::allocator<char>> & targetId) Line 119 C++
    libcef.dll!content::protocol::TargetHandler::DevToolsAgentHostDestroyed(content::DevToolsAgentHost * host) Line 978 C++
    libcef.dll!content::DevToolsAgentHostImpl::NotifyDestroyed() Line 392   C++
    libcef.dll!content::DevToolsAgentHostImpl::~DevToolsAgentHostImpl() Line 101    C++
    libcef.dll!content::RenderFrameDevToolsAgentHost::~RenderFrameDevToolsAgentHost() Line 396  C++
    [Inline Frame] libcef.dll!base::RefCounted<content::DevToolsAgentHost,base::DefaultRefCountedTraits<content::DevToolsAgentHost>>::DeleteInternal(const content::DevToolsAgentHost * x) Line 350 C++
    [Inline Frame] libcef.dll!base::DefaultRefCountedTraits<content::DevToolsAgentHost>::Destruct(const content::DevToolsAgentHost * x) Line 316    C++
    [Inline Frame] libcef.dll!base::RefCounted<content::DevToolsAgentHost,base::DefaultRefCountedTraits<content::DevToolsAgentHost>>::Release() Line 339    C++
    [Inline Frame] libcef.dll!scoped_refptr<content::RenderFrameDevToolsAgentHost>::Release(content::RenderFrameDevToolsAgentHost * ptr) Line 322   C++
    [Inline Frame] libcef.dll!scoped_refptr<content::RenderFrameDevToolsAgentHost>::~scoped_refptr() Line 224   C++
    libcef.dll!content::RenderFrameDevToolsAgentHost::DestroyOnRenderFrameGone() Line 532   C++
    libcef.dll!content::RenderFrameDevToolsAgentHost::FrameDeleted(content::RenderFrameHost * rfh) Line 513 C++
    libcef.dll!content::WebContentsImpl::WebContentsObserverList::NotifyObservers<void (content::WebContentsObserver::*)(content::RenderFrameHost *) __attribute__((thiscall)),content::RenderFrameHost *&>(void(content::WebContentsObserver::*)(content::RenderFrameHost *) func, content::RenderFrameHost * & args) Line 1421    C++
    

  3. Log in to comment