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

XCB: [REG: 4 -> 5] Crash when using keyboard to accept a dialog

    XMLWordPrintable

Details

    Description

      I have not found a way to make this happen with a minimal example. How ever, it probably is somehow connected to destruction of QDialog and a call to processEvents(). In here, pointer to QWindow object is pointing to a wrong place.

      1 QScopedPointer<QObjectData, QScopedPointerDeleter<QObjectData>>::data
      qscopedpointer.h 135 0x2f4a96e
      2 qGetPtrHelper<QScopedPointer<QObjectData>> qglobal.h 1015
      0x2f54b02
      3 QObject::d_func qobject.h 110 0x2f54b70
      4 QObjectPrivate::get qobject_p.h 192 0x2f54f0c
      5 QtSharedPointer::ExternalRefCountData::getAndRef
      qsharedpointer.cpp 1327 0x38d10c7
      6 QWeakPointer<QObject>::QWeakPointer<QWindow> qsharedpointer_impl.h
      705 0x2f4aa6a
      7 QPointer<QWindow>::QPointer qpointer.h 65 0x2f488dc
      8 QWindowSystemInterfacePrivate::UserEvent::UserEvent
      qwindowsysteminterface_p.h 204 0x2f47661
      9 QWindowSystemInterfacePrivate::InputEvent::InputEvent
      qwindowsysteminterface_p.h 216 0x2f47730
      10 QWindowSystemInterfacePrivate::KeyEvent::KeyEvent
      qwindowsysteminterface_p.h 262 0x3206c31
      11 QWindowSystemInterface::handleExtendedKeyEvent
      qwindowsysteminterface.cpp 291 0x3203d41
      12 QXcbKeyboard::handleKeyEvent qxcbkeyboard.cpp 1520
      0x3b2a449
      13 QXcbKeyboard::handleKeyReleaseEvent qxcbkeyboard.cpp 1564
      0x3b2a9cb
      14 QXcbConnection::handleXcbEvent qxcbconnection.cpp 1153
      0x3b4f59e
      15 QXcbConnection::processXcbEvents qxcbconnection.cpp 1701
      0x3b50fd8
      16 QXcbConnection::qt_static_metacall moc_qxcbconnection.cpp 190
      0x3b74d54
      17 QMetaCallEvent::placeMetaCall qobject.cpp 495 0x3a1e65b
      18 QObject::event qobject.cpp 1256 0x3a1f6a8
      19 QXcbConnection::event qxcbconnection.cpp 2312 0x3b522c9
      20 QApplicationPrivate::notify_helper qapplication.cpp 3714
      0x32acde2
      21 QApplication::notify qapplication.cpp 3157 0x32aa46a
      22 GUI::Application_Qt::notify GUI_Application_Qt.cpp 71
      0x25b7189
      23 QCoreApplication::notifyInternal2 qcoreapplication.cpp 1015
      0x39f1e41
      24 QCoreApplication::sendEvent qcoreapplication.h 227
      0x2047262
      25 QCoreApplicationPrivate::sendPostedEvents qcoreapplication.cpp
      1650 0x39f31e9
      26 QCoreApplication::sendPostedEvents qcoreapplication.cpp 1508
      0x39f2b9a
      27 postEventSourceDispatch qeventdispatcher_glib.cpp 270
      0x3a543ba
      28 g_main_context_dispatch 0x314b840642
      29 ?? 0x314b844c98
      30 g_main_context_iteration 0x314b844e4c
      31 QEventDispatcherGlib::processEvents qeventdispatcher_glib.cpp
      417 0x3a54bef
      32 QPAEventDispatcherGlib::processEvents qeventdispatcher_glib.cpp
      115 0x3baafbc
      

      Attachments

        Issue Links

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

          Activity

            People

              paeglis Gatis Paeglis
              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