Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-129228

[Windows] Crash on GpuServiceImpl::MaybeExitOnContextLost() with nullptr access

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P1: Critical
    • 6.5.8, 6.8.1
    • 6.7.2, 6.7.3, 6.8.0
    • WebEngine
    • None
    • Windows
    • f07357de6 (118-based), d388bc43f (122-based), aaae449f2 (6.8), fef935ac0, (lts-6.5)

    Description

      Have no idea what a preconditions are, just found it in our automated tracking system.
      Note: This doesn't happen too often, but these are some of the most popular Qt WebEngine crashes on Windows.

      Unhandled exception thrown: read access violation.
      this->gpu_channel_manager_._Mypair.**_Myval2** was nullptr.
      

      Call stack:

       	[Inline Frame] Qt6WebEngineCore.dll!gpu::GpuChannelManager::use_passthrough_cmd_decoder() Line 208	C++
      >	Qt6WebEngineCore.dll!viz::GpuServiceImpl::MaybeExitOnContextLost(bool synthetic_loss, gpu::error::ContextLostReason context_lost_reason) Line 1079	C++
       	Qt6WebEngineCore.dll!gpu::GpuChannelManager::OnContextLost(int context_lost_count, bool synthetic_loss, gpu::error::ContextLostReason context_lost_reason) Line 1115	C++
       	[Inline Frame] Qt6WebEngineCore.dll!base::OnceCallback<void __cdecl(bool,enum gpu::error::ContextLostReason)>::Run(bool) Line 152	C++
       	Qt6WebEngineCore.dll!gpu::SharedContextState::MarkContextLost(gpu::error::ContextLostReason reason) Line 645	C++
       	Qt6WebEngineCore.dll!gpu::SharedContextState::CheckResetStatus(bool need_gl) Line 953	C++
       	Qt6WebEngineCore.dll!gpu::SharedContextState::MakeCurrent(gl::GLSurface * surface, bool needs_gl) Line 622	C++
       	Qt6WebEngineCore.dll!gpu::GpuChannelManager::~GpuChannelManager() Line 407	C++
       	[External Code]	
       	[Inline Frame] Qt6WebEngineCore.dll!std::default_delete<gpu::GpuChannelManager>::operator()(gpu::GpuChannelManager *) Line 3139	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::unique_ptr<gpu::GpuChannelManager,std::default_delete<gpu::GpuChannelManager>>::reset(gpu::GpuChannelManager *) Line 3284	C++
       	Qt6WebEngineCore.dll!viz::GpuServiceImpl::~GpuServiceImpl() Line 490	C++
       	[External Code]	
       	[Inline Frame] Qt6WebEngineCore.dll!std::default_delete<viz::GpuServiceImpl>::operator()(viz::GpuServiceImpl *) Line 3139	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::unique_ptr<viz::GpuServiceImpl,std::default_delete<viz::GpuServiceImpl>>::{dtor}() Line 3249	C++
       	Qt6WebEngineCore.dll!viz::VizMainImpl::~VizMainImpl() Line 173	C++
       	Qt6WebEngineCore.dll!content::GpuChildThread::~GpuChildThread() Line 139	C++
       	[External Code]	
       	[Inline Frame] Qt6WebEngineCore.dll!std::default_delete<content::ChildThreadImpl>::operator()(content::ChildThreadImpl *) Line 3139	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::unique_ptr<content::ChildThreadImpl,std::default_delete<content::ChildThreadImpl>>::reset(content::ChildThreadImpl *) Line 3284	C++
       	Qt6WebEngineCore.dll!content::ChildProcess::~ChildProcess() Line 165	C++
       	[External Code]	
       	[Inline Frame] Qt6WebEngineCore.dll!std::default_delete<content::ChildProcess>::operator()(content::ChildProcess *) Line 3139	C++
       	[Inline Frame] Qt6WebEngineCore.dll!std::unique_ptr<content::ChildProcess,std::default_delete<content::ChildProcess>>::reset(content::ChildProcess *) Line 3284	C++
       	Qt6WebEngineCore.dll!content::InProcessGpuThread::CleanUp() Line 95	C++
       	Qt6WebEngineCore.dll!base::Thread::ThreadMain() Line 417	C++
       	Qt6WebEngineCore.dll!base::`anonymous namespace'::ThreadFunc(void * params) Line 136	C++
       	[External Code]	
      

      Attachments

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            mibrunin Michael Bruning
            studiosus Vladimir Belyavsky
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes