Bug 353993

Summary: krunner crashes at login in Qobject::disconnect()
Product: [Plasma] krunner Reporter: Brad Hubbard <bhubbard>
Component: generalAssignee: Kai Uwe Broulik <kde>
Status: RESOLVED WORKSFORME    
Severity: crash CC: bugs-kde.org, kde.track.pasilli
Priority: NOR Keywords: drkonqi
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Brad Hubbard 2015-10-17 06:04:12 UTC
Application: krunner (0.1)

Qt Version: 5.5.0
Operating System: Linux 4.2.3-200.fc22.x86_64 x86_64
Distribution: "Fedora release 22 (Twenty Two)"

-- Information about the crash:
Logged in and krunner crashed. Stacktrace shows the crash in Qobject::disconnect()

-- Backtrace:
Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0996a95900 (LWP 2090))]

Thread 3 (Thread 0x7f09778fc700 (LWP 2097)):
#0  0x00007f0990b3f2fd in poll () at /lib64/libc.so.6
#1  0x00007f098f99b182 in _xcb_conn_wait () at /lib64/libxcb.so.1
#2  0x00007f098f99cc77 in xcb_wait_for_event () at /lib64/libxcb.so.1
#3  0x00007f0979a8b999 in QXcbEventReader::run() () at /lib64/libQt5XcbQpa.so.5
#4  0x00007f099174b54e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#5  0x00007f098d442555 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f0990b4ab9d in clone () at /lib64/libc.so.6

Thread 2 (Thread 0x7f096f3e9700 (LWP 2152)):
#0  0x00007f0990b3afad in read () at /lib64/libc.so.6
#1  0x00007f098bc6bb00 in g_wakeup_acknowledge () at /lib64/libglib-2.0.so.0
#2  0x00007f098bc278b4 in g_main_context_check () at /lib64/libglib-2.0.so.0
#3  0x00007f098bc27d60 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#4  0x00007f098bc27ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#5  0x00007f0991982dab in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#6  0x00007f0991929daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#7  0x00007f09917465a4 in QThread::exec() () at /lib64/libQt5Core.so.5
#8  0x00007f0995251245 in QQmlThreadPrivate::run() () at /lib64/libQt5Qml.so.5
#9  0x00007f099174b54e in QThreadPrivate::start(void*) () at /lib64/libQt5Core.so.5
#10 0x00007f098d442555 in start_thread () at /lib64/libpthread.so.0
#11 0x00007f0990b4ab9d in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f0996a95900 (LWP 2090)):
[KCrash Handler]
#5  0x0000000001e8df40 in  ()
#6  0x00007f099195f369 in QObject::disconnect(QObject const*, char const*, QObject const*, char const*) () at /lib64/libQt5Core.so.5
#7  0x00007f0995a3d7d0 in QQuickScreenAttached::screenChanged(QScreen*) () at /lib64/libQt5Quick.so.5
#8  0x00007f0995a3d9f9 in QQuickScreenAttached::windowChanged(QQuickWindow*) () at /lib64/libQt5Quick.so.5
#9  0x00007f0995953ce9 in QQuickItemPrivate::refWindow(QQuickWindow*) () at /lib64/libQt5Quick.so.5
#10 0x00007f0995953ca4 in QQuickItemPrivate::refWindow(QQuickWindow*) () at /lib64/libQt5Quick.so.5
#11 0x00007f09959565e4 in QQuickItem::setParentItem(QQuickItem*) () at /lib64/libQt5Quick.so.5
#12 0x00007f09966d1818 in PlasmaQuick::Dialog::setMainItem(QQuickItem*) () at /lib64/libKF5PlasmaQuick.so.5
#13 0x00007f099195afe7 in QMetaObject::activate(QObject*, int, int, void**) () at /lib64/libQt5Core.so.5
#14 0x00007f0995da34ca in KDeclarative::QmlObject::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) () at /lib64/libKF5Declarative.so.5
#15 0x00007f099195c021 in QObject::event(QEvent*) () at /lib64/libQt5Core.so.5
#16 0x00007f09928a24ac in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#17 0x00007f09928a7976 in QApplication::notify(QObject*, QEvent*) () at /lib64/libQt5Widgets.so.5
#18 0x00007f099192c61b in QCoreApplication::notifyInternal(QObject*, QEvent*) () at /lib64/libQt5Core.so.5
#19 0x00007f099192ea16 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () at /lib64/libQt5Core.so.5
#20 0x00007f0991982983 in postEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /lib64/libQt5Core.so.5
#21 0x00007f098bc27a8a in g_main_context_dispatch () at /lib64/libglib-2.0.so.0
#22 0x00007f098bc27e20 in g_main_context_iterate.isra () at /lib64/libglib-2.0.so.0
#23 0x00007f098bc27ecc in g_main_context_iteration () at /lib64/libglib-2.0.so.0
#24 0x00007f0991982d8f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#25 0x00007f0991929daa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /lib64/libQt5Core.so.5
#26 0x00007f0991931e6c in QCoreApplication::exec() () at /lib64/libQt5Core.so.5
#27 0x00000000004077d9 in main ()

Reported using DrKonqi
Comment 1 Pasi 2015-10-18 14:17:37 UTC
Happens with me also when logging in on docked laptop, except on first login after boot. Seems to be duplicate of https://bugs.kde.org/show_bug.cgi?id=353129

Backtrace of the crash I experienced:

Application: krunner (krunner), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f77a876d8c0 (LWP 3004))]

Thread 3 (Thread 0x7f7792f3b700 (LWP 3007)):
#0  0x00007f77a4472e7d in poll () from /lib64/libc.so.6
#1  0x00007f77a397d432 in ?? () from /usr/lib64/libxcb.so.1
#2  0x00007f77a397f007 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x00007f779508ae89 in ?? () from /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f77a4b61a9f in QThreadPrivate::start (arg=0xe52810) at thread/qthread_unix.cpp:331
#5  0x00007f77a231d4a4 in start_thread () from /lib64/libpthread.so.0
#6  0x00007f77a447b80d in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f7786a3c700 (LWP 3015)):
#0  0x00007f77a19b482b in g_main_context_prepare () from /usr/lib64/libglib-2.0.so.0
#1  0x00007f77a19b5193 in ?? () from /usr/lib64/libglib-2.0.so.0
#2  0x00007f77a19b536c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#3  0x00007f77a4d8635b in QEventDispatcherGlib::processEvents (this=0x7f77800008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f77a4d3047a in QEventLoop::exec (this=this@entry=0x7f7786a3bcf0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f77a4b5cc6c in QThread::exec (this=this@entry=0x1203e00) at thread/qthread.cpp:503
#6  0x00007f77a71d21a5 in QQmlThreadPrivate::run (this=0x1203e00) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/qml/qml/ftw/qqmlthread.cpp:141
#7  0x00007f77a4b61a9f in QThreadPrivate::start (arg=0x1203e00) at thread/qthread_unix.cpp:331
#8  0x00007f77a231d4a4 in start_thread () from /lib64/libpthread.so.0
#9  0x00007f77a447b80d in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f77a876d8c0 (LWP 3004)):
[KCrash Handler]
#6  0x0000000000000000 in ?? ()
#7  0x00007f77a4d63d29 in QObject::disconnect (sender=0xe5a7c0, signal=signal@entry=0x0, receiver=receiver@entry=0x11e6320, method=method@entry=0x0) at kernel/qobject.cpp:2937
#8  0x00007f77a79ae8a3 in disconnect (member=0x0, receiver=0x11e6320, this=<optimized out>) at /usr/include/qt5/QtCore/qobject.h:361
#9  QQuickScreenAttached::screenChanged (this=this@entry=0x11e6320, screen=0xe55870) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:342
#10 0x00007f77a79aea99 in QQuickScreenAttached::windowChanged (this=0x11e6320, c=c@entry=0x7ffcfe894f50) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickscreen.cpp:329
#11 0x00007f77a78ccd19 in QQuickItemPrivate::refWindow (this=0x11e3170, c=c@entry=0x7ffcfe894f50) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2792
#12 0x00007f77a78cccd4 in QQuickItemPrivate::refWindow (this=this@entry=0x1101630, c=c@entry=0x7ffcfe894f50) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2786
#13 0x00007f77a78cf434 in QQuickItem::setParentItem (this=this@entry=0x10c3f30, parentItem=0xeb1a80) at /usr/src/debug/qtdeclarative-opensource-src-5.5.0/src/quick/items/qquickitem.cpp:2530
#14 0x00007f77a8375082 in PlasmaQuick::Dialog::setMainItem (this=0x7ffcfe894f50, mainItem=0x10c3f30) at /usr/src/debug/plasma-framework-5.14.0/src/plasmaquick/dialog.cpp:715
#15 0x00007f77a4d5fc27 in call (a=0x7ffcfe894860, r=0x7ffcfe894f50, this=<optimized out>) at ../../src/corelib/kernel/qobject_impl.h:124
#16 QMetaObject::activate (sender=0x1291fb0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3703
#17 0x00007f77a7d11059 in KDeclarative::QmlObject::qt_static_metacall (_o=<optimized out>, _c=<optimized out>, _id=<optimized out>, _a=<optimized out>) at /usr/src/debug/kdeclarative-5.14.0/build/src/kdeclarative/moc_qmlobject.cpp:117
#18 0x00007f77a4d60b89 in QObject::event (this=0x1291fb0, e=<optimized out>) at kernel/qobject.cpp:1246
#19 0x00007f77a5c998fc in QApplicationPrivate::notify_helper (this=this@entry=0xe37c30, receiver=receiver@entry=0x1291fb0, e=e@entry=0x11e9370) at kernel/qapplication.cpp:3717
#20 0x00007f77a5c9ea06 in QApplication::notify (this=0x7ffcfe894ee0, receiver=0x1291fb0, e=0x11e9370) at kernel/qapplication.cpp:3500
#21 0x00007f77a4d32b33 in QCoreApplication::notifyInternal (this=0x7ffcfe894ee0, receiver=0x1291fb0, event=event@entry=0x11e9370) at kernel/qcoreapplication.cpp:965
#22 0x00007f77a4d34e56 in sendEvent (event=0x11e9370, receiver=<optimized out>) at kernel/qcoreapplication.h:224
#23 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0xe357e0) at kernel/qcoreapplication.cpp:1593
#24 0x00007f77a4d35338 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at kernel/qcoreapplication.cpp:1451
#25 0x00007f77a4d85f33 in postEventSourceDispatch (s=0xe7f290) at kernel/qeventdispatcher_glib.cpp:271
#26 0x00007f77a19b5097 in g_main_context_dispatch () from /usr/lib64/libglib-2.0.so.0
#27 0x00007f77a19b52c8 in ?? () from /usr/lib64/libglib-2.0.so.0
#28 0x00007f77a19b536c in g_main_context_iteration () from /usr/lib64/libglib-2.0.so.0
#29 0x00007f77a4d8633f in QEventDispatcherGlib::processEvents (this=0xe74430, flags=...) at kernel/qeventdispatcher_glib.cpp:418
#30 0x00007f77a4d3047a in QEventLoop::exec (this=this@entry=0x7ffcfe894e20, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#31 0x00007f77a4d3811d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1229
#32 0x000000000040841b in main (argc=1, argv=<optimized out>) at /usr/src/debug/plasma-workspace-5.4.1/krunner/main.cpp:80
Comment 2 Andrew Crouthamel 2018-11-01 13:48:06 UTC
Dear Bug Submitter,

This bug has been stagnant for a long time. Could you help us out and re-test if the bug is valid in the latest version? I am setting the status to NEEDSINFO pending your response, please change the Status back to REPORTED when you respond.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2018-11-16 11:35:17 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Bug Janitor Service 2018-12-01 03:49:32 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!