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

A Wayland client application running in full screen could crash if it is hidden

    XMLWordPrintable

Details

    • Bug
    • Resolution: Won't Do
    • Not Evaluated
    • None
    • 5.15.12, 5.15.13
    • QPA: Wayland
    • None
    • KUbuntu 24.04 on AMD64 with standard apps/libs (Wayland 1.22, Weston 13 and Qt libraries 5.15.13) and custom Yocto Linux on 32 bit ARM (NXP i.MX6 DualLite) with Wayland 1.18, Weston 9 and Qt libraries version 5.15.12
    • Linux/Wayland

    Description

      Having the need to frequently hide an application window I have noticed that it sometimes crashes; therefore I implemented a test case that highlights this problem.
      Running it on both KUbuntu 24.04 amd64 and in a custom ARM embedded environment, it receives a segmentation fault in the 'QSGRenderThread' thread when run as a wayland client, the same does not happen with X11 (on KUbuntu 24.04 amd64) or using xcb plugin (on arm platform).

      The segmentation fault always occurs into 'eglSwapBuffers(m_eglDisplay, eglSurface);' call, in the 'qwaylandglcontext.cpp' file.

      Is there any way to avoid this issue?

      I attach the test case and backtraces collected in KUbuntu 24.04 amd64 and Yocto ARM 32. 

      Attachments

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

        Activity

          People

            qt.team.graphics.and.multimedia Qt Graphics Team
            lucac Luca C
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes