Bug 422911 - Crash in X11 clipboard getSelectionOwner
Summary: Crash in X11 clipboard getSelectionOwner
Status: RESOLVED DUPLICATE of bug 400701
Alias: None
Product: plasmashell
Classification: Plasma
Component: generic-crash (show other bugs)
Version: 5.19.0
Platform: openSUSE Linux
: NOR crash
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2020-06-13 12:33 UTC by BingMyBong
Modified: 2020-06-13 23:35 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description BingMyBong 2020-06-13 12:33:43 UTC
Application: plasmashell (5.19.0)

Qt Version: 5.15.0
Frameworks Version: 5.70.0
Operating System: Linux 5.6.14-1-default x86_64
Windowing system: X11
Distribution: "openSUSE Tumbleweed"

-- Information about the crash:
- What I was doing when the application crashed:
I had logged out which runs a backup script - i use qdbus-qt5/kdialog to display progress of this script but it no longer displays on logout. 
I then logged back in straight away and the crash icon was on the taskbar

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault

[KCrash Handler]
#4  0x00007f469d291320 in QXcbConnection::getSelectionOwner(unsigned int) const (this=0x55d69d7fd660, atom=<optimized out>) at qxcbconnection_basic.h:71
#5  0x00007f469d28bd28 in QXcbClipboard::getSelectionOwner(unsigned int) const (atom=<optimized out>, this=0x55d69d8842c0) at ./qxcbobject.h:53
#6  0x00007f469d28bd28 in QXcbClipboard::mimeData(QClipboard::Mode) (this=0x55d69d8842c0, mode=QClipboard::Clipboard) at qxcbclipboard.cpp:322
#7  0x00007f46a33bcca8 in QQuickTextInput::q_canPasteChanged() (this=0x55d69f4f7de0) at /usr/src/debug/libqt5-qtdeclarative-5.15.0-1.1.x86_64/src/quick/items/qquicktextinput.cpp:2838
#8  0x00007f46a33c94f3 in QQuickTextInput::qt_metacall(QMetaObject::Call, int, void**) (this=0x55d69f4f7de0, _c=QMetaObject::InvokeMetaMethod, _id=65, _a=0x7fff2c574550) at .moc/moc_qquicktextinput_p.cpp:1289
#9  0x00007f46a184bd30 in doActivate<false>(QObject*, int, void**) (sender=0x7f4698009110, signal_index=6, argv=0x7fff2c574550, argv@entry=0x0) at /usr/include/c++/10/bits/atomic_base.h:741
#10 0x00007f46a1845340 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) (sender=<optimized out>, m=m@entry=0x7f46a21dbfc0 <QClipboard::staticMetaObject>, local_signal_index=local_signal_index@entry=3, argv=argv@entry=0x0) at kernel/qobject.cpp:3946
#11 0x00007f46a20c0d43 in QClipboard::dataChanged() (this=<optimized out>) at .moc/moc_qclipboard.cpp:186
#12 0x00007f46a1c641a5 in QClipboard::emitChanged(QClipboard::Mode) (this=0x7f4698009110, mode=QClipboard::Clipboard) at kernel/qclipboard.cpp:597
#13 0x00007f469d290654 in QXcbConnection::handleXcbEvent(xcb_generic_event_t*) (this=this@entry=0x55d69d7fd660, event=event@entry=0x7f4698005c60) at qxcbconnection.cpp:685
#14 0x00007f469d291a86 in QXcbConnection::processXcbEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d69d7fd660, flags=...) at qxcbconnection.cpp:1003
#15 0x00007f469d2b3f43 in xcbSourceDispatch(GSource*, GSourceFunc, gpointer) (source=<optimized out>) at qxcbeventdispatcher.cpp:103
#16 0x00007f469fca42c7 in g_main_context_dispatch () at /usr/lib64/libglib-2.0.so.0
#17 0x00007f469fca4648 in  () at /usr/lib64/libglib-2.0.so.0
#18 0x00007f469fca46ff in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#19 0x00007f46a186cf4f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x55d69d8b5660, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#20 0x00007f46a18144cb in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7fff2c574850, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:141
#21 0x00007f46a181c730 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#22 0x000055d69d119c87 in main(int, char**) (argc=<optimized out>, argv=0x7fff2c574a70) at /usr/src/debug/plasma5-workspace-5.19.0-1.1.x86_64/shell/main.cpp:222
[Inferior 1 (process 4934) detached]

The reporter indicates this bug may be a duplicate of or related to bug 421845.

Possible duplicates by query: bug 422585, bug 421845, bug 420963, bug 420496, bug 420410.

Reported using DrKonqi
Comment 1 BingMyBong 2020-06-13 12:37:54 UTC
This was in the journal and happened just after i finished logging this bug via drkonqi - it may be totally irrelevant
Jun 13 13:33:47 LianLi kwin_x11[7704]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15097, resource id: 2097304, major code: 15 (QueryTre>
Jun 13 13:33:47 LianLi kwin_x11[7704]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15102, resource id: 2097304, major code: 18 (ChangePr>
Jun 13 13:33:47 LianLi kwin_x11[7704]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15126, resource id: 2097463, major code: 18 (ChangePr>
Jun 13 13:33:53 LianLi systemd-coredump[8653]: Process 4934 (plasmashell) of user 1002 dumped core.
                                               
                                               Stack trace of thread 4934:
                                               #0  0x00007f46a11fb4b1 __GI_raise (libc.so.6 + 0x3c4b1)
                                               #1  0x00007f46a2b66cff _ZN6KCrash19defaultCrashHandlerEi (libKF5Crash.so.5 + 0x6cff)
                                               #2  0x00007f46a11fb530 __restore_rt (libc.so.6 + 0x3c530)
                                               #3  0x00007f469d291320 _ZNK14QXcbConnection17getSelectionOwnerEj (libQt5XcbQpa.so.5 + 0x42320)
                                               #4  0x00007f469d28bd28 _ZNK13QXcbClipboard17getSelectionOwnerEj (libQt5XcbQpa.so.5 + 0x3cd28)
                                               #5  0x00007f46a33bcca8 _ZN15QQuickTextInput17q_canPasteChangedEv (libQt5Quick.so.5 + 0x290ca8)
                                               #6  0x00007f46a33c94f3 _ZN15QQuickTextInput11qt_metacallEN11QMetaObject4CallEiPPv (libQt5Quick.so.5 + 0x29d4f>
                                               #7  0x00007f46a184bd30 _Z10doActivateILb0EEvP7QObjectiPPv (libQt5Core.so.5 + 0x2edd30)
                                               #8  0x00007f46a1c641a5 _ZN10QClipboard11emitChangedENS_4ModeE (libQt5Gui.so.5 + 0x1651a5)
                                               #9  0x00007f469d290654 _ZN14QXcbConnection14handleXcbEventEP19xcb_generic_event_t (libQt5XcbQpa.so.5 + 0x4165>
                                               #10 0x00007f469d291a86 _ZN14QXcbConnection16processXcbEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (libQ>
                                               #11 0x00007f469d2b3f43 xcbSourceDispatch (libQt5XcbQpa.so.5 + 0x64f43)
                                               #12 0x00007f469fca42c7 g_main_context_dispatch (libglib-2.0.so.0 + 0x542c7)
                                               #13 0x00007f469fca4648 n/a (libglib-2.0.so.0 + 0x54648)
                                               #14 0x00007f469fca46ff g_main_context_iteration (libglib-2.0.so.0 + 0x546ff)
                                               #15 0x00007f46a186cf4f _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (l>
                                               #16 0x00007f46a18144cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b64cb)
                                               #17 0x00007f46a181c730 _ZN16QCoreApplication4execEv (libQt5Core.so.5 + 0x2be730)
                                               #18 0x000055d69d119c87 main (plasmashell + 0x24c87)
                                               #19 0x00007f46a11e5cca __libc_start_main (libc.so.6 + 0x26cca)
                                               #20 0x000055d69d11a78a _start (plasmashell + 0x2578a)
                                               
                                               Stack trace of thread 5176:
                                               #0  0x00007f469fcf1cb4 g_mutex_unlock (libglib-2.0.so.0 + 0xa1cb4)
                                               #1  0x00007f469fca45d3 n/a (libglib-2.0.so.0 + 0x545d3)
                                               #2  0x00007f469fca46ff g_main_context_iteration (libglib-2.0.so.0 + 0x546ff)
                                               #3  0x00007f46a186cf6b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (l>
                                               #4  0x00007f46a18144cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b64cb)
                                               #5  0x00007f46a163673e _ZN7QThread4execEv (libQt5Core.so.5 + 0xd873e)
                                               #6  0x00007f4668d14428 _ZN15KCupsConnection3runEv (libkcupslib.so + 0x21428)
                                               #7  0x00007f46a1637871 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xd9871)
                                               #8  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #9  0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5031:
                                               #0  0x00007f46a09e17e2 futex_wait_cancelable (libpthread.so.0 + 0xf7e2)
                                               #1  0x00007f4694d8c6d3 n/a (swrast_dri.so + 0x5d96d3)
                                               #2  0x00007f4694d78a47 n/a (swrast_dri.so + 0x5c5a47)
                                               #3  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #4  0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 4978:
                                               #0  0x00007f46a12b3fef __GI___poll (libc.so.6 + 0xf4fef)
                                               #1  0x00007f469fca45de n/a (libglib-2.0.so.0 + 0x545de)
                                               #2  0x00007f469fca46ff g_main_context_iteration (libglib-2.0.so.0 + 0x546ff)
                                               #3  0x00007f46a186cf6b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (l>
                                               #4  0x00007f46a18144cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b64cb)
                                               #5  0x00007f46a163673e _ZN7QThread4execEv (libQt5Core.so.5 + 0xd873e)
                                               #6  0x00007f46a2991a17 n/a (libQt5DBus.so.5 + 0x19a17)
                                               #7  0x00007f46a1637871 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xd9871)
                                               #8  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #9  0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5032:
                                               #0  0x00007f46a09e17e2 futex_wait_cancelable (libpthread.so.0 + 0xf7e2)
                                               #1  0x00007f4694d8c6d3 n/a (swrast_dri.so + 0x5d96d3)
                                               #2  0x00007f4694d78a47 n/a (swrast_dri.so + 0x5c5a47)
                                               #3  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #4  0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5060:
                                               #0  0x00007f46a12afa4c __GI___libc_read (libc.so.6 + 0xf0a4c)
                                               #1  0x00007f469fced15f n/a (libglib-2.0.so.0 + 0x9d15f)
                                               #2  0x00007f469fca412e g_main_context_check (libglib-2.0.so.0 + 0x5412e)
                                               #3  0x00007f469fca4585 n/a (libglib-2.0.so.0 + 0x54585)
                                               #4  0x00007f469fca46ff g_main_context_iteration (libglib-2.0.so.0 + 0x546ff)
                                               #5  0x00007f46a186cf6b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (l>
                                               #6  0x00007f46a18144cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b64cb)
                                               #7  0x00007f46a163673e _ZN7QThread4execEv (libQt5Core.so.5 + 0xd873e)
                                               #8  0x00007f46a328c8d6 _ZN18QQuickPixmapReader3runEv (libQt5Quick.so.5 + 0x1608d6)
                                               #9  0x00007f46a1637871 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xd9871)
                                               #10 0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #11 0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5033:
                                               #0  0x00007f46a09e17e2 futex_wait_cancelable (libpthread.so.0 + 0xf7e2)
                                               #1  0x00007f4694d78e43 n/a (swrast_dri.so + 0x5c5e43)
                                               #2  0x00007f4694d78a27 n/a (swrast_dri.so + 0x5c5a27)
                                               #3  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #4  0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5076:
                                               #0  0x00007f46a1244e7f __libc_enable_asynccancel (libc.so.6 + 0x85e7f)
                                               #1  0x00007f46a12afa37 __GI___libc_read (libc.so.6 + 0xf0a37)
                                               #2  0x00007f469fced15f n/a (libglib-2.0.so.0 + 0x9d15f)
                                               #3  0x00007f469fca412e g_main_context_check (libglib-2.0.so.0 + 0x5412e)
                                               #4  0x00007f469fca4585 n/a (libglib-2.0.so.0 + 0x54585)
                                               #5  0x00007f469fca46ff g_main_context_iteration (libglib-2.0.so.0 + 0x546ff)
                                               #6  0x00007f46a186cf6b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (l>
                                               #7  0x00007f46a18144cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b64cb)
                                               #8  0x00007f46a163673e _ZN7QThread4execEv (libQt5Core.so.5 + 0xd873e)
                                               #9  0x00007f466ac28ae5 n/a (libqmlxmllistmodelplugin.so + 0xeae5)
                                               #10 0x00007f46a1637871 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xd9871)
                                               #11 0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #12 0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5034:
                                               #0  0x00007f46a09e17e2 futex_wait_cancelable (libpthread.so.0 + 0xf7e2)
                                               #1  0x00007f4694d78e43 n/a (swrast_dri.so + 0x5c5e43)
                                               #2  0x00007f4694d78a27 n/a (swrast_dri.so + 0x5c5a27)
                                               #3  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #4  0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5022:
                                               #0  0x00007f469fcf1c99 g_mutex_lock (libglib-2.0.so.0 + 0xa1c99)
                                               #1  0x00007f469fca45a4 n/a (libglib-2.0.so.0 + 0x545a4)
                                               #2  0x00007f469fca46ff g_main_context_iteration (libglib-2.0.so.0 + 0x546ff)
                                               #3  0x00007f46a186cf6b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (l>
                                               #4  0x00007f46a18144cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b64cb)
                                               #5  0x00007f46a163673e _ZN7QThread4execEv (libQt5Core.so.5 + 0xd873e)
                                               #6  0x00007f46a2fd65d5 _ZN17QQmlThreadPrivate3runEv (libQt5Qml.so.5 + 0x3115d5)
                                               #7  0x00007f46a1637871 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xd9871)
                                               #8  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #9  0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
                                               
                                               Stack trace of thread 5077:
                                               #0  0x00007f469fca07ed n/a (libglib-2.0.so.0 + 0x507ed)
                                               #1  0x00007f469fca2505 n/a (libglib-2.0.so.0 + 0x52505)
                                               #2  0x00007f469fca3a23 g_main_context_prepare (libglib-2.0.so.0 + 0x53a23)
                                               #3  0x00007f469fca450b n/a (libglib-2.0.so.0 + 0x5450b)
                                               #4  0x00007f469fca46ff g_main_context_iteration (libglib-2.0.so.0 + 0x546ff)
                                               #5  0x00007f46a186cf6b _ZN20QEventDispatcherGlib13processEventsE6QFlagsIN10QEventLoop17ProcessEventsFlagEE (l>
                                               #6  0x00007f46a18144cb _ZN10QEventLoop4execE6QFlagsINS_17ProcessEventsFlagEE (libQt5Core.so.5 + 0x2b64cb)
                                               #7  0x00007f46a163673e _ZN7QThread4execEv (libQt5Core.so.5 + 0xd873e)
                                               #8  0x00007f46a1637871 _ZN14QThreadPrivate5startEPv (libQt5Core.so.5 + 0xd9871)
                                               #9  0x00007f46a09daeaa start_thread (libpthread.so.0 + 0x8eaa)
                                               #10 0x00007f46a12beb1f __clone (libc.so.6 + 0xffb1f)
lines 90
Comment 2 David Edmundson 2020-06-13 23:35:41 UTC

*** This bug has been marked as a duplicate of bug 400701 ***