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

QWebEngine crashes on 32-bit Debug build

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 5.12.3
    • 5.12.1
    • WebEngine
    • None
    • Windows 7 64bit
      MSVC2017 32bit
    • Windows

    Description

      The following minimal example crashes as debug build with error:

      [0227/082330.153:FATAL:com_init_check_hook.cc(153)] Check failed: false. CoCreateInstance appears to be previously patched. (90 90 90 90 90 e9 f0)
      
      #include <QApplication>
      #include <QWebEngineView>
      
      
      int main(int argc, char *argv[])
      {
          QCoreApplication::setOrganizationName("Org");
          QCoreApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
          QApplication app(argc, argv);
      
          QWebEngineView view;
          view.resize(800, 600);
      
          view.show();
          return app.exec();
      }
      

      The release build is fine.

      Backtrace:

      	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x115C3C37+810695]
      	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x115D1111+865185]
      	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x11508C9E+44846]
      	GetHandleVerifier [0x1160CEFD+73597]
      	GetHandleVerifier [0x1160CB46+72646]
      	GetHandleVerifier [0x1160C863+71907]
      	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x115F0263+992499]
      	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x115F0147+992215]
      	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x1154D907+326551]
      	QWebEngineUrlSchemeHandler::_q_destroyedUrlSchemeHandler [0x1154D9A5+326709]
      	QWebEngineQuotaRequest::operator!= [0x0F1BAAA0+21696]
      	QWebEngineUrlScheme::operator!= [0x0F1BCA7E+3470]
      	QtWebEngineCore::WebContentsAdapter::WebContentsAdapter [0x0F1AB8A7+199]
      	QWebEnginePage::runJavaScript [0x74A4B4FB+100016]
      	QWebEnginePage::runJavaScript [0x74A45797+76108]
      	QWebEnginePage::runJavaScript [0x74A4124F+58372]
      	QWebEnginePage::runJavaScript [0x74A5C232+168935]
      	QWebEnginePage::runJavaScript [0x74A5C9EC+170913]
      	QGraphicsView::mapToScene [0x022BED1E+769459]
      	QWebEnginePage::runJavaScript [0x74A5C9BD+170866]
      	QGraphicsView::mapToScene [0x022788BB+481616]
      	QGraphicsView::mapToScene [0x02276A2C+473793]
      	QCoreApplicationPrivate::QCoreApplicationPrivate [0x6719977C+3387232]
      	QCoreApplicationPrivate::QCoreApplicationPrivate [0x67197AF9+3379933]
      	QGraphicsView::mapToScene [0x022C998E+813603]
      	QGraphicsView::mapToScene [0x022BA961+752118]
      	QGraphicsView::mapToScene [0x022BABDB+752752]
      	main [0x00DD160C+172] (main.cc:15)
      	WinMain [0x00DD423D+173] (c:\users\qt\work\qt\qtbase\src\winmain\qtmain_win.cpp:104)
      	invoke_main [0x00DD247E+30] (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:107)
      	__scrt_common_main_seh [0x00DD22E7+343] (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:288)
      	__scrt_common_main [0x00DD217D+13] (f:\dd\vctools\crt\vcstartup\src\startup\exe_common.inl:331)
      	WinMainCRTStartup [0x00DD24F8+8] (f:\dd\vctools\crt\vcstartup\src\startup\exe_winmain.cpp:17)
      	BaseThreadInitThunk [0x759D343D+18]
      	RtlInitializeExceptionChain [0x777F9802+99]
      	RtlInitializeExceptionChain [0x777F97D5+54]
      

      Attachments

        1. BrowserTest.pro
          0.1 kB
        2. main.cc
          1.0 kB

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              alexandru.croitor Alexandru Croitor
              schlamar schlamar
              Votes:
              2 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes