QTWebEngine crashes on exit.



  • Hi, qtwebengine crash while exit from my application. Qt5.9.0 and VS2017-win10.
    Any help would be appreciated.


    [800:4972:0719/145600.654:FATAL:tcp_socket_win.cc(900)] Check failed: false.

    Backtrace:

        GetHandleVerifier [0x00000001818A8851+352545]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001817A0571+3681]
    
        QtWebEngineCore::FaviconManager::qt_static_metacall [0x000000018224ADE7+2658263]
    
        QtWebEngineCore::FaviconManager::qt_static_metacall [0x000000018224D463+2668115]
    
        GetHandleVerifier [0x0000000181854DB8+9864]
    
        QtWebEngineCore::FaviconManager::qt_static_metacall [0x0000000182466F28+4870424]
    
        QtWebEngineCore::JavaScriptDialogController::qt_static_metacall [0x00000001806780F6+3591574]
    
        GetHandleVerifier [0x0000000181854A93+9059]
    
        GetHandleVerifier [0x0000000181854D63+9779]
    
        GetHandleVerifier [0x00000001818A2A09+328409]
    
        GetHandleVerifier [0x00000001818CFE03+513747]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001817EB4AF+310687]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001817E93FC+302316]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001817E9A32+303906]
    
        GetHandleVerifier [0x00000001818D1FD7+522407]
    
        GetHandleVerifier [0x00000001818D328D+527197]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001817EB0D7+309703]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001818127BD+471213]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001818198F5+500197]
    
        QtWebEngineCore::JavaScriptDialogController::qt_static_metacall [0x00000001807804CE+4673902]
    
        QtWebEngineCore::JavaScriptDialogController::qt_static_metacall [0x0000000180781904+4679076]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x000000018181AE16+505606]
    
        QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001817B3B41+82993]
    
        BaseThreadInitThunk [0x00007FFC0CA02774+20]
    
        RtlUserThreadStart [0x00007FFC0D800D61+33]
    

    and call stack;

            Qt5Cored.dll!QObjectPrivate::deleteChildren() Line 1992             C++        Symbols loaded.
    
              Qt5Cored.dll!QObject::~QObject() Line 1022      C++        Symbols loaded.
    
              Qt5WebEngineCored.dll!00000001802e67c8()   Unknown            Non-user code. Cannot find or open the PDB file.
    
              Qt5WebEngineCored.dll!00000001802e6aff()     Unknown            Non-user code. Cannot find or open the PDB file.
    
              Qt5WebEngineCored.dll!00000001802e6be8()   Unknown            Non-user code. Cannot find or open the PDB file.
    
              Qt5Cored.dll!qt_call_post_routines() Line 329   C++        Symbols loaded.
    
              Qt5Widgetsd.dll!QApplication::~QApplication() Line 803              C++        Symbols loaded.


  • @hsynkrkmz
    From posts I have seen elsewhere: this happens with QtWebEngine, sometimes. It seems to very picky about where it gets destroyed. If you are waiting for definitive answer, you might like to try moving around where/how you destroy it and see if different behaviour.


Log in to reply