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

Deadlock in QQuickWindow::~QQuickWindow, stuck on wait condition

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • P2: Important
    • None
    • 6.5
    • Quick: SceneGraph
    • None

    Description

      We are experiencing a deadlock on exit, with the following backtrace. Not so easy to reproduce, but seems to be new with Qt 6.5 (never seen with Qt 6.2). We can help with debugging. I don't think this is related to QTBUG-118890 but it's curiously similar.

      2023-11-09T12:39:54.439+00:00 gui[35558]: #00 0x07f8ebbecac CmnLog::backTrace(int)+0x9c (/<...>-log.so - 0x007f8eba0000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #01 0x07f9df9c4e4 SignalHandler::crashHandler(int)+0x1a4 (/<...>-app.so - 0x007f9df80000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #02 0x07f9e008670 unknown+0x0 (linux-vdso.so.1 - 0x007f9e008000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #03 0x07f8cfc97a8 __GI___futex_abstimed_wait_cancelable64+0xc8 (/lib/libc.so.6 - 0x007f8cf50000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #04 0x07f8cfcc420 pthread_cond_wait+0x210 (/lib/libc.so.6 - 0x007f8cf50000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #05 0x07f8e18f438 QWaitCondition::wait(QMutex*, QDeadlineTimer)+0x138 (/lib/libQt6Core.so.6 - 0x007f8deb0000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #06 0x07f8f0da37c QSGThreadedRenderLoop::handleObscurity(QSGThreadedRenderLoop::Window*)+0x13c (/lib/libQt6Quick.so.6 - 0x007f8ec70000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #07 0x07f8f0dbc68 QSGThreadedRenderLoop::windowDestroyed(QQuickWindow*)+0x88 (/lib/libQt6Quick.so.6 - 0x007f8ec70000)
      2023-11-09T12:39:54.439+00:00 gui[35558]: #08 0x07f8ef2a228 QQuickWindow::~QQuickWindow()+0x5d8 (/lib/libQt6Quick.so.6 - 0x007f8ec70000)
      

      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
            andrhans Andreas Aardal Hanssen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:

              Gerrit Reviews

                There are no open Gerrit changes