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

Crash with SIGSEGV in QXcbConnection::getSelectionOwner

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P2: Important
    • Resolution: Fixed
    • Affects Version/s: 5.12.11
    • Fix Version/s: 6.3
    • Component/s: QPA: X11/XCB
    • Labels:
      None
    • Platform/s:
      Linux/X11
    • Commits:
      e0938223c4b5966b94893276ba36c9b0493168c7(dev) 4682605587acb99ee572cc69306a6b1de35e457e(6.2) 13811a19d6bc7a63d5827e22b3ae2c006483b227(5.12)

      Description

      Our app crashes randomly at startup when launched automatically at OS startup (Ubuntu 20). For now, I can't check if this happens also for 5.15.x or 6.x.

      Stacktrace:
       #0 0x00007fce6b485e0a in QXcbConnection::getSelectionOwner(unsigned int) const () at /opt/freedownloadmanager/plugins/platforms/../../lib/libQt5XcbQpa.so.5
       #1 0x00007fce6b48159a in QXcbClipboard::mimeData(QClipboard::Mode) () at /opt/freedownloadmanager/plugins/platforms/../../lib/libQt5XcbQpa.so.5
       #2 0x00007fce726ae0f1 in QQuickTextInput::q_canPasteChanged() () at /opt/freedownloadmanager/lib/libQt5Quick.so.5
       #3 0x00007fce726b9515 in QQuickTextInput::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /opt/freedownloadmanager/lib/libQt5Quick.so.5
       #4 0x00007fce726ba090 in QQuickTextInput::qt_metacall(QMetaObject::Call, int, void**) () at /opt/freedownloadmanager/lib/libQt5Quick.so.5
       #5 0x00007fce6f243685 in QQuickTextField::qt_metacall(QMetaObject::Call, int, void**) () at /opt/freedownloadmanager/lib/libQt5QuickTemplates2.so.5
       #6 0x00007fce6fc82f34 in QMetaObject::activate(QObject*, int, int, void**) () at /opt/freedownloadmanager/lib/libQt5Core.so.5
       #7 0x00007fce71200e89 in QClipboard::emitChanged(QClipboard::Mode) () at /opt/freedownloadmanager/lib/libQt5Gui.so.5
       #8 0x00007fce6b482886 in QXcbClipboard::handleXFixesSelectionRequest(xcb_xfixes_selection_notify_event_t*) () at /opt/freedownloadmanager/plugins/platforms/../../lib/libQt5XcbQpa.so.5
       #9 0x00007fce6b487979 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) () at /opt/freedownloadmanager/plugins/platforms/../../lib/libQt5XcbQpa.so.5
       #10 0x00007fce6b488581 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/freedownloadmanager/plugins/platforms/../../lib/libQt5XcbQpa.so.5
       #11 0x00007fce6b4b0093 in xcbSourceDispatch(_GSource*, int (void*), void*) () at /opt/freedownloadmanager/plugins/platforms/../../lib/libQt5XcbQpa.so.5
       #12 0x00007fce6ef9217d in g_main_context_dispatch () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
       #13 0x00007fce6ef92400 in () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
       #14 0x00007fce6ef924a3 in g_main_context_iteration () at /usr/lib/x86_64-linux-gnu/libglib-2.0.so.0
       #15 0x00007fce6fcae5ff in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/freedownloadmanager/lib/libQt5Core.so.5
       #16 0x00007fce6fc55cba in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /opt/freedownloadmanager/lib/libQt5Core.so.5
       #17 0x00007fce6fc5e5e0 in QCoreApplication::exec() () at /opt/freedownloadmanager/lib/libQt5Core.so.5
       #18 0x000055a12a8d7c14 in App::runImpl() ()
       #19 0x000055a12a8d865f in App::run(bool) ()
       #20 0x000055a12a8ba430 in main ()

        Attachments

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

          Activity

            People

            Assignee:
            liaqi Liang Qi
            Reporter:
            alervd Alexander Dyagilev
            Votes:
            1 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Gerrit Reviews

                There are no open Gerrit changes