Bug 283263

Summary: Plasma crash on suspend to ram
Product: [Plasma] plasma4 Reporter: FK <florian1kraus>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kde, mail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description FK 2011-10-03 18:32:59 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.7.1 (4.7.1)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-11-generic x86_64
Distribution: Ubuntu 11.04

-- Information about the crash:
- What I was doing when the application crashed:
I tried to suspend to ram, however it never reached this state. After some time I recognized that the machine was still on.

The crash can be reproduced some of the time.

-- Backtrace:
Application: Plasma-Desktop-Umgebung (plasma-desktop), signal: Segmentation fault
[Current thread is 1 (Thread 0x7fe9550c27a0 (LWP 1842))]

Thread 4 (Thread 0x7fe93054b700 (LWP 1855)):
#0  0x00007fe9549b2f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe9493da104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe9493da639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe951bc8446 in QEventDispatcherGlib::processEvents (this=0x1b436c0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fe951b9c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe951b9cabc in QEventLoop::exec (this=0x7fe93054adb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fe951ab3924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fe951b7ec2f in QInotifyFileSystemWatcherEngine::run (this=0x1b46ba0) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe951ab6175 in QThreadPrivate::start (arg=0x1b46ba0) at thread/qthread_unix.cpp:320
#9  0x00007fe949ee1d8c in start_thread (arg=0x7fe93054b700) at pthread_create.c:304
#10 0x00007fe9549c004d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 3 (Thread 0x7fe92b8fe700 (LWP 1923)):
#0  0x00007fe9549b2f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe9493da104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe9493da639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe951bc8446 in QEventDispatcherGlib::processEvents (this=0x1f74a80, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:424
#4  0x00007fe951b9c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007fe951b9cabc in QEventLoop::exec (this=0x7fe92b8fddb0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007fe951ab3924 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:492
#7  0x00007fe951b7ec2f in QInotifyFileSystemWatcherEngine::run (this=0x1f73f50) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007fe951ab6175 in QThreadPrivate::start (arg=0x1f73f50) at thread/qthread_unix.cpp:320
#9  0x00007fe949ee1d8c in start_thread (arg=0x7fe92b8fe700) at pthread_create.c:304
#10 0x00007fe9549c004d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#11 0x0000000000000000 in ?? ()

Thread 2 (Thread 0x7fe920f01700 (LWP 1931)):
#0  0x00007fe9549b2f03 in __poll (fds=<value optimized out>, nfds=<value optimized out>, timeout=<value optimized out>) at ../sysdeps/unix/sysv/linux/poll.c:87
#1  0x00007fe9493da104 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#2  0x00007fe9493da9f2 in g_main_loop_run () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#3  0x00007fe922018c44 in ?? () from /usr/lib/x86_64-linux-gnu/libgio-2.0.so.0
#4  0x00007fe9494013e4 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#5  0x00007fe949ee1d8c in start_thread (arg=0x7fe920f01700) at pthread_create.c:304
#6  0x00007fe9549c004d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:112
#7  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7fe9550c27a0 (LWP 1842)):
[KCrash Handler]
#6  0x00007fe94d85d14e in ~QExplicitlySharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#7  Solid::Device::~Device (this=<value optimized out>, __in_chrg=<value optimized out>) at ../../../solid/solid/device.cpp:87
#8  0x00007fe928f1592a in ~QHashNode (this=0x2120578, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:217
#9  deleteNode2 (this=0x2120578, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:519
#10 deleteNode (this=0x2120578, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:507
#11 QHash<QString, Solid::Device>::remove (this=0x2120578, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:795
#12 0x00007fe928f12fbc in HotplugEngine::onDeviceRemoved (this=0x2120550, udi=...) at ../../../../../plasma/generic/dataengines/hotplug/hotplugengine.cpp:241
#13 0x00007fe928f14bb9 in HotplugEngine::qt_metacall (this=0x2120550, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff79697300) at ./hotplugengine.moc:81
#14 0x00007fe951bb25f8 in QMetaObject::activate (sender=0x1b432d0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff79697300) at kernel/qobject.cpp:3287
#15 0x00007fe94d85e5e5 in Solid::DeviceNotifier::deviceRemoved (this=<value optimized out>, _t1=<value optimized out>) at ./devicenotifier.moc:94
#16 0x00007fe94d85f537 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x1b432d0, udi=...) at ../../../solid/solid/devicemanager.cpp:207
#17 0x00007fe94d85f939 in Solid::DeviceManagerPrivate::qt_metacall (this=0x1b432d0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff796974b0) at ./devicemanager_p.moc:80
#18 0x00007fe951bb25f8 in QMetaObject::activate (sender=0x1b482b0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff796974b0) at kernel/qobject.cpp:3287
#19 0x00007fe94d871f65 in Solid::Ifaces::DeviceManager::deviceRemoved (this=<value optimized out>, _t1=<value optimized out>) at ./ifaces/devicemanager.moc:94
#20 0x00007fe94d8b0926 in slotDeviceRemoved (this=0x1b482b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff79697820) at ../../../solid/solid/backends/upower/upowermanager.cpp:164
#21 Solid::Backends::UPower::UPowerManager::qt_metacall (this=0x1b482b0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0x7fff79697820) at ./backends/upower/upowermanager.moc:78
#22 0x00007fe951bb25f8 in QMetaObject::activate (sender=0x1b482c8, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fff79697820) at kernel/qobject.cpp:3287
#23 0x00007fe951f074af in QDBusInterfacePrivate::metacall (this=0x1b48930, c=<value optimized out>, id=4, argv=0x7fff79697820) at qdbusinterface.cpp:278
#24 0x00007fe951ef29fa in QDBusConnectionPrivate::deliverCall (this=0xdf6580, object=0x1b482c8, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:942
#25 0x00007fe951efce4f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#26 0x00007fe951bb149a in QObject::event (this=0x1b482c8, e=<value optimized out>) at kernel/qobject.cpp:1226
#27 0x00007fe950f5a9f4 in QApplicationPrivate::notify_helper (this=0xd1b970, receiver=0x1b482c8, e=0x1fbc4e0) at kernel/qapplication.cpp:4462
#28 0x00007fe950f5f3ba in QApplication::notify (this=<value optimized out>, receiver=0x1b482c8, e=0x1fbc4e0) at kernel/qapplication.cpp:4341
#29 0x00007fe95283fb86 in KApplication::notify (this=0xcf7b20, receiver=0x1b482c8, event=0x1fbc4e0) at ../../kdeui/kernel/kapplication.cpp:311
#30 0x00007fe951b9d49c in QCoreApplication::notifyInternal (this=0xcf7b20, receiver=0x1b482c8, event=0x1fbc4e0) at kernel/qcoreapplication.cpp:731
#31 0x00007fe951ba0c25 in sendEvent (receiver=0x0, event_type=0, data=0xc79b00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#32 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0xc79b00) at kernel/qcoreapplication.cpp:1372
#33 0x00007fe951bc8253 in sendPostedEvents (s=0xd19980) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#34 postEventSourceDispatch (s=0xd19980) at kernel/qeventdispatcher_glib.cpp:277
#35 0x00007fe9493d9bcd in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#36 0x00007fe9493da3a8 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#37 0x00007fe9493da639 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#38 0x00007fe951bc83ef in QEventDispatcherGlib::processEvents (this=0xc792e0, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:422
#39 0x00007fe9510044de in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#40 0x00007fe951b9c882 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#41 0x00007fe951b9cabc in QEventLoop::exec (this=0x7fff79698200, flags=...) at kernel/qeventloop.cpp:201
#42 0x00007fe951ba0ecb in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#43 0x00007fe954caeadc in kdemain (argc=1, argv=0x7fff79698608) at ../../../../plasma/desktop/shell/main.cpp:120
#44 0x00007fe9548f8eff in __libc_start_main (main=0x400740 <main(int, char**)>, argc=1, ubp_av=0x7fff79698608, init=<value optimized out>, fini=<value optimized out>, rtld_fini=<value optimized out>, stack_end=0x7fff796985f8) at libc-start.c:226
#45 0x0000000000400669 in _start ()

Possible duplicates by query: bug 282678, bug 282665, bug 281300, bug 281285, bug 279287.

Reported using DrKonqi
Comment 1 Elias Probst 2011-10-12 09:11:19 UTC
Created attachment 64451 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:
Suspended + resumed laptop, was greeted by DrKonqi after resuming.

-- Backtrace (Reduced):
#6  0x00007f996870abec in ~QExplicitlySharedDataPointer (this=<value optimized out>, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#7  Solid::Device::~Device (this=<value optimized out>, __in_chrg=<value optimized out>) at /var/tmp/portage/kde-base/kdelibs-4.7.2/work/kdelibs-4.7.2/solid/solid/device.cpp:87
#8  0x00007f993e747a6d in ~QHashNode (this=0x36e4a78, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:217
#9  deleteNode2 (this=0x36e4a78, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:519
#10 deleteNode (this=0x36e4a78, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:507
Comment 2 Nicolas L. 2011-10-17 00:17:57 UTC

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