Bug 288398

Summary: plasma crash while resuming from suspend to RAM
Product: [Unmaintained] plasma4 Reporter: Laurent Bonnaud <L.Bonnaud>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, jarkko.poyry, r.oosterhoff
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: New crash information added by DrKonqi
New crash information added by DrKonqi

Description Laurent Bonnaud 2011-12-07 12:05:36 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.3 (4.7.3)
Qt Version: 4.7.4
Operating System: Linux 3.0.0-14-generic-pae i686
Distribution: Ubuntu 11.10

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

I was unlocking my laptop after resuming it from RAM.  Just after typing my password, I saw the drkonqi window.

-- Backtrace:
Application: Plasma Desktop Shell (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0xb1e95b20 (LWP 3068))]

Thread 3 (Thread 0xb02ffb70 (LWP 3070)):
#0  0xb75eaef7 in pthread_mutex_lock (mutex=0x9979e84) at forward.c:182
#1  0xb2eb0839 in g_main_context_poll (n_fds=3, fds=0x99785e0, timeout=<optimized out>, context=0x9979e80, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3397
#2  g_main_context_iterate (context=0x9979e80, block=-1218531616, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#3  0xb2eb0f9b in g_main_loop_run (loop=0x9979e70) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297
#4  0xb139bcea in gdbus_shared_thread_func (user_data=0x9979938) at /build/buildd/glib2.0-2.30.0/./gio/gdbusprivate.c:276
#5  0xb2ed75f4 in g_thread_create_proxy (data=0x9979f10) at /build/buildd/glib2.0-2.30.0/./glib/gthread.c:1962
#6  0xb2fcad31 in start_thread (arg=0xb02ffb70) at pthread_create.c:304
#7  0xb75dd0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 2 (Thread 0xae103b70 (LWP 3071)):
#0  0xb7738424 in __kernel_vsyscall ()
#1  0xb75ce40e in __GI___poll (fds=0x9f48868, nfds=1, timeout=-1) at ../sysdeps/unix/sysv/linux/poll.c:87
#2  0xb2ebf34b in g_poll (fds=0x9f48868, nfds=1, timeout=-1) at /build/buildd/glib2.0-2.30.0/./glib/gpoll.c:132
#3  0xb2eb0896 in g_main_context_poll (n_fds=1, fds=0x9f48868, timeout=<optimized out>, context=0x9f51e20, priority=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3402
#4  g_main_context_iterate (context=0x9f51e20, block=-1293159648, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3084
#5  0xb2eb0c2a in g_main_context_iteration (context=0x9f51e20, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#6  0xb6428b37 in QEventDispatcherGlib::processEvents (this=0x9f48720, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#7  0xb63f91dd in QEventLoop::processEvents (this=0xae1032a0, flags=...) at kernel/qeventloop.cpp:149
#8  0xb63f9421 in QEventLoop::exec (this=0xae1032a0, flags=...) at kernel/qeventloop.cpp:201
#9  0xb62fc90b in QThread::exec (this=0x9f52b70) at thread/qthread.cpp:498
#10 0xb63d9e2d in QInotifyFileSystemWatcherEngine::run (this=0x9f52b70) at io/qfilesystemwatcher_inotify.cpp:248
#11 0xb62ff7b3 in QThreadPrivate::start (arg=0x9f52b70) at thread/qthread_unix.cpp:331
#12 0xb2fcad31 in start_thread (arg=0xae103b70) at pthread_create.c:304
#13 0xb75dd0ce in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
Backtrace stopped: Not enough registers or memory available to unwind further

Thread 1 (Thread 0xb1e95b20 (LWP 3068)):
[KCrash Handler]
#7  0xb36b8423 in ~QExplicitlySharedDataPointer (this=0xa7a4f4c, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#8  Solid::Device::~Device (this=0xa7a4f4c, __in_chrg=<optimized out>) at ../../../solid/solid/device.cpp:87
#9  0xae30d30a in ~QHashNode (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#10 deleteNode2 (node=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:519
#11 deleteNode (node=<optimized out>, this=0x9ece144) at /usr/include/qt4/QtCore/qhash.h:507
#12 QHash<QString, Solid::Device>::remove (this=0x9ece144, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:795
#13 0xae30d46a in remove (akey=..., this=0x9ece144) at /usr/include/qt4/QtCore/qhash.h:784
#14 HotplugEngine::onDeviceRemoved (this=0x9ece130, udi=...) at ../../../../../plasma/generic/dataengines/hotplug/hotplugengine.cpp:241
#15 0xae30fb23 in HotplugEngine::qt_metacall (this=0x9ece130, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe06928) at ./hotplugengine.moc:81
#16 0xb6400b7d in metacall (argv=0xbfe06928, idx=25, cl=QMetaObject::InvokeMetaMethod, object=0x9ece130) at kernel/qmetaobject.cpp:237
#17 QMetaObject::metacall (object=0x9ece130, cl=QMetaObject::InvokeMetaMethod, idx=25, argv=0xbfe06928) at kernel/qmetaobject.cpp:232
#18 0xb640fa6a in QMetaObject::activate (sender=0x9f521b8, m=0xb376bf98, local_signal_index=1, argv=0xbfe06928) at kernel/qobject.cpp:3278
#19 0xb36b9a65 in Solid::DeviceNotifier::deviceRemoved (this=0x9f521b8, _t1=...) at ./devicenotifier.moc:94
#20 0xb36badb4 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x9f521b8, udi=...) at ../../../solid/solid/devicemanager.cpp:207
#21 0xb36bb5b3 in Solid::DeviceManagerPrivate::qt_metacall (this=0x9f521b8, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe06aa8) at ./devicemanager_p.moc:80
#22 0xb6400b7d in metacall (argv=0xbfe06aa8, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x9f521b8) at kernel/qmetaobject.cpp:237
#23 QMetaObject::metacall (object=0x9f521b8, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfe06aa8) at kernel/qmetaobject.cpp:232
#24 0xb640fa6a in QMetaObject::activate (sender=0x9f51a28, m=0xb376d06c, local_signal_index=1, argv=0xbfe06aa8) at kernel/qobject.cpp:3278
#25 0xb36d0cd5 in Solid::Ifaces::DeviceManager::deviceRemoved (this=0x9f51a28, _t1=...) at ./ifaces/devicemanager.moc:94
#26 0xb371a548 in slotDeviceRemoved (opath=<optimized out>, this=0x9f51a28) at ../../../solid/solid/backends/upower/upowermanager.cpp:164
#27 Solid::Backends::UPower::UPowerManager::qt_metacall (this=0x9f51a28, _c=QMetaObject::InvokeMetaMethod, _id=<optimized out>, _a=0xbfe06d0c) at ./backends/upower/upowermanager.moc:78
#28 0xb6400b7d in metacall (argv=0xbfe06d0c, idx=7, cl=QMetaObject::InvokeMetaMethod, object=0x9f51a28) at kernel/qmetaobject.cpp:237
#29 QMetaObject::metacall (object=0x9f51a28, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfe06d0c) at kernel/qmetaobject.cpp:232
#30 0xb640fa6a in QMetaObject::activate (sender=0x9f51a34, m=0x9ece838, local_signal_index=4, argv=0xbfe06d0c) at kernel/qobject.cpp:3278
#31 0xb6569110 in QDBusInterfacePrivate::metacall (this=0x9f48448, c=QMetaObject::InvokeMetaMethod, id=4, argv=0xbfe06d0c) at qdbusinterface.cpp:278
#32 0xb6553d87 in QDBusConnectionPrivate::deliverCall (this=0x9a5bd28, object=0x9f51a34, msg=..., metaTypes=..., slotIdx=166176360) at qdbusintegrator.cpp:942
#33 0xb655dc26 in QDBusCallDeliveryEvent::placeMetaCall (this=0xa759c48, object=0x9f51a34) at qdbusintegrator_p.h:103
#34 0xb6412b52 in QObject::event (this=0x9f51a34, e=0xa759c48) at kernel/qobject.cpp:1217
#35 0xb5925d54 in notify_helper (e=0xa759c48, receiver=0x9f51a34, this=0x98cde80) at kernel/qapplication.cpp:4486
#36 QApplicationPrivate::notify_helper (this=0x98cde80, receiver=0x9f51a34, e=0xa759c48) at kernel/qapplication.cpp:4458
#37 0xb592b103 in QApplication::notify (this=0xa759c48, receiver=0x9f51a34, e=0xa759c48) at kernel/qapplication.cpp:3886
#38 0xb6a5f681 in KApplication::notify (this=0x98b1890, receiver=0x9f51a34, event=0xa759c48) at ../../kdeui/kernel/kapplication.cpp:311
#39 0xb63fa19e in QCoreApplication::notifyInternal (this=0x98b1890, receiver=0x9f51a34, event=0xa759c48) at kernel/qcoreapplication.cpp:787
#40 0xb63fdf93 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#41 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x98632e0) at kernel/qcoreapplication.cpp:1428
#42 0xb63fe0ec in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1321
#43 0xb64286a4 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#44 postEventSourceDispatch (s=0x98c2d20) at kernel/qeventdispatcher_glib.cpp:277
#45 0xb2eb025f in g_main_dispatch (context=0x98c2c90) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441
#46 g_main_context_dispatch (context=0x98c2c90) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011
#47 0xb2eb0990 in g_main_context_iterate (context=0x98c2c90, block=-1293159648, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089
#48 0xb2eb0c2a in g_main_context_iteration (context=0x98c2c90, may_block=1) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3152
#49 0xb6428ada in QEventDispatcherGlib::processEvents (this=0x98b4d40, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#50 0xb59dde3a in QGuiEventDispatcherGlib::processEvents (this=0x98b4d40, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#51 0xb63f91dd in QEventLoop::processEvents (this=0xbfe073a4, flags=...) at kernel/qeventloop.cpp:149
#52 0xb63f9421 in QEventLoop::exec (this=0xbfe073a4, flags=...) at kernel/qeventloop.cpp:201
#53 0xb63fe19d in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1064
#54 0xb59238f4 in QApplication::exec () at kernel/qapplication.cpp:3760
#55 0xb76ed18b in kdemain (argc=1, argv=0xbfe075a4) at ../../../../plasma/desktop/shell/main.cpp:120
#56 0x0804850b in main (argc=1, argv=0xbfe075a4) at plasma-desktop_dummy.cpp:3

This bug may be a duplicate of or related to bug 278141.

Possible duplicates by query: bug 287413, bug 286583, bug 286434, bug 286318, bug 286237.

Reported using DrKonqi
Comment 1 Jekyll Wu 2011-12-07 12:25:00 UTC

*** This bug has been marked as a duplicate of bug 266383 ***
Comment 2 r.oosterhoff 2011-12-09 09:26:02 UTC
Created attachment 66533 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed: I logged in after I suspended the system to sleep.

-- Backtrace (Reduced):
#12 0x00007f40c2224d56 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/libQtCore.so.4
#13 0x00007f40c2228de7 in QCoreApplication::exec() () from /usr/lib64/libQtCore.so.4
#14 0x00007f40b0d6b773 in kdemain () from /usr/lib64/libkdeinit4_plasma-desktop.so
#15 0x0000000000408897 in _start ()
Comment 3 Jarkko Pöyry 2011-12-11 13:42:37 UTC
Created attachment 66626 [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:
woke computer from sleep mode (suspend to ram) and unlocked screen. Then crash handler appeared.

-- Backtrace (Reduced):
#7  0x00007fba802cfee1 in ~QHashNode (this=0x2e5be80, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#8  deleteNode2 (node=0x2e5be80) at /usr/include/qt4/QtCore/qhash.h:519
#9  deleteNode (node=0x2e5be80, this=0x260f7f8) at /usr/include/qt4/QtCore/qhash.h:507
#10 QHash<QString, Solid::Device>::remove (this=0x260f7f8, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:795
#11 0x00007fba802d003c in remove (akey=..., this=0x260f7f8) at /usr/include/qt4/QtCore/qhash.h:784