Bug 273075

Summary: Plasma crash when power cord is connected on laptop [...,Solid::Device::~Device, QHash<QString, Solid::Device>::remove, HotplugEngine::onDeviceRemoved]
Product: [Plasma] plasma4 Reporter: Calle <calle>
Component: generalAssignee: Plasma Bugs List <plasma-bugs>
Status: RESOLVED DUPLICATE    
Severity: crash CC: adaptee, afiestas, andresbajotierra, antero.halminen, antonio.chiurazzi, atalanttore, becase, bruno, didier.richard, gjunk, kamikazow, kushalsharma83, lordinfinitus, marko.gabriel.cz, moltonel, rolivares, toralf.foerster, wimpiekoleschop, xavier.besnard
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
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
New crash information added by DrKonqi
New crash information added by DrKonqi

Description Calle 2011-05-11 22:05:48 UTC
Application: plasma-desktop (0.4)
KDE Platform Version: 4.6.2 (4.6.2)
Qt Version: 4.7.2
Operating System: Linux 2.6.38-8-generic i686
Distribution: Ubuntu 11.04

-- Information about the crash:
I connected the powercord to my laptop and plasma crashed. The screen was dimmed when it happened but got lit up when the cord was connected and the crash occured.

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

Thread 4 (Thread 0xae2ffb70 (LWP 1370)):
#0  0x00432416 in __kernel_vsyscall ()
#1  0x0024bf76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x037b784b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x037a71af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x037a7524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x0529c577 in QEventDispatcherGlib::processEvents (this=0x89ece40, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#6  0x0526e289 in QEventLoop::processEvents (this=0xae2ff280, flags=...) at kernel/qeventloop.cpp:149
#7  0x0526e522 in QEventLoop::exec (this=0xae2ff280, flags=...) at kernel/qeventloop.cpp:201
#8  0x051782a0 in QThread::exec (this=0x89e9858) at thread/qthread.cpp:492
#9  0x0524ffdb in QInotifyFileSystemWatcherEngine::run (this=0x89e9858) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x0517ada2 in QThreadPrivate::start (arg=0x89e9858) at thread/qthread_unix.cpp:320
#11 0x06e38e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#12 0x0025a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 3 (Thread 0xaccbdb70 (LWP 1371)):
#0  0x07a9ed41 in clock_gettime () from /lib/i386-linux-gnu/librt.so.1
#1  0x051d0dd8 in do_gettime () at tools/qelapsedtimer_unix.cpp:123
#2  qt_gettime () at tools/qelapsedtimer_unix.cpp:140
#3  0x0529d4f2 in updateCurrentTime (this=0x8a82344, tm=...) at kernel/qeventdispatcher_unix.cpp:339
#4  QTimerInfoList::timerWait (this=0x8a82344, tm=...) at kernel/qeventdispatcher_unix.cpp:442
#5  0x0529bd32 in timerSourcePrepareHelper (src=<value optimized out>, timeout=0xaccbd0cc) at kernel/qeventdispatcher_glib.cpp:136
#6  0x0529bdcd in timerSourcePrepare (source=0x8a82310, timeout=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:169
#7  0x037a5fd4 in g_main_context_prepare () from /lib/i386-linux-gnu/libglib-2.0.so.0
#8  0x037a6e63 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#9  0x037a7524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#10 0x0529c577 in QEventDispatcherGlib::processEvents (this=0x8a7f240, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#11 0x0526e289 in QEventLoop::processEvents (this=0xaccbd280, flags=...) at kernel/qeventloop.cpp:149
#12 0x0526e522 in QEventLoop::exec (this=0xaccbd280, flags=...) at kernel/qeventloop.cpp:201
#13 0x051782a0 in QThread::exec (this=0x8a80408) at thread/qthread.cpp:492
#14 0x0524ffdb in QInotifyFileSystemWatcherEngine::run (this=0x8a80408) at io/qfilesystemwatcher_inotify.cpp:248
#15 0x0517ada2 in QThreadPrivate::start (arg=0x8a80408) at thread/qthread_unix.cpp:320
#16 0x06e38e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#17 0x0025a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 2 (Thread 0xab4bab70 (LWP 1377)):
#0  0x00432416 in __kernel_vsyscall ()
#1  0x0024bf76 in poll () from /lib/i386-linux-gnu/libc.so.6
#2  0x037b784b in g_poll () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x037a71af in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x037a792b in g_main_loop_run () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x04bbb304 in ?? () from /usr/lib/i386-linux-gnu/libgio-2.0.so.0
#6  0x037d02df in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#7  0x06e38e99 in start_thread () from /lib/i386-linux-gnu/libpthread.so.0
#8  0x0025a73e in clone () from /lib/i386-linux-gnu/libc.so.6

Thread 1 (Thread 0xb6127720 (LWP 1367)):
[KCrash Handler]
#7  0x00bdc755 in ~QExplicitlySharedDataPointer (this=0x9016a74, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#8  Solid::Device::~Device (this=0x9016a74, __in_chrg=<value optimized out>) at ../../../solid/solid/device.cpp:85
#9  0x0473e087 in ~QHashNode (this=0x8a984bc, akey=...) at /usr/include/qt4/QtCore/qhash.h:217
#10 deleteNode2 (this=0x8a984bc, akey=...) at /usr/include/qt4/QtCore/qhash.h:519
#11 deleteNode (this=0x8a984bc, akey=...) at /usr/include/qt4/QtCore/qhash.h:507
#12 QHash<QString, Solid::Device>::remove (this=0x8a984bc, akey=...) at /usr/include/qt4/QtCore/qhash.h:795
#13 0x0473b3d3 in HotplugEngine::onDeviceRemoved (this=0x8a984a8, udi=...) at ../../../../../plasma/generic/dataengines/hotplug/hotplugengine.cpp:243
#14 0x0473d6a5 in HotplugEngine::qt_metacall (this=0x8a984a8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb725e8) at ./hotplugengine.moc:81
#15 0x052756ba in QMetaObject::metacall (object=0x8a984a8, cl=QMetaObject::InvokeMetaMethod, idx=25, argv=0xbfb725e8) at kernel/qmetaobject.cpp:237
#16 0x052854ff in QMetaObject::activate (sender=0x89e8dd0, m=0xc6ac68, local_signal_index=1, argv=0xbfb725e8) at kernel/qobject.cpp:3287
#17 0x00bdddd3 in Solid::DeviceNotifier::deviceRemoved (this=0x89e8dd0, _t1=...) at ./devicenotifier.moc:94
#18 0x00bdeddc in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x89e8dd0, udi=...) at ../../../solid/solid/devicemanager.cpp:207
#19 0x00bdf585 in Solid::DeviceManagerPrivate::qt_metacall (this=0x89e8dd0, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb72778) at ./devicemanager_p.moc:80
#20 0x052756ba in QMetaObject::metacall (object=0x89e8dd0, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfb72778) at kernel/qmetaobject.cpp:237
#21 0x052854ff in QMetaObject::activate (sender=0x89e90f8, m=0xc6bd40, local_signal_index=1, argv=0xbfb72778) at kernel/qobject.cpp:3287
#22 0x00bf3223 in Solid::Ifaces::DeviceManager::deviceRemoved (this=0x89e90f8, _t1=...) at ./ifaces/devicemanager.moc:94
#23 0x00c3a17a in slotDeviceRemoved (this=0x89e90f8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb729fc) at ../../../solid/solid/backends/upower/upowermanager.cpp:164
#24 Solid::Backends::UPower::UPowerManager::qt_metacall (this=0x89e90f8, _c=QMetaObject::InvokeMetaMethod, _id=<value optimized out>, _a=0xbfb729fc) at ./backends/upower/upowermanager.moc:78
#25 0x052756ba in QMetaObject::metacall (object=0x89e90f8, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbfb729fc) at kernel/qmetaobject.cpp:237
#26 0x052854ff in QMetaObject::activate (sender=0x89e9104, m=0x89e9948, local_signal_index=4, argv=0xbfb729fc) at kernel/qobject.cpp:3287
#27 0x0084e9e3 in QDBusInterfacePrivate::metacall (this=0x89ecff0, c=QMetaObject::InvokeMetaMethod, id=4, argv=0xbfb729fc) at qdbusinterface.cpp:278
#28 0x00839acd in QDBusConnectionPrivate::deliverCall (this=0x8444538, object=0x89e9104, msg=..., metaTypes=..., slotIdx=9) at qdbusintegrator.cpp:942
#29 0x008441d7 in QDBusCallDeliveryEvent::placeMetaCall (this=0x90dbe10, object=0x89e9104) at qdbusintegrator_p.h:103
#30 0x052843b7 in QObject::event (this=0x89e9104, e=0x90dbe10) at kernel/qobject.cpp:1226
#31 0x02a9ed24 in QApplicationPrivate::notify_helper (this=0x83b4a60, receiver=0x89e9104, e=0x90dbe10) at kernel/qapplication.cpp:4462
#32 0x02aa38ce in QApplication::notify (this=0x83ab540, receiver=0x89e9104, e=0x90dbe10) at kernel/qapplication.cpp:3862
#33 0x0115f3ca in KApplication::notify (this=0x83ab540, receiver=0x89e9104, event=0x90dbe10) at ../../kdeui/kernel/kapplication.cpp:311
#34 0x0526f0bb in QCoreApplication::notifyInternal (this=0x83ab540, receiver=0x89e9104, event=0x90dbe10) at kernel/qcoreapplication.cpp:731
#35 0x05272c79 in sendEvent (receiver=0x0, event_type=0, data=0x8341f50) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#36 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x8341f50) at kernel/qcoreapplication.cpp:1372
#37 0x05272e0d in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1265
#38 0x0529c3c4 in sendPostedEvents (s=0x83b2a90) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#39 postEventSourceDispatch (s=0x83b2a90) at kernel/qeventdispatcher_glib.cpp:277
#40 0x037a6aa8 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#41 0x037a7270 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#42 0x037a7524 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#43 0x0529c53c in QEventDispatcherGlib::processEvents (this=0x8341aa8, flags=...) at kernel/qeventdispatcher_glib.cpp:422
#44 0x02b52775 in QGuiEventDispatcherGlib::processEvents (this=0x8341aa8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#45 0x0526e289 in QEventLoop::processEvents (this=0xbfb731e4, flags=...) at kernel/qeventloop.cpp:149
#46 0x0526e522 in QEventLoop::exec (this=0xbfb731e4, flags=...) at kernel/qeventloop.cpp:201
#47 0x05272ecc in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1008
#48 0x02a9c8e7 in QApplication::exec () at kernel/qapplication.cpp:3736
#49 0x003575a5 in kdemain (argc=1, argv=0xbfb733f4) at ../../../../plasma/desktop/shell/main.cpp:118
#50 0x080485cb in main (argc=1, argv=0xbfb733f4) at plasma-desktop_dummy.cpp:3

Possible duplicates by query: bug 272372, bug 271566, bug 269449, bug 268008, bug 266383.

Reported using DrKonqi
Comment 1 Dario Andres 2011-05-15 01:10:16 UTC
[Comment from a bug report cleaner]
This could be related to bug 271566 (similar backtrace)
Comment 2 Lamarque V. Souza 2011-05-17 23:17:19 UTC
*** Bug 273438 has been marked as a duplicate of this bug. ***
Comment 3 Lamarque V. Souza 2011-05-19 00:16:53 UTC
*** Bug 273589 has been marked as a duplicate of this bug. ***
Comment 4 Beat Wolf 2011-05-27 17:15:35 UTC
*** Bug 271566 has been marked as a duplicate of this bug. ***
Comment 5 Beat Wolf 2011-05-27 17:15:38 UTC
*** Bug 274088 has been marked as a duplicate of this bug. ***
Comment 6 Ettore Atalan 2011-06-05 01:53:17 UTC
Created attachment 60638 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Plasma-desktop crashed while waking up from Suspend-to-RAM.

-- Backtrace (Reduced):
#6  0x00007f830fd148ee 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:85
#8  0x00007f82ec54999a in ~QHashNode (this=0x2d715c8, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:217
#9  deleteNode2 (this=0x2d715c8, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:519
#10 deleteNode (this=0x2d715c8, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:507
Comment 7 lordinfinitus 2011-06-23 16:32:14 UTC
Created attachment 61277 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I plugged in back the power cord of the laptop while running Kopete and (maybe) Chrome. The crashes do not always appear but sometimes. I cannot tell how they are triggered.

-- Backtrace (Reduced):
#8  0x4de6e327 in ~QExplicitlySharedDataPointer (this=0x997505c, __in_chrg=<optimized out>) at /usr/include/QtCore/qshareddata.h:161
#9  Solid::Device::~Device (this=0x997505c, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.6.3/solid/solid/device.cpp:85
#10 0x00b2c2ca in ~QHashNode (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:216
#11 deleteNode2 (node=<optimized out>) at /usr/include/QtCore/qhash.h:519
#12 deleteNode (node=<optimized out>, this=0x8fdf554) at /usr/include/QtCore/qhash.h:507
Comment 8 Lamarque V. Souza 2011-06-25 14:56:46 UTC
*** Bug 273575 has been marked as a duplicate of this bug. ***
Comment 9 Lamarque V. Souza 2011-06-25 14:56:55 UTC
*** Bug 276453 has been marked as a duplicate of this bug. ***
Comment 10 Lamarque V. Souza 2011-06-28 21:09:23 UTC
*** Bug 276585 has been marked as a duplicate of this bug. ***
Comment 11 Aaron J. Seigo 2011-07-18 12:15:34 UTC
*** Bug 277964 has been marked as a duplicate of this bug. ***
Comment 12 Aaron J. Seigo 2011-07-18 12:17:33 UTC
*** Bug 276944 has been marked as a duplicate of this bug. ***
Comment 13 Lamarque V. Souza 2011-07-22 21:15:10 UTC
*** Bug 278274 has been marked as a duplicate of this bug. ***
Comment 14 Rodrigo Olivares 2011-07-26 03:12:33 UTC
Created attachment 62192 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Just close my laptop and when reopen, the kde crash

-- Backtrace (Reduced):
#8  0x00d79758 in ~QExplicitlySharedDataPointer (this=0x917eaec, __in_chrg=<value optimized out>) at /usr/include/qt4/QtCore/qshareddata.h:161
#9  Solid::Device::~Device (this=0x917eaec, __in_chrg=<value optimized out>) at ../../../solid/solid/device.cpp:85
#10 0x047cb087 in ~QHashNode (this=0x916053c, akey=...) at /usr/include/qt4/QtCore/qhash.h:217
#11 deleteNode2 (this=0x916053c, akey=...) at /usr/include/qt4/QtCore/qhash.h:519
#12 deleteNode (this=0x916053c, akey=...) at /usr/include/qt4/QtCore/qhash.h:507
Comment 15 Ettore Atalan 2011-10-15 20:52:15 UTC
Created attachment 64560 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

Resuming from suspend-to-ram, which worked out, but Plasma crashed.

-- Backtrace (Reduced):
#7  0x00007f9e245f999a in ~QHashNode (this=0x10b9d68, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:217
#8  deleteNode2 (this=0x10b9d68, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:519
#9  deleteNode (this=0x10b9d68, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:507
#10 QHash<QString, Solid::Device>::remove (this=0x10b9d68, akey=<value optimized out>) at /usr/include/qt4/QtCore/qhash.h:795
#11 0x00007f9e245f701c in HotplugEngine::onDeviceRemoved (this=0x10b9d40, udi=<value optimized out>) at ../../../../../plasma/generic/dataengines/hotplug/hotplugengine.cpp:243
Comment 16 Christoph Feck 2011-11-11 08:41:51 UTC
*** Bug 286318 has been marked as a duplicate of this bug. ***
Comment 17 Christoph Feck 2011-11-11 08:42:49 UTC
*** Bug 280342 has been marked as a duplicate of this bug. ***
Comment 18 Antero Halminen 2011-11-30 22:27:32 UTC
Created attachment 66239 [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:

plugging on and off power to figure out how my newly installed cpufreqd worked with kubuntu.

-- Backtrace (Reduced):
#7  0x00007f965517cee1 in ~QHashNode (this=0x230b6f0, __in_chrg=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:216
#8  deleteNode2 (node=0x230b6f0) at /usr/include/qt4/QtCore/qhash.h:519
#9  deleteNode (node=0x230b6f0, this=0x18f2da8) at /usr/include/qt4/QtCore/qhash.h:507
#10 QHash<QString, Solid::Device>::remove (this=0x18f2da8, akey=<optimized out>) at /usr/include/qt4/QtCore/qhash.h:795
#11 0x00007f965517d03c in remove (akey=..., this=0x18f2da8) at /usr/include/qt4/QtCore/qhash.h:784
Comment 19 Jekyll Wu 2011-12-07 15:23:06 UTC
This looks like a duplicate of bug 266383
Comment 20 markuss 2011-12-11 23:28:36 UTC
Created attachment 66643 [details]
New crash information added by DrKonqi

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

- What I was doing when the application crashed:

I was plugging in my laptop's battery. Nothing else.

-- Backtrace (Reduced):
#6  0xb5208bf3 in ~QExplicitlySharedDataPointer (this=0x991fdc4, __in_chrg=<optimized out>) at /usr/include/QtCore/qshareddata.h:161
#7  Solid::Device::~Device (this=0x991fdc4, __in_chrg=<optimized out>) at /usr/src/debug/kdelibs-4.7.4/solid/solid/device.cpp:87
#8  0xa86c561a in ~QHashNode (this=<optimized out>, __in_chrg=<optimized out>) at /usr/include/QtCore/qhash.h:216
#9  deleteNode2 (node=<optimized out>) at /usr/include/QtCore/qhash.h:519
#10 deleteNode (node=<optimized out>, this=0x8db3124) at /usr/include/QtCore/qhash.h:507
Comment 21 Jekyll Wu 2011-12-14 23:14:32 UTC
*** Bug 289011 has been marked as a duplicate of this bug. ***
Comment 22 Christoph Feck 2012-01-02 19:17:23 UTC

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