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

XCB: WA_DeleteOnClose and closing a window while the application is busy can lead to a crash

    XMLWordPrintable

Details

    • Linux/X11

    Description

      To reproduce:

      • run attached application
      • click X in window frame to close it
      • wait, and if it asks to forcefully close the application, say no
      • after the 15 seconds wait ends, the application crashes

      Stack trace (5.12.0-rc1):

      1  ??                                                                               0x663740       
      2  QGuiApplicationPrivate::processActivatedEvent    qguiapplication.cpp        2291 0x7ffff62bf7b8 
      3  QGuiApplicationPrivate::processWindowSystemEvent qguiapplication.cpp        1858 0x7ffff62c438a 
      4  QWindowSystemInterface::sendWindowSystemEvents   qwindowsysteminterface.cpp 1071 0x7ffff629b7c0 
      5  xcbSourceDispatch                                qxcbeventdispatcher.cpp    105  0x7ffff7ea633e 
      6  g_main_context_dispatch                                                          0x7ffff4d91197 
      7  ??                                                                               0x7ffff4d913f0 
      8  g_main_context_iteration                                                         0x7ffff4d9149c 
      9  QEventDispatcherGlib::processEvents              qeventdispatcher_glib.cpp  422  0x7ffff73d4291 
      10 QXcbGlibEventDispatcher::processEvents           qxcbeventdispatcher.cpp    143  0x7ffff7ea66be 
      11 QEventLoop::processEvents                        qeventloop.cpp             138  0x7ffff73723cb 
      12 QEventLoop::exec                                 qeventloop.cpp             225  0x7ffff7372844 
      13 QCoreApplication::exec                           qcoreapplication.cpp       1363 0x7ffff737c46a 
      14 QGuiApplication::exec                            qguiapplication.cpp        1779 0x7ffff62b93ea 
      15 QApplication::exec                               qapplication.cpp           2908 0x7ffff7835713 
      16 main                                             main.cpp                   19   0x400e32       
      

      Attachments

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

        Activity

          People

            qt.team.quick.subscriptions Qt Quick and Widgets Team
            poikelin Joni Poikelin
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes