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.

        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