Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. QtWebEngineProcess.exe crashed on some pc when the number of QWebEnginePage more than 40.
Forum Updated to NodeBB v4.3 + New Features

QtWebEngineProcess.exe crashed on some pc when the number of QWebEnginePage more than 40.

Scheduled Pinned Locked Moved Unsolved QtWebEngine
2 Posts 1 Posters 1.4k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • L Offline
    L Offline
    Lankin
    wrote on last edited by
    #1
    To use Qt5.6, I port Webkit(Qt5.4.1) to WebEngine(Qt5.6.0), and then I find a bug that When I open page more than 40(ranging from 30 to 40),QtWebEnginePorcess crashed. 
    I tried the "WebEngine Demo Brower Example", When I open new tab more than 40, it crash too.
    I tried Qt5.6.1 and Qt5.7.0, the same problem exist too.
    some crash info:
    

    (1)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)QtWebEngineProcess.exe crashed
    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++

    (3)crash screenshot and break pointer:
    0_1473414588312_black window.png
    0_1473414598647_break point.png

    Any one can help?
    
    L 1 Reply Last reply
    0
    • L Lankin
      To use Qt5.6, I port Webkit(Qt5.4.1) to WebEngine(Qt5.6.0), and then I find a bug that When I open page more than 40(ranging from 30 to 40),QtWebEnginePorcess crashed. 
      I tried the "WebEngine Demo Brower Example", When I open new tab more than 40, it crash too.
      I tried Qt5.6.1 and Qt5.7.0, the same problem exist too.
      some crash info:
      

      (1)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)QtWebEngineProcess.exe crashed
      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++

      (3)crash screenshot and break pointer:
      0_1473414588312_black window.png
      0_1473414598647_break point.png

      Any one can help?
      
      L Offline
      L Offline
      Lankin
      wrote on last edited by
      #2

      By the way, chrome run very well on my pc,I open more than 70 page, and it display normal. Just QtWebEngine has this problem.When I open new webengine page, it use too many memory. It troubled me four days, any help will be grateful!

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved