https://bugs.kde.org/show_bug.cgi?id=363545

            Bug ID: 363545
           Summary: Turning on the screen crashes plasmashell
           Product: plasmashell
           Version: 5.4.3
          Platform: Debian testing
                OS: Linux
            Status: UNCONFIRMED
          Keywords: drkonqi
          Severity: crash
          Priority: NOR
         Component: general
          Assignee: k...@davidedmundson.co.uk
          Reporter: fgou...@codeweavers.com
                CC: bhus...@gmail.com, plasma-b...@kde.org

Application: plasmashell (5.4.3)

Qt Version: 5.5.1
Operating System: Linux 4.5.0-1-amd64 x86_64
Distribution: Debian GNU/Linux testing (stretch)

-- Information about the crash:
Whenever I turn *on* the screen plasmashell crashes. Here is how to reproduce
this:
 * Start computer, login, etc.
   At this point you could log in remotely via ssh and start gdb on the
plasmashell process.
 * Turn off the screen.
 * Wait a few seconds, all is well (no crash in gdb).
 * Turn on the screen.
 * plasmashell crashes (see the gdb session).

This is 100% reproducible.
Fortunately most of the time plasmashell restarts properly. But combined with
the other crashes I get daily (see bug 356385), I get at least one
unrecoverable plasmashell crash per day. And this has been going on for 6
months now!

-- Backtrace:
Application: Plasma (plasmashell), signal: Segmentation fault
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f09a0445940 (LWP 26262))]

Thread 7 (Thread 0x7f098a928700 (LWP 26263)):
#0  0x00007f099ab8ae5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f099ec42382 in ?? () from /usr/lib/x86_64-linux-gnu/libxcb.so.1
#2  0x00007f099ec43ff7 in xcb_wait_for_event () from
/usr/lib/x86_64-linux-gnu/libxcb.so.1
#3  0x00007f098bc1f789 in QXcbEventReader::run (this=0x1a28540) at
qxcbconnection.cpp:1230
#4  0x00007f099b2747fe in QThreadPrivate::start (arg=0x1a28540) at
thread/qthread_unix.cpp:331
#5  0x00007f099a393454 in start_thread (arg=0x7f098a928700) at
pthread_create.c:334
#6  0x00007f099ab93eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 6 (Thread 0x7f0983fff700 (LWP 26264)):
#0  0x00007f099ab8ae5d in poll () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f099793639c in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f09979364ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f099b4aba5b in QEventDispatcherGlib::processEvents
(this=0x7f097c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#4  0x00007f099b452d6a in QEventLoop::exec (this=this@entry=0x7f0983ffec60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#5  0x00007f099b26f854 in QThread::exec (this=this@entry=0x1b0b0e0) at
thread/qthread.cpp:503
#6  0x00007f099db02105 in QQmlThreadPrivate::run (this=0x1b0b0e0) at
qml/ftw/qqmlthread.cpp:141
#7  0x00007f099b2747fe in QThreadPrivate::start (arg=0x1b0b0e0) at
thread/qthread_unix.cpp:331
#8  0x00007f099a393454 in start_thread (arg=0x7f0983fff700) at
pthread_create.c:334
#9  0x00007f099ab93eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 5 (Thread 0x7f097a6aa700 (LWP 26265)):
#0  QBasicAtomicOps<8>::testAndSetRelaxed<QMutexData*> (currentValue=<synthetic
pointer>, newValue=0x0, expectedValue=0x1, _q_value=@0x1dfba38: 0x0) at
../../include/QtCore/../../src/corelib/arch/qatomic_x86.h:259
#1  QGenericAtomicOps<QBasicAtomicOps<8> >::testAndSetRelease<QMutexData*,
QMutexData*> (currentValue=<synthetic pointer>, newValue=0x0,
expectedValue=<optimized out>, _q_value=@0x1dfba38: 0x0) at
../../include/QtCore/../../src/corelib/thread/qgenericatomic.h:175
#2  QBasicAtomicPointer<QMutexData>::testAndSetRelease (currentValue=<synthetic
pointer>, newValue=0x0, expectedValue=<optimized out>,
this=this@entry=0x1dfba38) at
../../include/QtCore/../../src/corelib/thread/qbasicatomic.h:278
#3  QBasicMutex::fastTryUnlock (current=<synthetic pointer>,
this=this@entry=0x1dfba38) at thread/qmutex.h:85
#4  QMutex::unlock (this=this@entry=0x1dfba38) at thread/qmutex.cpp:264
#5  0x00007f099b4aaff1 in QMutexLocker::unlock (this=<synthetic pointer>) at
../../include/QtCore/../../src/corelib/thread/qmutex.h:138
#6  QMutexLocker::~QMutexLocker (this=<synthetic pointer>, __in_chrg=<optimized
out>) at ../../include/QtCore/../../src/corelib/thread/qmutex.h:132
#7  QThreadData::canWaitLocked (this=0x1dfba10) at
../../include/QtCore/5.5.1/QtCore/private/../../../../../src/corelib/thread/qthread_p.h:240
#8  postEventSourcePrepare (s=0x7f09740012d0, timeout=0x7f097a6a9aa4) at
kernel/qeventdispatcher_glib.cpp:254
#9  0x00007f099793592d in g_main_context_prepare () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#10 0x00007f09979362cb in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#11 0x00007f09979364ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#12 0x00007f099b4aba5b in QEventDispatcherGlib::processEvents
(this=0x7f09740008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#13 0x00007f099b452d6a in QEventLoop::exec (this=this@entry=0x7f097a6a9c60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#14 0x00007f099b26f854 in QThread::exec (this=this@entry=0x1e5c890) at
thread/qthread.cpp:503
#15 0x00007f099db02105 in QQmlThreadPrivate::run (this=0x1e5c890) at
qml/ftw/qqmlthread.cpp:141
#16 0x00007f099b2747fe in QThreadPrivate::start (arg=0x1e5c890) at
thread/qthread_unix.cpp:331
#17 0x00007f099a393454 in start_thread (arg=0x7f097a6aa700) at
pthread_create.c:334
#18 0x00007f099ab93eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 4 (Thread 0x7f0973fff700 (LWP 26269)):
#0  0x00007f099797aae4 in g_mutex_unlock () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#1  0x00007f0997935f3a in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0997936400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f09979364ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f099b4aba5b in QEventDispatcherGlib::processEvents
(this=0x7f096c0008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#5  0x00007f099b452d6a in QEventLoop::exec (this=this@entry=0x7f0973ffec60,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#6  0x00007f099b26f854 in QThread::exec (this=this@entry=0x1edab50) at
thread/qthread.cpp:503
#7  0x00007f099db02105 in QQmlThreadPrivate::run (this=0x1edab50) at
qml/ftw/qqmlthread.cpp:141
#8  0x00007f099b2747fe in QThreadPrivate::start (arg=0x1edab50) at
thread/qthread_unix.cpp:331
#9  0x00007f099a393454 in start_thread (arg=0x7f0973fff700) at
pthread_create.c:334
#10 0x00007f099ab93eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 3 (Thread 0x7f0972bd8700 (LWP 26270)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at
../sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185
#1  0x00007f099feaf1c4 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#2  0x00007f099feaf209 in ?? () from
/usr/lib/x86_64-linux-gnu/libQt5Script.so.5
#3  0x00007f099a393454 in start_thread (arg=0x7f0972bd8700) at
pthread_create.c:334
#4  0x00007f099ab93eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 2 (Thread 0x7f08ebfff700 (LWP 26271)):
#0  0x00007f099ab86e3d in read () at ../sysdeps/unix/syscall-template.S:84
#1  0x00007f0997979740 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007f0997935e84 in g_main_context_check () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007f0997936340 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#4  0x00007f09979364ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007f099b4aba5b in QEventDispatcherGlib::processEvents
(this=0x7f08e40008c0, flags=...) at kernel/qeventdispatcher_glib.cpp:420
#6  0x00007f099b452d6a in QEventLoop::exec (this=this@entry=0x7f08ebffec10,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#7  0x00007f099b26f854 in QThread::exec (this=this@entry=0x21b1af0) at
thread/qthread.cpp:503
#8  0x00007f099e48a136 in QQuickPixmapReader::run (this=0x21b1af0) at
util/qquickpixmapcache.cpp:760
#9  0x00007f099b2747fe in QThreadPrivate::start (arg=0x21b1af0) at
thread/qthread_unix.cpp:331
#10 0x00007f099a393454 in start_thread (arg=0x7f08ebfff700) at
pthread_create.c:334
#11 0x00007f099ab93eed in clone () at
../sysdeps/unix/sysv/linux/x86_64/clone.S:109

Thread 1 (Thread 0x7f09a0445940 (LWP 26262)):
[KCrash Handler]
#6  QXcbScreen::mapToNative (this=this@entry=0x0, rect=...) at
qxcbscreen.cpp:267
#7  0x00007f098bc35713 in QXcbWindow::mapToNative (this=<optimized out>,
rect=..., screen=0x0) at qxcbwindow.cpp:199
#8  0x00007f098bc36f8b in QXcbWindow::propagateSizeHints (this=0x409be70) at
qxcbwindow.cpp:1618
#9  0x00007f098bc3c14c in QXcbWindow::setGeometry (this=0x409be70, rect=...) at
qxcbwindow.cpp:713
#10 0x00007f099b79d364 in QWindow::setPosition (this=0x46b71a0, pt=...) at
kernel/qwindow.cpp:1537
#11 0x00007f099ffdd414 in PlasmaQuick::Dialog::setVisible(bool) () from
/usr/lib/x86_64-linux-gnu/libKF5PlasmaQuick.so.5
#12 0x00007f0982dbbffe in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#13 0x00007f0982da0f46 in ?? () from
/usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/plasma/core/libcorebindingsplugin.so
#14 0x00007f099b484e80 in QObject::event (this=this@entry=0x47319a0,
e=e@entry=0x3ca6c10) at kernel/qobject.cpp:1230
#15 0x00007f099e51b55b in QQuickItem::event (this=0x47319a0, ev=0x3ca6c10) at
items/qquickitem.cpp:7317
#16 0x00007f099bf57ffc in QApplicationPrivate::notify_helper
(this=this@entry=0x1a14190, receiver=receiver@entry=0x47319a0,
e=e@entry=0x3ca6c10) at kernel/qapplication.cpp:3716
#17 0x00007f099bf5d4b6 in QApplication::notify (this=0x7ffcd0f22030,
receiver=0x47319a0, e=0x3ca6c10) at kernel/qapplication.cpp:3499
#18 0x00007f099b4555ab in QCoreApplication::notifyInternal
(this=0x7ffcd0f22030, receiver=0x47319a0, event=event@entry=0x3ca6c10) at
kernel/qcoreapplication.cpp:965
#19 0x00007f099b4579a6 in QCoreApplication::sendEvent (event=0x3ca6c10,
receiver=<optimized out>) at
../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:224
#20 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0,
event_type=event_type@entry=0, data=0x1a0a600) at
kernel/qcoreapplication.cpp:1593
#21 0x00007f099b457e88 in QCoreApplication::sendPostedEvents
(receiver=receiver@entry=0x0, event_type=event_type@entry=0) at
kernel/qcoreapplication.cpp:1451
#22 0x00007f099b4ab633 in postEventSourceDispatch (s=0x1a4bdf0) at
kernel/qeventdispatcher_glib.cpp:271
#23 0x00007f09979361a7 in g_main_context_dispatch () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#24 0x00007f0997936400 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#25 0x00007f09979364ac in g_main_context_iteration () from
/lib/x86_64-linux-gnu/libglib-2.0.so.0
#26 0x00007f099b4aba3f in QEventDispatcherGlib::processEvents (this=0x1a520f0,
flags=...) at kernel/qeventdispatcher_glib.cpp:418
#27 0x00007f099b452d6a in QEventLoop::exec (this=this@entry=0x7ffcd0f21eb0,
flags=..., flags@entry=...) at kernel/qeventloop.cpp:204
#28 0x00007f099b45ae0c in QCoreApplication::exec () at
kernel/qcoreapplication.cpp:1229
#29 0x00007f099b78e8bc in QGuiApplication::exec () at
kernel/qguiapplication.cpp:1527
#30 0x00007f099bf54435 in QApplication::exec () at kernel/qapplication.cpp:2976
#31 0x0000000000431b03 in main (argc=1, argv=<optimized out>) at
/build/plasma-workspace-KFkJSD/plasma-workspace-5.4.3/shell/main.cpp:176

Possible duplicates by query: bug 362752, bug 362514, bug 362073, bug 361315,
bug 361243.

Reported using DrKonqi

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to