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

Cannot run QtWebengine examples on Windows - immediate crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Fixed
    • P3: Somewhat important
    • 6.5.0 Beta3
    • 5.15.8, 6.5
    • WebEngine
    • None
    • Visual Studio v17.2.6; cl.exe 19.32.31332; qt5 commit c1a1e65cdc478a12a726ae2c0132c9eea9c9995d
    • Windows

    Description

      Build qtbase, qtdeclarative and qtwebengine with the required dependencies on the qt5 superrepo at git commit c1a1e65cdc478a12a726ae2c0132c9eea9c9995d.

      Configured with:

      ..\qt_git\configure -shared -nomake tests -nomake examples -submodules qtbase,qtdeclarative -prefix C:\qt_install\git-dev-22092022\msvc2022_64 -release -optimize-size -force-debug-info -force-asserts
      

      And the webengine build separately:

      C:/qt_install/git-dev-22092022/msvc2022_64/bin/qt-configure-module.bat C:\qt_git\qtwebengine
      

      So essentially a release build with symbols, assertions on and -Os.

      None of the webengine examples will run. From QtCreator log for the simplebrowser example:

      18:43:25: Starting C:\qt_git\qtwebengine\examples\webenginewidgets\build-simplebrowser-CUSTOM_Qt_git_6_5_0_msvc2022_64-RelWithDebInfo\simplebrowser.exe...
      qt.webenginecontext: 
      
      GL Type: desktop
      Surface Type: OpenGL
      Surface Profile: CompatibilityProfile
      Surface Version: 4.6
      QSG RHI Backend: OpenGL
      Using Supported QSG Backend: yes
      Using Software Dynamic GL: no
      Using Multithreaded OpenGL: yes
      
      Init Parameters:
        *  application-name simplebrowser 
        *  browser-subprocess-path C:\qt_install\git-dev-22092022\msvc2022_64\bin\QtWebEngineProcess.exe 
        *  create-default-gl-context  
        *  disable-es3-gl-context  
        *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
        *  disable-speech-api  
        *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
        *  enable-threaded-compositing  
        *  in-process-gpu  
        *  use-gl desktop 
      
      [13044:10564:0924/184325.549:FATAL:platform_thread_win.cc(244)] Check failed: memory_priority == static_cast<int>(memory_priority_information.MemoryPriority) (5 vs. 3)
      18:43:27: C:\qt_git\qtwebengine\examples\webenginewidgets\build-simplebrowser-CUSTOM_Qt_git_6_5_0_msvc2022_64-RelWithDebInfo\simplebrowser.exe crashed.
      

      Note that this looks similar to QTBUG-100153, but that issue claims it only occurs on debug builds. I cannot get anything to run, not in debug, nor in release or minsizerel.

      Attachments

        1. crash.png
          186 kB
          Johannes Kauffmann
        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

        Activity

          People

            qt_webengine_team Qt WebEngine Team
            jkauffmann Johannes Kauffmann
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes