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

QtWebEngineProcess.exe crashed on some pc when open QWebEnginePage more than 40.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P1: Critical P1: Critical
    • 6.4
    • 5.6.0, 5.6.1, 5.7.0
    • WebEngine
    • None
    • system: Windows 7(64bit)
      cpu: Intel(R) Core(TM) i7-3770 CPU @3.4GHZ
      memory(RAM):12GB
    • Windows

      To use Qt5.6, I port Webkit(Qt5.4.1) to WebEngine(Qt5.6.0), and then I find that When I open pages more than 40(sometimes ranging from 30 to 40),QtWebEnginePorcess.exe crashed.
      I tried the "WebEngine Demo Brower Example", When I open new tab more than 40,load url such as "https://www.baidu.com", it crash too.
      I tried Qt5.6.1 and Qt5.7.0, the same problem exist too.
      some info:
      (1)when open too many(40) QWebEnginePage, it became black and print error:
      ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x500) for format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior 0, swapInterval 1, profile 0), shared context: 0x10003 ()
      GDI::createContext: wglCreateContext failed. ()
      Unable to create a GL Context.
      QOpenGLWidget: Failed to create context
      ARB::createContext: wglCreateContextAttribsARB() failed (GL error code: 0x0) for format: QSurfaceFormat(version 2.0, options QFlags(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior 0, swapInterval 1, profile 0), shared context: 0x10003 ()
      GDI::createContext: wglCreateContext failed. ()
      Unable to create a GL Context.
      QOpenGLWidget: Failed to create context

      (2)after become black, if open new page,QtWebEngineProcess.exe crashed,stack info:
      Qt5WebEngineCored.dll!base::debug::BreakDebugger(void) C++
      Qt5WebEngineCored.dll!logging::LogMessage::~LogMessage(void) C++
      Qt5WebEngineCored.dll!base::`anonymous namespace'::OnNoMemory(unsigned int) C++
      Qt5WebEngineCored.dll!base::TerminateBecauseOutOfMemory(unsigned int) C++

      Qt5WebEngineCored.dll!content::ChildDiscardableSharedMemoryManager::AllocateLockedDiscardableSharedMemory(unsigned int,int) C++
      Qt5WebEngineCored.dll!content::ChildDiscardableSharedMemoryManager::AllocateLockedDiscardableMemory(unsigned int) C++
      Qt5WebEngineCored.dll!content::WebDiscardableMemoryImpl::CreateLockedMemory(unsigned int) C++
      Qt5WebEngineCored.dll!content::BlinkPlatformImpl::allocateAndLockDiscardableMemory(unsigned int) C++

      By the way,When I open new QWebEnginePage, it use too many memory. chrome run very well on my pc,I open more than 70 pages, and it display normal. Just QtWebEngineProcess.exe has this problem.

        1. 1_black window screenshot.png
          234 kB
          lankin
        2. 2_QtWebEngineProcess crashed screenshot.png
          346 kB
          lankin
        3. 3_tdiag.exe output.txt
          6 kB
          lankin
        4. 4_vs2013 stack trace(crashed after black window).txt
          8 kB
          lankin
        5. 5_vs2013 stack trace (crashed second time).txt
          6 kB
          lankin
        6. 6_qt creator stack trace(crashed second time).txt
          3 kB
          lankin
        7. 7_qt creator stack trace(crashed third time).txt
          4 kB
          lankin
        8. black window.png
          26 kB
          lankin
        9. break point.png
          65 kB
          lankin
        10. crashed by load image.txt
          8 kB
          lankin
        11. QT_OPENGL=_output.txt
          60 kB
          lankin
        12. QT_OPENGL=angle_stack trace.txt
          1 kB
          lankin
        13. qt.qpa.gl=true_Output.txt
          67 kB
          lankin
        14. QtWebEngineProcess.exe debug version, crash stack info.txt
          4 kB
          lankin
        15. QuickNamoBrower_webengine_cpu_percentage.png
          6 kB
          lankin
        16. QuickNanoBrower_open_70_page.png
          204 kB
          lankin
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            qt_webengine_team Qt WebEngine Team
            lankin lankin
            Votes:
            3 Vote for this issue
            Watchers:
            8 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes