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

QtWebEngine crashes with a stack overflow on exit

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Invalid
    • Affects Version/s: 5.6.2
    • Fix Version/s: None
    • Component/s: WebEngine
    • Environment:
      PyQt 5.6

      Qt 5.6.2

      Visual Studio 2013

      Windows 10

      Description

      We're observing a fairly reliable crash/stack overflow onĀ QApplication exit in Qt5WebEngineCore. It appears the library is infinite-looping while destroying the BrowserMainRunnerImpl.

      Snippet of the (very large) stack:

      40e4 (Inline) -------- Qt5WebEngineCore!base::DefaultDeleter<content::BrowserMainRunner>::operator()+0x6 [3rdparty\chromium\base\memory\scoped_ptr.h @ 128] 
      40e5 (Inline) -------- Qt5WebEngineCore!base::internal::scoped_ptr_impl<content::BrowserMainRunner,base::DefaultDeleter<content::BrowserMainRunner> >::{dtor}+0xd [3rdparty\chromium\base\memory\scoped_ptr.h @ 222] 
      40e6 011ebc3c 65d9ba6a Qt5WebEngineCore!WebEngineContext::~WebEngineContext+0x58 [web_engine_context.cpp @ 175] 
      40e7 011ebc4c 6606702c Qt5WebEngineCore!QtWebEngineCore::BrowserMainPartsQt::PostMainMessageLoopRun+0x2a [content_browser_client_qt.cpp @ 234] 
      40e8 011ebf58 6600eb45 Qt5WebEngineCore!content::BrowserMainLoop::ShutdownThreadsAndCleanUp+0x1cc [3rdparty\chromium\content\browser\browser_main_loop.cc @ 911] 
      40e9 011ebfe4 6600e3bd Qt5WebEngineCore!content::BrowserMainRunnerImpl::Shutdown+0x185 [3rdparty\chromium\content\browser\browser_main_runner.cc @ 257] 
      40ea (Inline) -------- Qt5WebEngineCore!content::BrowserMainRunnerImpl::{dtor}+0x17 [3rdparty\chromium\content\browser\browser_main_runner.cc @ 128] 
      40eb 011ebff0 65dc53f8 Qt5WebEngineCore!content::BrowserMainRunnerImpl::`scalar deleting destructor'+0x1d
      40ec (Inline) -------- Qt5WebEngineCore!base::DefaultDeleter<content::BrowserMainRunner>::operator()+0x6 [3rdparty\chromium\base\memory\scoped_ptr.h @ 128] 
      40ed (Inline) -------- Qt5WebEngineCore!base::internal::scoped_ptr_impl<content::BrowserMainRunner,base::DefaultDeleter<content::BrowserMainRunner> >::{dtor}+0xd [3rdparty\chromium\base\memory\scoped_ptr.h @ 222] 
      40ee 011ec000 65d9ba6a Qt5WebEngineCore!WebEngineContext::~WebEngineContext+0x58 [web_engine_context.cpp @ 175] 
      40ef 011ec010 6606702c Qt5WebEngineCore!QtWebEngineCore::BrowserMainPartsQt::PostMainMessageLoopRun+0x2a [content_browser_client_qt.cpp @ 234] 
      40f0 011ec31c 6600eb45 Qt5WebEngineCore!content::BrowserMainLoop::ShutdownThreadsAndCleanUp+0x1cc [3rdparty\chromium\content\browser\browser_main_loop.cc @ 911] 
      40f1 011ec3a8 6600e3bd Qt5WebEngineCore!content::BrowserMainRunnerImpl::Shutdown+0x185 [3rdparty\chromium\content\browser\browser_main_runner.cc @ 257] 
      40f2 (Inline) -------- Qt5WebEngineCore!content::BrowserMainRunnerImpl::{dtor}+0x17 [3rdparty\chromium\content\browser\browser_main_runner.cc @ 128] 
      40f3 011ec3b4 65dc53f8 Qt5WebEngineCore!content::BrowserMainRunnerImpl::`scalar deleting destructor'+0x1d
      40f4 (Inline) -------- Qt5WebEngineCore!base::DefaultDeleter<content::BrowserMainRunner>::operator()+0x6 [3rdparty\chromium\base\memory\scoped_ptr.h @ 128] 
      40f5 (Inline) -------- Qt5WebEngineCore!base::internal::scoped_ptr_impl<content::BrowserMainRunner,base::DefaultDeleter<content::BrowserMainRunner> >::{dtor}+0xd [3rdparty\chromium\base\memory\scoped_ptr.h @ 222] 
      40f6 011ec3c4 65d9ba6a Qt5WebEngineCore!WebEngineContext::~WebEngineContext+0x58 [web_engine_context.cpp @ 175] 
      40f7 011ec3d4 6606702c Qt5WebEngineCore!QtWebEngineCore::BrowserMainPartsQt::PostMainMessageLoopRun+0x2a [content_browser_client_qt.cpp @ 234] 
      40f8 011ec6e0 6600eb45 Qt5WebEngineCore!content::BrowserMainLoop::ShutdownThreadsAndCleanUp+0x1cc [3rdparty\chromium\content\browser\browser_main_loop.cc @ 911] 
      40f9 011ec76c 6600e3bd Qt5WebEngineCore!content::BrowserMainRunnerImpl::Shutdown+0x185 [3rdparty\chromium\content\browser\browser_main_runner.cc @ 257] 
      40fa (Inline) -------- Qt5WebEngineCore!content::BrowserMainRunnerImpl::{dtor}+0x17 [3rdparty\chromium\content\browser\browser_main_runner.cc @ 128] 
      40fb 011ec778 65dc53f8 Qt5WebEngineCore!content::BrowserMainRunnerImpl::`scalar deleting destructor'+0x1d
      40fc (Inline) -------- Qt5WebEngineCore!base::DefaultDeleter<content::BrowserMainRunner>::operator()+0x6 [3rdparty\chromium\base\memory\scoped_ptr.h @ 128] 
      40fd (Inline) -------- Qt5WebEngineCore!base::internal::scoped_ptr_impl<content::BrowserMainRunner,base::DefaultDeleter<content::BrowserMainRunner> >::{dtor}+0xd [3rdparty\chromium\base\memory\scoped_ptr.h @ 222] 
      40fe 011ec788 67e1c766 Qt5WebEngineCore!WebEngineContext::~WebEngineContext+0x58 [web_engine_context.cpp @ 175] 
      40ff 011ec790 66a28907 Qt5WebEngineCore!`anonymous namespace'::`dynamic atexit destructor for 'sContext''+0x16
      4100 011ec7ac 66a28b2f Qt5WebEngineCore!_CRT_INIT+0xc1 [f:\dd\vctools\crt\crtw32\dllstuff\crtdll.c @ 416] 
      4101 011ec7f0 66a28a59 Qt5WebEngineCore!__DllMainCRTStartup+0xcf [f:\dd\vctools\crt\crtw32\dllstuff\crtdll.c @ 522] 
      4102 011ec804 77b1d376 Qt5WebEngineCore!_DllMainCRTStartup+0x1c [f:\dd\vctools\crt\crtw32\dllstuff\crtdll.c @ 472] 
      4103 011ec824 77af453f ntdll!LdrxCallInitRoutine+0x16
      4104 011ec870 77afe1bd ntdll!LdrpCallInitRoutine+0x7f
      4105 011ec908 77b05685 ntdll!LdrShutdownProcess+0xed
      4106 011ec9dc 77093a02 ntdll!RtlExitUserProcess+0xb5
      <ExitProcess is called>
      

        Attachments

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

          Activity

            People

            Assignee:
            allan.jensen Allan Sandfeld Jensen
            Reporter:
            maxbelanger Max Belanger
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes