Bug 351061 - Plasma desktop crashes on exit
Summary: Plasma desktop crashes on exit
Status: RESOLVED DUPLICATE of bug 348511
Alias: None
Product: plasmashell
Classification: Plasma
Component: general (show other bugs)
Version: 5.3.2
Platform: Arch Linux Linux
: NOR crash
Target Milestone: 1.0
Assignee: David Edmundson
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2015-08-07 14:33 UTC by Matthijs
Modified: 2015-08-10 11:48 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Matthijs 2015-08-07 14:33:35 UTC
Application: plasmashell (5.3.2)

Qt Version: 5.5.0
Operating System: Linux 4.1.4-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:

Every time I close the session (logout, shutdown, reboot etc.), plasma crashes. To get this backtrace, I send plasma a DBus command: MainApplication org.qtproject.Qt.QCoreApplication quit().

If more debug symbols are needed to solve this bug, let me know. I'll recompile some packages.

The crash can be reproduced every time.

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f0335fa5800 (LWP 9237))]

Thread 8 (Thread 0x7f031eed2700 (LWP 9238)):
#0  0x00007f032f780e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f03347e39d2 in poll (__timeout=-1, __nfds=1, __fds=0x7f031eed1cc0) at /usr/include/bits/poll2.h:46
#2  _xcb_conn_wait (c=0x15031e0, cond=<optimized out>, vector=0x0, count=0x0) at xcb_conn.c:459
#3  0x00007f03347e54bf in xcb_wait_for_event (c=0x7f031eed1cc0) at xcb_in.c:623
#4  0x00007f03207ee879 in QXcbEventReader::run (this=0x150d420) at qxcbconnection.cpp:1197
#5  0x00007f032fe82bd4 in QThreadPrivate::start (arg=0x150d420) at thread/qthread_unix.cpp:331
#6  0x00007f032ed74354 in start_thread () from /usr/lib/libpthread.so.0
#7  0x00007f032f789bfd in clone () from /usr/lib/libc.so.6

Thread 7 (Thread 0x7f0317fff700 (LWP 9239)):
#0  0x00007f032f780e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f032b9f1c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f032b9f1d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f03300803bb in QEventDispatcherGlib::processEvents (this=0x7f03100008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f033002c79a in QEventLoop::exec (this=this@entry=0x7f0317ffedb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f032fe7d6a3 in QThread::exec (this=this@entry=0x16410a0) at thread/qthread.cpp:503
#6  0x00007f03331e04a5 in QQmlThreadPrivate::run (this=0x16410a0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f032fe82bd4 in QThreadPrivate::start (arg=0x16410a0) at thread/qthread_unix.cpp:331
#8  0x00007f032ed74354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f032f789bfd in clone () from /usr/lib/libc.so.6

Thread 6 (Thread 0x7f030b1d1700 (LWP 9240)):
#0  0x00007f033008015d in postEventSourcePrepare (s=0x7f03040012d0, timeout=0x0) at kernel/qeventdispatcher_glib.cpp:246
#1  0x00007f032b9f1681 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#2  0x00007f032b9f1c20 in ?? () from /usr/lib/libglib-2.0.so.0
#3  0x00007f032b9f1d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#4  0x00007f03300803bb in QEventDispatcherGlib::processEvents (this=0x7f03040008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f033002c79a in QEventLoop::exec (this=this@entry=0x7f030b1d0db0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f032fe7d6a3 in QThread::exec (this=this@entry=0x2176820) at thread/qthread.cpp:503
#7  0x00007f03331e04a5 in QQmlThreadPrivate::run (this=0x2176820) at qml/ftw/qqmlthread.cpp:141
#8  0x00007f032fe82bd4 in QThreadPrivate::start (arg=0x2176820) at thread/qthread_unix.cpp:331
#9  0x00007f032ed74354 in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007f032f789bfd in clone () from /usr/lib/libc.so.6

Thread 5 (Thread 0x7f0303fff700 (LWP 9244)):
#0  0x00007f032f780e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f032b9f1c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f032b9f1d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f03300803bb in QEventDispatcherGlib::processEvents (this=0x7f02f80008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f033002c79a in QEventLoop::exec (this=this@entry=0x7f0303ffedb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f032fe7d6a3 in QThread::exec (this=this@entry=0x2336dd0) at thread/qthread.cpp:503
#6  0x00007f03331e04a5 in QQmlThreadPrivate::run (this=0x2336dd0) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f032fe82bd4 in QThreadPrivate::start (arg=0x2336dd0) at thread/qthread_unix.cpp:331
#8  0x00007f032ed74354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f032f789bfd in clone () from /usr/lib/libc.so.6

Thread 4 (Thread 0x7f0301ddd700 (LWP 9246)):
#0  0x00007f032f780e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f032b9f1c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f032b9f1d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f03300803bb in QEventDispatcherGlib::processEvents (this=0x7f02f40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f033002c79a in QEventLoop::exec (this=this@entry=0x7f0301ddcdb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f032fe7d6a3 in QThread::exec (this=this@entry=0x24b1420) at thread/qthread.cpp:503
#6  0x00007f03331e04a5 in QQmlThreadPrivate::run (this=0x24b1420) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f032fe82bd4 in QThreadPrivate::start (arg=0x24b1420) at thread/qthread_unix.cpp:331
#8  0x00007f032ed74354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f032f789bfd in clone () from /usr/lib/libc.so.6

Thread 3 (Thread 0x7f0263fff700 (LWP 9249)):
#0  0x00007f032ba363f9 in g_mutex_lock () from /usr/lib/libglib-2.0.so.0
#1  0x00007f032b9f1b7d in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f032b9f1d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f03300803bb in QEventDispatcherGlib::processEvents (this=0x7f025c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f033002c79a in QEventLoop::exec (this=this@entry=0x7f0263ffed70, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f032fe7d6a3 in QThread::exec (this=this@entry=0x2843b00) at thread/qthread.cpp:503
#6  0x00007f03338c5bc2 in QQuickPixmapReader::run (this=0x2843b00) at util/qquickpixmapcache.cpp:754
#7  0x00007f032fe82bd4 in QThreadPrivate::start (arg=0x2843b00) at thread/qthread_unix.cpp:331
#8  0x00007f032ed74354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f032f789bfd in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7f026ccac700 (LWP 9252)):
#0  0x00007f032f780e8d in poll () from /usr/lib/libc.so.6
#1  0x00007f032b9f1c7c in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f032b9f1d8c in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f03300803bb in QEventDispatcherGlib::processEvents (this=0x7f0264005fd0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f033002c79a in QEventLoop::exec (this=this@entry=0x7f026ccabdb0, flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f032fe7d6a3 in QThread::exec (this=this@entry=0x2845010) at thread/qthread.cpp:503
#6  0x00007f03331e04a5 in QQmlThreadPrivate::run (this=0x2845010) at qml/ftw/qqmlthread.cpp:141
#7  0x00007f032fe82bd4 in QThreadPrivate::start (arg=0x2845010) at thread/qthread_unix.cpp:331
#8  0x00007f032ed74354 in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007f032f789bfd in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7f0335fa5800 (LWP 9237)):
[KCrash Handler]
#5  data (this=0x10) at /usr/include/qt/QtCore/qsharedpointer_impl.h:588
#6  data (this=0x10) at /usr/include/qt/QtCore/qpointer.h:70
#7  operator Plasma::Containment* (this=0x10) at /usr/include/qt/QtCore/qpointer.h:76
#8  PlasmaQuick::View::containment (this=0x255af60) at /home/matthijs/plasma-framework/src/plasma-framework-5.12.0/src/plasmaquick/view.cpp:248
#9  0x000000000044ec46 in ShellCorona::screenForContainment(Plasma::Containment const*) const ()
#10 0x00007f0309745f20 in ContainmentInterface::availableScreenRect (this=0x24c5860) at /home/matthijs/plasma-framework/src/plasma-framework-5.12.0/src/scriptengines/qml/plasmoid/containmentinterface.cpp:223
#11 0x00007f030974f47d in ContainmentInterface::qt_static_metacall (_o=_o@entry=0x24c5860, _c=_c@entry=QMetaObject::ReadProperty, _id=_id@entry=5, _a=_a@entry=0x7ffd831feab0) at /home/matthijs/plasma-framework/src/build/src/scriptengines/qml/moc_containmentinterface.cpp:359
#12 0x00007f030974fc7b in ContainmentInterface::qt_metacall (this=0x24c5860, _c=QMetaObject::ReadProperty, _id=5, _a=0x7ffd831feab0) at /home/matthijs/plasma-framework/src/build/src/scriptengines/qml/moc_containmentinterface.cpp:417
#13 0x00007f03331d06fe in QV4::QQmlValueTypeReference::readReferenceValue (this=this@entry=0x7f0300dde0c0) at qml/qqmlvaluetypewrapper.cpp:161
#14 0x00007f03331d1522 in QV4::QQmlValueTypeWrapper::get (m=0x7f0300dde0c0, name=0x7f0300dde0b8, hasProperty=0x0) at qml/qqmlvaluetypewrapper.cpp:338
#15 0x00007f033312c62d in get (hasProperty=0x0, name=<optimized out>, this=<optimized out>) at jsruntime/qv4object_p.h:276
#16 QV4::Runtime::getProperty (engine=0x24c7dd0, object=..., nameIndex=<optimized out>) at jsruntime/qv4runtime.cpp:672
#17 0x00007f0300005f95 in ?? ()
#18 0x00007ffd831fecd0 in ?? ()
#19 0x00000000042d7cc0 in ?? ()
#20 0x000000000475bf80 in ?? ()
#21 0x00007f0330037599 in QMetaObjectPrivate::signal (m=0x2655920, signal_index=-2095059840) at kernel/qmetaobject.cpp:868
#22 0x00007f0300dde060 in ?? ()
#23 0x00000000024c7dd0 in ?? ()
#24 0x00007f03330ca5da in QV4::SimpleScriptFunction::call (that=<optimized out>, callData=0x7f0300dde008) at jsruntime/qv4functionobject.cpp:564
#25 0x00007f03331c32fb in call (d=0x7f0300dde008, this=<optimized out>) at ../../include/QtQml/5.5.0/QtQml/private/../../../../../src/qml/jsruntime/qv4object_p.h:302
#26 QQmlJavaScriptExpression::evaluate (this=this@entry=0x2683df0, context=<optimized out>, function=..., callData=callData@entry=0x7f0300dde008, isUndefined=isUndefined@entry=0x7ffd831feef0) at qml/qqmljavascriptexpression.cpp:158
#27 0x00007f03331c3b61 in QQmlJavaScriptExpression::evaluate (this=this@entry=0x2683df0, context=<optimized out>, function=..., isUndefined=isUndefined@entry=0x7ffd831feef0) at qml/qqmljavascriptexpression.cpp:116
#28 0x00007f03331cb05c in QQmlBinding::update (this=0x2683dd0, flags=...) at qml/qqmlbinding.cpp:194
#29 0x00007f03331cb7ee in update (this=<optimized out>) at qml/qqmlbinding_p.h:97
#30 QQmlBinding::expressionChanged (e=<optimized out>) at qml/qqmlbinding.cpp:260
#31 0x00007f03331a5ae7 in QQmlNotifier::emitNotify (endpoint=0x2684498, a=a@entry=0x0) at qml/qqmlnotifier.cpp:73
#32 0x00007f03331a5ac1 in QQmlNotifier::emitNotify (endpoint=0x2684508, a=a@entry=0x0) at qml/qqmlnotifier.cpp:68
#33 0x00007f03331a5ac1 in QQmlNotifier::emitNotify (endpoint=0x2684578, a=a@entry=0x0) at qml/qqmlnotifier.cpp:68
#34 0x00007f03331a5ac1 in QQmlNotifier::emitNotify (endpoint=0x26845e8, a=a@entry=0x0) at qml/qqmlnotifier.cpp:68
#35 0x00007f03331a5ac1 in QQmlNotifier::emitNotify (endpoint=0x27d2560, a=a@entry=0x0) at qml/qqmlnotifier.cpp:68
#36 0x00007f03331a5ac1 in QQmlNotifier::emitNotify (endpoint=0x27d2678, a=a@entry=0x0) at qml/qqmlnotifier.cpp:68
#37 0x00007f03331a5ac1 in QQmlNotifier::emitNotify (endpoint=0x27d26e8, a=a@entry=0x0) at qml/qqmlnotifier.cpp:68
#38 0x00007f033314a07c in QQmlData::signalEmitted (object=0x24c5860, index=64, a=0x0) at qml/qqmlengine.cpp:751
#39 0x00007f0330059e71 in QMetaObject::activate (sender=0x24c5860, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=0x0) at kernel/qobject.cpp:3604
#40 0x00007f033005a270 in call (a=0x7ffd831ff2f0, r=0x24c5860, this=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobject_impl.h:124
#41 QMetaObject::activate (sender=0x15cb770, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at kernel/qobject.cpp:3703
#42 0x0000000000450a94 in ShellCorona::containmentDeleted(QObject*) ()
#43 0x0000000000458a24 in ?? ()
#44 0x00007f033005a44d in QMetaObject::activate (sender=sender@entry=0x2297e70, signalOffset=<optimized out>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd831ff500) at kernel/qobject.cpp:3718
#45 0x00007f033005ab17 in QMetaObject::activate (sender=sender@entry=0x2297e70, m=m@entry=0x7f0330472b00 <QObject::staticMetaObject>, local_signal_index=local_signal_index@entry=0, argv=argv@entry=0x7ffd831ff500) at kernel/qobject.cpp:3583
#46 0x00007f033005abaf in QObject::destroyed (this=this@entry=0x2297e70, _t1=_t1@entry=0x2297e70) at .moc/moc_qobject.cpp:211
#47 0x00007f0330061a9d in QObject::~QObject (this=0x2297e70, __in_chrg=<optimized out>) at kernel/qobject.cpp:904
#48 0x00007f0334555549 in Plasma::Containment::~Containment (this=0x2297e70, __in_chrg=<optimized out>) at /home/matthijs/plasma-framework/src/plasma-framework-5.12.0/src/plasma/containment.cpp:94
#49 0x0000000000456166 in ShellCorona::~ShellCorona() ()
#50 0x00000000004563c9 in ShellCorona::~ShellCorona() ()
#51 0x00007f0330060eda in QObjectPrivate::deleteChildren (this=this@entry=0x15c3cc0) at kernel/qobject.cpp:1951
#52 0x00007f0330062037 in QObject::~QObject (this=<optimized out>, __in_chrg=<optimized out>) at kernel/qobject.cpp:1031
#53 0x000000000045df89 in ShellManager::~ShellManager() ()
#54 0x00007f033005b318 in QObject::event (this=0x15b55d0, e=<optimized out>) at kernel/qobject.cpp:1237
#55 0x00007f03313bea24 in QApplicationPrivate::notify_helper (this=this@entry=0x14f7eb0, receiver=receiver@entry=0x15b55d0, e=e@entry=0x4a10430) at kernel/qapplication.cpp:3717
#56 0x00007f03313c3c89 in QApplication::notify (this=0x7ffd831ffd00, receiver=0x15b55d0, e=0x4a10430) at kernel/qapplication.cpp:3500
#57 0x00007f033002dd4d in QCoreApplication::notifyInternal (this=0x7ffd831ffd00, receiver=0x15b55d0, event=event@entry=0x4a10430) at kernel/qcoreapplication.cpp:965
#58 0x00007f03300310ba in sendEvent (event=0x4a10430, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#59 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52, data=0x14ee4d0) at kernel/qcoreapplication.cpp:1593
#60 0x00007f03300314f8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=52) at kernel/qcoreapplication.cpp:1451
#61 0x00007f033003446a in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1236
#62 0x000000000042ed66 in main ()

Reported using DrKonqi
Comment 1 Andrew M 2015-08-10 11:45:44 UTC
Bug hits me as well, also on Arch Linux.
Easily reproduced by logging out or running "kquitapp5 plasmashell"

I have recompiled the needed packages for debugging yet I still only get 2 stars on DrKonqi.
Comment 2 Kai Uwe Broulik 2015-08-10 11:48:28 UTC

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