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

QtWebEngine crashes with segfault

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • None
    • 6.4.0 Beta1
    • WebEngine
    • None
    • ARM Cortex A9(i.MX 6), Yocto
    • Linux/Wayland, Linux/Yocto
    • bb8a10a905 (qt/qtwebengine-chromium/94-based) fa380f4447 (qt/qtwebengine-chromium/98-based) 1bad5b0df4 (qt/qtwebengine-chromium/102-based)

    Description

      QtWebEngine crashes with a segfault using Qt 6.4 (built with meta-qt6) and Yocto Kirkstone:

      qt.webenginecontext: 
      
      GL Type: egl
      Surface Type: OpenGLES
      Surface Profile: NoProfile
      Surface Version: 2.0
      QSG RHI Backend: OpenGL
      Using Supported QSG Backend: yes
      Using Software Dynamic GL: no
      Using Multithreaded OpenGL: yes
      
      Init Parameters:
        *  application-name Qangaroo 
        *  browser-subprocess-path /usr/libexec/QtWebEngineProcess 
        *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
        *  disable-setuid-sandbox  
        *  disable-speech-api  
        *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
        *  enable-threaded-compositing  
        *  in-process-gpu  
        *  touch-events enabled 
        *  use-gl egl
      
      QWaylandGLContext::makeCurrent: eglError: 3009, this: 0x1d67890  
      
      QRhiGles2: Failed to make context current. Expect bad things to happen.
      Failed to create QRhi for QBackingStoreRhiSupport
      Segmentation fault
      

      If eglfs is used as backend, QtWebEngine doesn't crash but shows instead a black screen:

      GL Type: egl
      Surface Type: OpenGLES
      Surface Profile: NoProfile
      Surface Version: 2.0
      QSG RHI Backend: OpenGL
      Using Supported QSG Backend: yes
      Using Software Dynamic GL: no
      Using Multithreaded OpenGL: yes
      
      Init Parameters:
        *  application-name Qangaroo 
        *  browser-subprocess-path /usr/libexec/QtWebEngineProcess 
        *  disable-features ConsolidatedMovementXY,InstalledApp,BackgroundFetch,WebOTP,WebPayments,WebUSB,PictureInPicture 
        *  disable-setuid-sandbox  
        *  disable-speech-api  
        *  enable-features NetworkServiceInProcess,TracingServiceInProcess 
        *  enable-threaded-compositing  
        *  in-process-gpu  
        *  no-sandbox  
        *  touch-events enabled 
        *  use-gl egl 
      
      GL format 0 is not supported
      GL format 0 is not supported
      

      Attachments

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

        Activity

          People

            michal Michal Klocek
            h4nn35 Johannes Pointner
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes