Bug 286583

Summary: Crash when resuming from sleep
Product: [Plasma] plasma4 Reporter: Marcus U <unclemarcus91>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: a.pronobis, asraniel, atalanttore, dreibh, ron, volcheck
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Marcus U 2011-11-14 12:07:03 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.2 (4.7.2)
Qt Version: 4.8.0
Operating System: Linux 3.1.0-7.fc16.x86_64 x86_64
Distribution (Platform): Fedora RPMs

-- Information about the crash:
- What I was doing when the application crashed:
Resumed from sleep (suspend to RAM), typed in password to unlock the screen. The crash message was already there.

- Unusual behavior I noticed:
I had previouly tried custom window decorations (using the addon installer in system settings) and, but all of them would glitch when resizing/moving (the window would jump to the top-left corner among other oddities). I wouldn't think these are connected though.

The crash does not seem to be reproducible.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
82	T_PSEUDO (SYSCALL_SYMBOL, SYSCALL_NAME, SYSCALL_NARGS)
[Current thread is 1 (Thread 0x7f3b5d0a5840 (LWP 1544))]

Thread 5 (Thread 0x7f3b41fff700 (LWP 2638)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f04a7c02b in wait (time=18446744073709551615, this=0x22072d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2214a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003f1060aa8b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21e9de0, th=0x23e4b90) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f1060d37b in ThreadWeaver::WorkingHardState::applyForWork (this=0x21de440, th=0x23e4b90) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f1060c1ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f3b41ffed60, parent=0x21e9de0, th=0x23e4b90) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003f1060c27b in ThreadWeaver::Thread::run (this=0x23e4b90) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003f04a7bb1b in QThreadPrivate::start (arg=0x23e4b90) at thread/qthread_unix.cpp:298
#8  0x0000003efaa07d90 in start_thread (arg=0x7f3b41fff700) at pthread_create.c:309
#9  0x0000003efa2eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 4 (Thread 0x7f3b40f0b700 (LWP 2639)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f04a7c02b in wait (time=18446744073709551615, this=0x22072d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2214a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003f1060aa8b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21e9de0, th=0x38197f0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f1060d37b in ThreadWeaver::WorkingHardState::applyForWork (this=0x21de440, th=0x38197f0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f1060c1ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f3b40f0ad60, parent=0x21e9de0, th=0x38197f0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003f1060c27b in ThreadWeaver::Thread::run (this=0x38197f0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003f04a7bb1b in QThreadPrivate::start (arg=0x38197f0) at thread/qthread_unix.cpp:298
#8  0x0000003efaa07d90 in start_thread (arg=0x7f3b40f0b700) at pthread_create.c:309
#9  0x0000003efa2eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 3 (Thread 0x7f3b4306b700 (LWP 2640)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f04a7c02b in wait (time=18446744073709551615, this=0x22072d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2214a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003f1060aa8b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21e9de0, th=0x33384e0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f1060d37b in ThreadWeaver::WorkingHardState::applyForWork (this=0x21de440, th=0x33384e0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f1060c1ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f3b4306ad60, parent=0x21e9de0, th=0x33384e0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003f1060c27b in ThreadWeaver::Thread::run (this=0x33384e0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003f04a7bb1b in QThreadPrivate::start (arg=0x33384e0) at thread/qthread_unix.cpp:298
#8  0x0000003efaa07d90 in start_thread (arg=0x7f3b4306b700) at pthread_create.c:309
#9  0x0000003efa2eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 2 (Thread 0x7f3b331b6700 (LWP 2641)):
#0  pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:165
#1  0x0000003f04a7c02b in wait (time=18446744073709551615, this=0x22072d0) at thread/qwaitcondition_unix.cpp:86
#2  QWaitCondition::wait (this=<optimized out>, mutex=0x2214a00, time=18446744073709551615) at thread/qwaitcondition_unix.cpp:158
#3  0x0000003f1060aa8b in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x21e9de0, th=0x2051cf0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0x0000003f1060d37b in ThreadWeaver::WorkingHardState::applyForWork (this=0x21de440, th=0x2051cf0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/WorkingHardState.cpp:71
#5  0x0000003f1060c1ef in ThreadWeaver::ThreadRunHelper::run (this=0x7f3b331b5d60, parent=0x21e9de0, th=0x2051cf0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:87
#6  0x0000003f1060c27b in ThreadWeaver::Thread::run (this=0x2051cf0) at /usr/src/debug/kdelibs-4.7.2/threadweaver/Weaver/Thread.cpp:142
#7  0x0000003f04a7bb1b in QThreadPrivate::start (arg=0x2051cf0) at thread/qthread_unix.cpp:298
#8  0x0000003efaa07d90 in start_thread (arg=0x7f3b331b6700) at pthread_create.c:309
#9  0x0000003efa2eeddd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:115

Thread 1 (Thread 0x7f3b5d0a5840 (LWP 1544)):
[KCrash Handler]
#6  0x0000003f0ca355ae in ~QExplicitlySharedDataPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qshareddata.h:166
#7  Solid::Device::~Device (this=<optimized out>, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/solid/solid/device.cpp:87
#8  0x00007f3b43287e91 in ~QHashNode (this=0x301d7c0, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:216
#9  deleteNode2 (node=0x301d7c0) at /usr/include/QtCore/qhash.h:521
#10 deleteNode (node=0x301d7c0, this=0x2f6dc98) at /usr/include/QtCore/qhash.h:511
#11 QHash<QString, Solid::Device>::remove (this=0x2f6dc98, akey=<optimized out>) at /usr/include/QtCore/qhash.h:797
#12 0x00007f3b43287fec in remove (akey=..., this=0x2f6dc98) at /usr/include/QtCore/qhash.h:786
#13 HotplugEngine::onDeviceRemoved (this=0x2f6dc70, udi=...) at /usr/src/debug/kdebase-workspace-4.7.2/kdebase-workspace-4.7.2/plasma/generic/dataengines/hotplug/hotplugengine.cpp:241
#14 0x0000003f04b8b7d1 in QMetaObject::activate (sender=0x2048cc0, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffdba06f0) at kernel/qobject.cpp:3546
#15 0x0000003f0ca36815 in Solid::DeviceNotifier::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/x86_64-redhat-linux-gnu/solid/solid/devicenotifier.moc:108
#16 0x0000003f0ca3771d in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x2048cc0, udi=...) at /usr/src/debug/kdelibs-4.7.2/solid/solid/devicemanager.cpp:207
#17 0x0000003f04b8b7d1 in QMetaObject::activate (sender=0x21ccf80, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffdba08e0) at kernel/qobject.cpp:3546
#18 0x0000003f0ca4abf5 in Solid::Ifaces::DeviceManager::deviceRemoved (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kdelibs-4.7.2/x86_64-redhat-linux-gnu/solid/solid/ifaces/devicemanager.moc:108
#19 0x0000003f04b8b7d1 in QMetaObject::activate (sender=0x21ccf98, m=<optimized out>, local_signal_index=<optimized out>, argv=0x7ffffdba0c80) at kernel/qobject.cpp:3546
#20 0x0000003f05c370bd in QDBusInterfacePrivate::metacall (this=0x21cef00, c=<optimized out>, id=4, argv=0x7ffffdba0c80) at qdbusinterface.cpp:278
#21 0x0000003f05c22ccb in QDBusConnectionPrivate::deliverCall (this=0x1e48e00, object=0x21ccf98, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:947
#22 0x0000003f04b909e6 in QObject::event (this=0x21ccf98, e=<optimized out>) at kernel/qobject.cpp:1194
#23 0x0000003f073c96f4 in notify_helper (e=0x5178d60, receiver=0x21ccf98, this=0x1cf6bf0) at kernel/qapplication.cpp:4518
#24 QApplicationPrivate::notify_helper (this=0x1cf6bf0, receiver=0x21ccf98, e=0x5178d60) at kernel/qapplication.cpp:4490
#25 0x0000003f073ce573 in QApplication::notify (this=0x1ce83a0, receiver=0x21ccf98, e=0x5178d60) at kernel/qapplication.cpp:4379
#26 0x0000003f09250396 in KApplication::notify (this=0x1ce83a0, receiver=0x21ccf98, event=0x5178d60) at /usr/src/debug/kdelibs-4.7.2/kdeui/kernel/kapplication.cpp:311
#27 0x0000003f04b77b4c in QCoreApplication::notifyInternal (this=0x1ce83a0, receiver=0x21ccf98, event=0x5178d60) at kernel/qcoreapplication.cpp:876
#28 0x0000003f04b7b5da in sendEvent (event=0x5178d60, receiver=0x21ccf98) at kernel/qcoreapplication.h:231
#29 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x1c91740) at kernel/qcoreapplication.cpp:1500
#30 0x0000003f04ba6403 in sendPostedEvents () at kernel/qcoreapplication.h:236
#31 postEventSourceDispatch (s=0x1cfae50) at kernel/qeventdispatcher_glib.cpp:279
#32 0x0000003ef9e44a7d in g_main_dispatch (context=0x1cf9ce0) at gmain.c:2425
#33 g_main_context_dispatch (context=0x1cf9ce0) at gmain.c:2995
#34 0x0000003ef9e45278 in g_main_context_iterate (context=0x1cf9ce0, block=<optimized out>, dispatch=1, self=<optimized out>) at gmain.c:3073
#35 0x0000003ef9e4544c in g_main_context_iteration (context=0x1cf9ce0, may_block=1) at gmain.c:3136
#36 0x0000003f04ba682f in QEventDispatcherGlib::processEvents (this=0x1c92c00, flags=<optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#37 0x0000003f0746c43e in QGuiEventDispatcherGlib::processEvents (this=<optimized out>, flags=<optimized out>) at kernel/qguieventdispatcher_glib.cpp:207
#38 0x0000003f04b76c82 in QEventLoop::processEvents (this=<optimized out>, flags=...) at kernel/qeventloop.cpp:149
#39 0x0000003f04b76ed7 in QEventLoop::exec (this=0x7ffffdba1640, flags=...) at kernel/qeventloop.cpp:204
#40 0x0000003f04b7b8d5 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#41 0x0000003f15c41263 in kdemain (argc=1, argv=0x7ffffdba1a28) at /usr/src/debug/kdebase-workspace-4.7.2/kdebase-workspace-4.7.2/plasma/desktop/shell/main.cpp:120
#42 0x0000003efa22169d in __libc_start_main (main=0x400870 <main(int, char**)>, argc=1, ubp_av=0x7ffffdba1a28, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffffdba1a18) at libc-start.c:226
#43 0x00000000004008a1 in _start ()

This bug may be a duplicate of or related to bug 286434, bug 285340, bug 277964, bug 276585.

Possible duplicates by query: bug 286434, bug 286318, bug 286237, bug 285340, bug 283797.

Reported using DrKonqi
Comment 1 a.pronobis 2011-11-17 08:23:22 UTC
Created attachment 65772 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:
The laptop was resumed from sleep. When the display was enabled, the crash report was already present on the screen.

-- Backtrace (Reduced):
#7  0x00007fde49b1eee1 in ~QHashNode (this=0x1f61630, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#8  deleteNode2 (node=0x1f61630) at /usr/include/qt4/QtCore/qhash.h:519
#9  deleteNode (node=0x1f61630, this=0x1be3338) at /usr/include/qt4/QtCore/qhash.h:507
#10 QHash<QString, Solid::Device>::remove (this=0x1be3338, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:795
#11 0x00007fde49b1f03c in remove (akey=..., this=0x1be3338) at /usr/include/qt4/QtCore/qhash.h:784
Comment 2 Thomas Dreibholz 2011-11-18 18:07:46 UTC
Created attachment 65826 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Plasma (KDE 4.7.3, Kubuntu 11.10, 64 bit) has crashed after resuming laptop from suspend mode.

-- Backtrace (Reduced):
#6  0x00007fa6af82733e in ~QExplicitlySharedDataPointer (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#7  Solid::Device::~Device (this=<optimized out>, __in_chrg=<optimized out>) at ../../../solid/solid/device.cpp:87
#8  0x00007fa688280ee1 in ~QHashNode (this=0x2a8f660, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#9  deleteNode2 (node=0x2a8f660) at /usr/include/qt4/QtCore/qhash.h:519
#10 deleteNode (node=0x2a8f660, this=0x3455788) at /usr/include/qt4/QtCore/qhash.h:507
Comment 3 Ettore Atalan 2011-11-19 23:25:46 UTC
Created attachment 65855 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.3 (4.7.3) using Qt 4.7.4

- What I was doing when the application crashed:

Resuming from suspend-to-disk causes Plasma desktop to crash.

-- Backtrace (Reduced):
#7  0x00007f85f9ff9ee1 in ~QHashNode (this=0x32e4790, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#8  deleteNode2 (node=0x32e4790) at /usr/include/qt4/QtCore/qhash.h:519
#9  deleteNode (node=0x32e4790, this=0x2b7b538) at /usr/include/qt4/QtCore/qhash.h:507
#10 QHash<QString, Solid::Device>::remove (this=0x2b7b538, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:795
#11 0x00007f85f9ffa03c in remove (akey=..., this=0x2b7b538) at /usr/include/qt4/QtCore/qhash.h:784
Comment 4 Beat Wolf 2011-11-20 21:22:05 UTC

*** This bug has been marked as a duplicate of bug 278141 ***
Comment 5 Beat Wolf 2011-11-23 07:49:10 UTC
*** Bug 287341 has been marked as a duplicate of this bug. ***
Comment 6 Emil Volcheck 2011-12-13 02:03:57 UTC
Created attachment 66679 [details]
New crash information added by DrKonqi

plasma-desktop (0.4) on KDE Platform 4.7.2 (4.7.2) using Qt 4.7.4

- What I was doing when the application crashed:
Resumed from sleep, entered my password, and the error dialogue box was already there or appeared immediately.

-- Backtrace (Reduced):
#8  0xb3802426 in ~QExplicitlySharedDataPointer (this=0x9ce1574, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#9  Solid::Device::~Device (this=0x9ce1574, __in_chrg=<optimized out>) at ../../../solid/solid/device.cpp:87
#10 0xaaa1d30a in ~QHashNode (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#11 deleteNode2 (node=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:519
#12 deleteNode (node=<optimized out>, this=0x9ed4d34) at /usr/include/qt4/QtCore/qhash.h:507