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

Wayland client race condition in applyConfigure

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P1: Critical
    • Resolution: Done
    • Affects Version/s: 6.2
    • Fix Version/s: 6.2.1, 6.3.0 Alpha
    • Component/s: QPA: Wayland
    • Labels:
      None
    • Platform/s:
      Linux/Wayland
    • Commits:
      a0f5937868a97af7b6f97ffc9c0aed12d84cceb3 (qt/qtwayland/dev) ae1557f62926595d5127b99b8f52a0e2a81eb668 (qt/qtwayland/6.2)

      Description

      When windows are repeatedly shown and hidden, xdg_surface_configure() may be called again before QWaylandXdgSurface::applyConfigure(). This causes 

      ASSERT: "m_pendingConfigureSerial != 0" in file qtwayland/src/plugins/shellintegration/xdg-shell/qwaylandxdgshell.cpp, line 351

       

      To reproduce: Run the example from QTBUG-87624 with the fix for that bug. Do this in a small compositor window so that the overlay window is always shown under the mouse. This will cause it to be repeatedly shown and hidden.

        Attachments

          Issue Links

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

            Activity

              People

              Assignee:
              tvete Paul Olav Tvete
              Reporter:
              tvete Paul Olav Tvete
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Gerrit Reviews

                  There are no open Gerrit changes