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

KMail Crash

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P3: Somewhat important
    • None
    • 6.9.0
    • WebEngine
    • None

    Description

      KMail crashes with the following error:
      [felix@felix-dell-2024 ~]$ kmail
      setHighDpiScaleFactorRoundingPolicy must be called before creating the QGuiApplication instance
      org.kde.pim.pimcommonactivities: Plasma activities is not running:  1
      qt.webenginecontext: 
      Chromium GL Backend: angle
      Chromium ANGLE Backend: gl-egl
      Chromium Vulkan Backend: disabled
      QSG RHI Backend: OpenGL
      QSG RHI Backend Supported: yes
      GPU Vendor: Intel
      Using GLX: no
      Using EGL: yes
      Using Shared GL: yes
      Init Parameters:
       *  application-name kmail2
       *  browser-subprocess-path /usr/lib/qt6/QtWebEngineProcess
       *  disable-blink-features WebOTP
       *  disable-features EyeDropper,BackgroundFetch,InstalledApp,WebOTP,WebPayments,WebUSB,StandardCompliantNonSpecialSchemeURLParsing
       *  disable-in-process-stack-traces 
       *  disable-setuid-sandbox 
       *  disable-speech-api 
       *  enable-features NetworkServiceInProcess2,TracingServiceInProcess
       *  in-process-gpu 
       *  touch-events auto
       *  use-angle gl-egl
       *  use-gl angle
      qt.webengine.compositor: Compositor Type: Native
      qt.webengine.compositor: QPA Platform Plugin: wayland
      qt.webengine.compositor: Skia Graphics Context Type: GaneshGL
      qt.webengine.compositor: Native Buffer Supported: yes
      qt.webengine.compositor: Native Skia Output Device: OpenGL
      qt.webengine.compositor: Initializing buffer 0x763a502f85f0 with SharedImage:
      qt.webengine.compositor:   Usage: Gles2Read|DisplayRead|DisplayWrite|Scanout
      qt.webengine.compositor:   Pixels size: 1260x621
      qt.webengine.compositor:   Format: RGBA_8888
      [14260:14318:0422/181538.549284:ERROR:angle_platform_impl.cc(44)] ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
      ERR: ImageEGL.cpp:112 (operator()): eglCreateImage failed with 0x00003009
      [14260:14318:0422/181538.549297:ERROR:scoped_egl_image.cc(23)] Failed to create EGLImage: EGL_SUCCESS
      [14260:14318:0422/181538.549301:ERROR:native_pixmap_egl_binding.cc(118)] Unable to initialize binding from pixmap
      [14260:14318:0422/181538.549312:ERROR:ozone_image_backing.cc(309)] OzoneImageBacking::ProduceSkiaGanesh failed to create GL representation
      [14260:14318:0422/181538.549316:ERROR:shared_image_manager.cc(255)] SharedImageManager::ProduceSkia: Trying to produce a Skia representation from an incompatible backing: OzoneImageBacking
      [14260:14318:0422/181538.549319:ERROR:native_skia_output_device.cpp(261)] ProduceSkia() failed.
      [14260:14318:0422/181538.549405:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      [14260:14318:0422/181538.549461:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      [14260:14318:0422/181538.549554:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      [14260:14318:0422/181538.549574:ERROR:raster_decoder.cc(1146)]   RasterDecoderImpl: Context lost during MakeCurrent.
      qt.webengine.compositor: Compositor Type: Native
      qt.webengine.compositor: QPA Platform Plugin: wayland
      qt.webengine.compositor: Skia Graphics Context Type: GaneshGL
      qt.webengine.compositor: Native Buffer Supported: yes
      qt.webengine.compositor: Native Skia Output Device: OpenGL
      [14260:14318:0422/181538.551788:ERROR:shared_context_state.cc(885)] Failed to make current since context is marked as lost
      [14260:14318:0422/181538.551793:ERROR:skia_output_surface_impl_on_gpu.cc(2264)] Failed to make current.

          • KMail got signal 11 (Exiting)
          • Dead letters dumped.
            /tmp/messageviewer_attachment_uwVsLX was not removed .
            /tmp/messageviewer_attachment_yyrFkA was not removed .
            KCrash: Application 'kmail' crashing... crashRecursionCounter = 2
            Segmentation fault (core dumped)

       

      Related https://bugreports.qt.io/browse/QTBUG-135935

      lsgpu gives

      card0                    Intel Dg2 (Gen12)                 drm:/dev/dri/card0 
      └─renderD129                                               drm:/dev/dri/renderD129 
      card1                    Intel Alderlake_p (Gen12)         drm:/dev/dri/card1 
      └─renderD128                                               drm:/dev/dri/renderD128

      and lspci -k | grep -EA3 'VGA|DISPLAY' shows this:

      00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
              Subsystem: Dell Device 0beb
              Kernel driver in use: i915
              Kernel modules: i915, xe

      I am running KDE under Wayland, at least according to $XDG_SESSION_TYPE

      Attachments

        Issue Links

          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
              enqueue Felix Müller
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:

                Gerrit Reviews

                  There are no open Gerrit changes