Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. QWebEngineView crashes when shutting down.

QWebEngineView crashes when shutting down.

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 805 Views 1 Watching
  • 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.
  • N Offline
    N Offline
    Nando
    wrote on last edited by
    #1

    Hi,
    it seems QWebEngineView crashs when shutton down application with and without deleting it explicitly.

    Qt 5.10.1 Visual Studio 2017 - Windows 10

    [7416:14384:0424/201447.350:FATAL:resource_scheduler.cc(949)] Check failed: client_map_.empty(). 
    Backtrace:
    	QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter>::QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter> [0x00000001824FD435+320677]
    	QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter>::QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter> [0x0000000182507588+361976]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001823EAD30+3536]
    	QtWebEngineCore::FaviconManager::qt_static_metacall [0x0000000181157349+2333113]
    	QtWebEngineCore::FaviconManager::qt_static_metacall [0x000000018112E047+2164407]
    	QtWebEngineCore::FaviconManager::qt_static_metacall [0x000000018112DC49+2163385]
    	QtWebEngineCore::FaviconManager::qt_static_metacall [0x000000018114505E+2258638]
    	QtWebEngineCore::FaviconManager::qt_static_metacall [0x000000018113A8C4+2215732]
    	IsSandboxedProcess [0x000000018485F449+10167129]
    	IsSandboxedProcess [0x0000000184133F3D+2649677]
    	IsSandboxedProcess [0x0000000184134079+2649993]
    	IsSandboxedProcess [0x0000000184135063+2654067]
    	QtWebEngineCore::JavaScriptDialogController::qt_static_metacall [0x0000000180219890+472496]
    	QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter>::QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter> [0x000000018251BBC9+445497]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x0000000182432C95+298293]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x0000000182431122+291266]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001824317A4+292932]
    	QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter>::QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter> [0x0000000182520507+464247]
    	QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter>::QEnableSharedFromThis<QtWebEngineCore::WebContentsAdapter> [0x00000001825216DD+468813]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x0000000182432980+297504]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x000000018245DE3F+474847]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x0000000182466163+508419]
    	QWebEngineCookieStorePrivate::q_func [0x0000000180CDE65E+2605534]
    	QWebEngineCookieStorePrivate::q_func [0x0000000180CE00B4+2612276]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001824673F7+513175]
    	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x00000001823FFB51+89073]
    	BaseThreadInitThunk [0x00007FFA445A1FE4+20]
    	RtlUserThreadStart [0x00007FFA46B1F061+33]
    

    Any ideas?

    1 Reply Last reply
    0
    • A Offline
      A Offline
      Alain38 0
      wrote on last edited by
      #2

      if your QWebEngineView has a parent widget, it is automatically destroyed whether the parent widget is destroyed.

      Now, your stack shows a QEnableSharedFromThis. This is for classes that are created using a QSharedPointer and that need to be able to recreate a QSharedPointer from them. It might means that you have somewhere a "delete toto;" called on a SharedFromThis class. This might explain the crash.

      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