Application: plasma-desktop (0.4) KDE Platform Version: 4.5.68 (4.6 >= 20100912) (Compiled from sources) Qt Version: 4.6.3 Operating System: Linux 2.6.32-24-generic i686 Distribution: Ubuntu 10.04.1 LTS -- Information about the crash: - What I was doing when the application crashed: I plug and unplug a device, plasma, knotify and krunner crash with similar backtraces. This happens every time I unplug (not when I plug in). plasma-desktop backtrace attached. The crash can be reproduced every time. -- Backtrace: Application: Plasma Workspace (kdeinit4), signal: Aborted [Current thread is 1 (Thread 0xb7812710 (LWP 2146))] Thread 6 (Thread 0xadc04b70 (LWP 2211)): #0 0x02349e16 in *__GI_clock_gettime (clock_id=37019636, tp=0xadc03f50) at ../sysdeps/unix/clock_gettime.c:100 #1 0x00c73dfa in qt_gettime () at kernel/qcore_unix.cpp:111 #2 0x00c7a88d in QTimerInfoList::updateCurrentTime (this=0xa10f7a4) at kernel/qeventdispatcher_unix.cpp:340 #3 0x00c7ac15 in QTimerInfoList::timerWait (this=0xa10f7a4, tm=...) at kernel/qeventdispatcher_unix.cpp:443 #4 0x00c76f0b in timerSourcePrepareHelper (src=0xa10f770, timeout=0xadc040ac) at kernel/qeventdispatcher_glib.cpp:136 #5 0x00c77076 in timerSourcePrepare (source=0xa10f770, timeout=0xadc040ac) at kernel/qeventdispatcher_glib.cpp:169 #6 0x02d2faca in g_main_context_prepare () from /lib/libglib-2.0.so.0 #7 0x02d2fee9 in ?? () from /lib/libglib-2.0.so.0 #8 0x02d304b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #9 0x00c7829c in QEventDispatcherGlib::processEvents (this=0xa0a3300, flags=...) at kernel/qeventdispatcher_glib.cpp:414 #10 0x00c3d99f in QEventLoop::processEvents (this=0xadc04268, flags=...) at kernel/qeventloop.cpp:149 #11 0x00c3dae4 in QEventLoop::exec (this=0xadc04268, flags=...) at kernel/qeventloop.cpp:201 #12 0x00b257d4 in QThread::exec (this=0xa10f9d8) at thread/qthread.cpp:487 #13 0x00c1d2ff in QInotifyFileSystemWatcherEngine::run (this=0xa10f9d8) at io/qfilesystemwatcher_inotify.cpp:248 #14 0x00b2810c in QThreadPrivate::start (arg=0xa10f9d8) at thread/qthread_unix.cpp:248 #15 0x0045396e in start_thread (arg=0xadc04b70) at pthread_create.c:300 #16 0x05674a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 5 (Thread 0xa8f19b70 (LWP 3125)): #0 0x00120832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00458015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x00b29593 in QWaitConditionPrivate::wait (this=0xa4a12a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 0x00b29397 in QWaitCondition::wait (this=0xa4a1398, mutex=0xa4a0780, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x08def188 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa4a1380, th=0xad78508) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365 #5 0x08df302e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa49ed30, th=0xad78508) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80 #6 0x08def107 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa4a1380, th=0xad78508) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356 #7 0x08df2fd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa49ed30, th=0xad78508) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0x08def0e0 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa4a1380, th=0xad78508, previous=0xa92d348) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0x08df0969 in ThreadWeaver::ThreadRunHelper::run (this=0xa8f192e4, parent=0xa4a1380, th=0xad78508) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87 #10 0x08df0cfd in ThreadWeaver::Thread::run (this=0xad78508) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142 #11 0x00b2810c in QThreadPrivate::start (arg=0xad78508) at thread/qthread_unix.cpp:248 #12 0x0045396e in start_thread (arg=0xa8f19b70) at pthread_create.c:300 #13 0x05674a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 4 (Thread 0xa7a64b70 (LWP 3126)): #0 0x00120832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00458015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x00b29593 in QWaitConditionPrivate::wait (this=0xa4a12a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 0x00b29397 in QWaitCondition::wait (this=0xa4a1398, mutex=0xa4a0780, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x08def188 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa4a1380, th=0xad45da0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365 #5 0x08df302e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa49ed30, th=0xad45da0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80 #6 0x08def107 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa4a1380, th=0xad45da0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356 #7 0x08df2fd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa49ed30, th=0xad45da0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0x08def0e0 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa4a1380, th=0xad45da0, previous=0xa5cf680) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0x08df0969 in ThreadWeaver::ThreadRunHelper::run (this=0xa7a642e4, parent=0xa4a1380, th=0xad45da0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87 #10 0x08df0cfd in ThreadWeaver::Thread::run (this=0xad45da0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142 #11 0x00b2810c in QThreadPrivate::start (arg=0xad45da0) at thread/qthread_unix.cpp:248 #12 0x0045396e in start_thread (arg=0xa7a64b70) at pthread_create.c:300 #13 0x05674a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 3 (Thread 0xad403b70 (LWP 3127)): #0 0x00120832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00458015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x00b29593 in QWaitConditionPrivate::wait (this=0xa4a12a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 0x00b29397 in QWaitCondition::wait (this=0xa4a1398, mutex=0xa4a0780, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x08def188 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa4a1380, th=0xad787e8) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365 #5 0x08df302e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa49ed30, th=0xad787e8) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80 #6 0x08def107 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa4a1380, th=0xad787e8) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356 #7 0x08df2fd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa49ed30, th=0xad787e8) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0x08def0e0 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa4a1380, th=0xad787e8, previous=0xad57ab0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0x08df0969 in ThreadWeaver::ThreadRunHelper::run (this=0xad4032e4, parent=0xa4a1380, th=0xad787e8) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87 #10 0x08df0cfd in ThreadWeaver::Thread::run (this=0xad787e8) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142 #11 0x00b2810c in QThreadPrivate::start (arg=0xad787e8) at thread/qthread_unix.cpp:248 #12 0x0045396e in start_thread (arg=0xad403b70) at pthread_create.c:300 #13 0x05674a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 2 (Thread 0xa971ab70 (LWP 3128)): #0 0x00120832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #1 0x00458015 in pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/i386/i686/../i486/pthread_cond_wait.S:122 #2 0x00b29593 in QWaitConditionPrivate::wait (this=0xa4a12a8, time=4294967295) at thread/qwaitcondition_unix.cpp:87 #3 0x00b29397 in QWaitCondition::wait (this=0xa4a1398, mutex=0xa4a0780, time=4294967295) at thread/qwaitcondition_unix.cpp:159 #4 0x08def188 in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0xa4a1380, th=0xa9cfeb0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:365 #5 0x08df302e in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0xa49ed30, th=0xa9cfeb0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:80 #6 0x08def107 in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0xa4a1380, th=0xa9cfeb0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:356 #7 0x08df2fd2 in ThreadWeaver::WorkingHardState::applyForWork (this=0xa49ed30, th=0xa9cfeb0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WorkingHardState.cpp:71 #8 0x08def0e0 in ThreadWeaver::WeaverImpl::applyForWork (this=0xa4a1380, th=0xa9cfeb0, previous=0x0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/WeaverImpl.cpp:351 #9 0x08df0969 in ThreadWeaver::ThreadRunHelper::run (this=0xa971a2e4, parent=0xa4a1380, th=0xa9cfeb0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:87 #10 0x08df0cfd in ThreadWeaver::Thread::run (this=0xa9cfeb0) at /home/hunny/kde/src/KDE/kdelibs/threadweaver/Weaver/Thread.cpp:142 #11 0x00b2810c in QThreadPrivate::start (arg=0xa9cfeb0) at thread/qthread_unix.cpp:248 #12 0x0045396e in start_thread (arg=0xa971ab70) at pthread_create.c:300 #13 0x05674a4e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130 Thread 1 (Thread 0xb7812710 (LWP 2146)): [KCrash Handler] #7 0x00120832 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2 #8 0x055d1651 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64 #9 0x055d4a82 in *__GI_abort () at abort.c:92 #10 0x00b1cec5 in qt_message_output (msgType=QtFatalMsg, buf=0xad33460 "ASSERT: \"dev->backendObject()!=0\" in file /home/hunny/kde/src/KDE/kdelibs/solid/solid/devicemanager.cpp, line 200") at global/qglobal.cpp:2266 #11 0x00b1d0be in qt_message (msgType=QtFatalMsg, msg=0xcbfe64 "ASSERT: \"%s\" in file %s, line %d", ap=0xbf988d24 "\351WG\b\274UG\b\310") at global/qglobal.cpp:2312 #12 0x00b1d4dc in qFatal (msg=0xcbfe64 "ASSERT: \"%s\" in file %s, line %d") at global/qglobal.cpp:2495 #13 0x00b1ca28 in qt_assert (assertion=0x84757e9 "dev->backendObject()!=0", file=0x84755bc "/home/hunny/kde/src/KDE/kdelibs/solid/solid/devicemanager.cpp", line=200) at global/qglobal.cpp:2011 #14 0x0840f230 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0xa0a2550, udi=...) at /home/hunny/kde/src/KDE/kdelibs/solid/solid/devicemanager.cpp:200 #15 0x0840fa25 in Solid::DeviceManagerPrivate::qt_metacall (this=0xa0a2550, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf988e68) at /home/hunny/kde/build/KDE/kdelibs/solid/solid/devicemanager_p.moc:80 #16 0x00c47d28 in QMetaObject::metacall (object=0xa0a2550, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf988e68) at kernel/qmetaobject.cpp:237 #17 0x00c5bf61 in QMetaObject::activate (sender=0xa11c1e0, m=0x8490b00, local_signal_index=1, argv=0xbf988e68) at kernel/qobject.cpp:3295 #18 0x084264c2 in Solid::Ifaces::DeviceManager::deviceRemoved (this=0xa11c1e0, _t1=...) at /home/hunny/kde/build/KDE/kdelibs/solid/solid/ifaces/devicemanager.moc:94 #19 0x0845e6b5 in Solid::Backends::UDisks::UDisksManager::slotDeviceRemoved (this=0xa11c1e0, opath=...) at /home/hunny/kde/src/KDE/kdelibs/solid/solid/backends/udisks/udisksmanager.cpp:163 #20 0x0845ead3 in Solid::Backends::UDisks::UDisksManager::qt_metacall (this=0xa11c1e0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbf98913c) at /home/hunny/kde/build/KDE/kdelibs/solid/solid/backends/udisks/udisksmanager.moc:80 #21 0x00c47d28 in QMetaObject::metacall (object=0xa11c1e0, cl=QMetaObject::InvokeMetaMethod, idx=7, argv=0xbf98913c) at kernel/qmetaobject.cpp:237 #22 0x00c5bf61 in QMetaObject::activate (sender=0xa11c1f0, m=0xa11d048, local_signal_index=6, argv=0xbf98913c) at kernel/qobject.cpp:3295 #23 0x003f7c15 in QDBusInterfacePrivate::metacall (this=0xa11c430, c=QMetaObject::InvokeMetaMethod, id=6, argv=0xbf98913c) at qdbusinterface.cpp:276 #24 0x003f7b6e in QDBusInterface::qt_metacall (this=0xa11c1f0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0xbf98913c) at qdbusinterface.cpp:263 #25 0x003dbf7f in QDBusConnectionPrivate::deliverCall (this=0x9d8fd70, object=0xa11c1f0, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:904 #26 0x003e8610 in QDBusCallDeliveryEvent::placeMetaCall (this=0xad3c788, object=0xa11c1f0) at qdbusintegrator_p.h:101 #27 0x00c58089 in QObject::event (this=0xa11c1f0, e=0xad3c788) at kernel/qobject.cpp:1248 #28 0x010afd34 in QApplicationPrivate::notify_helper (this=0x9d09200, receiver=0xa11c1f0, e=0xad3c788) at kernel/qapplication.cpp:4306 #29 0x010ad578 in QApplication::notify (this=0x9d03318, receiver=0xa11c1f0, e=0xad3c788) at kernel/qapplication.cpp:3710 #30 0x0089b222 in KApplication::notify (this=0x9d03318, receiver=0xa11c1f0, event=0xad3c788) at /home/hunny/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310 #31 0x00c405c3 in QCoreApplication::notifyInternal (this=0x9d03318, receiver=0xa11c1f0, event=0xad3c788) at kernel/qcoreapplication.cpp:726 #32 0x00c4414f in QCoreApplication::sendEvent (receiver=0xa11c1f0, event=0xad3c788) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215 #33 0x00c41677 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9c85ca8) at kernel/qcoreapplication.cpp:1367 #34 0x00c4132f in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260 #35 0x00c78a40 in QCoreApplication::sendPostedEvents () at kernel/qcoreapplication.h:220 #36 0x00c77270 in postEventSourceDispatch (s=0x9d03880) at kernel/qeventdispatcher_glib.cpp:276 #37 0x02d2c5e5 in g_main_context_dispatch () from /lib/libglib-2.0.so.0 #38 0x02d302d8 in ?? () from /lib/libglib-2.0.so.0 #39 0x02d304b8 in g_main_context_iteration () from /lib/libglib-2.0.so.0 #40 0x00c7827c in QEventDispatcherGlib::processEvents (this=0x9cfd3d8, flags=...) at kernel/qeventdispatcher_glib.cpp:412 #41 0x01186ec2 in QGuiEventDispatcherGlib::processEvents (this=0x9cfd3d8, flags=...) at kernel/qguieventdispatcher_glib.cpp:204 #42 0x00c3d99f in QEventLoop::processEvents (this=0xbf989a1c, flags=...) at kernel/qeventloop.cpp:149 #43 0x00c3dae4 in QEventLoop::exec (this=0xbf989a1c, flags=...) at kernel/qeventloop.cpp:201 #44 0x00c40c9f in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003 #45 0x010ad1ce in QApplication::exec () at kernel/qapplication.cpp:3585 #46 0x05b8854f in kdemain (argc=1, argv=0x9cf2dc8) at /home/hunny/kde/src/KDE/kdebase/workspace/plasma/desktop/shell/main.cpp:118 #47 0x0804dcad in launch (argc=1, _name=0x9d02174 "/home/hunny/kde/bin/plasma-desktop", args=0x9d02197 "", cwd=0x0, envc=0, envs=0x9d0219b "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x805306f "0") at /home/hunny/kde/src/KDE/kdelibs/kinit/kinit.cpp:727 #48 0x0804edc6 in handle_launcher_request (sock=8, who=0x8053308 "launcher") at /home/hunny/kde/src/KDE/kdelibs/kinit/kinit.cpp:1219 #49 0x0804f643 in handle_requests (waitForPid=0) at /home/hunny/kde/src/KDE/kdelibs/kinit/kinit.cpp:1412 #50 0x08050fc9 in main (argc=4, argv=0xbf98a1b4, envp=0xbf98a1c8) at /home/hunny/kde/src/KDE/kdelibs/kinit/kinit.cpp:1898 Reported using DrKonqi
If this helps, I found out that this happens only for storage devices like Hard Disks and Flash Drives. However, it crashes even when my "charging-mode-only" (so no Mass Storage) N900 is plugged out. No crash with USB CDMA Modem, Keyboard/Mouse RF receiver.
Created attachment 51906 [details] knotify 1/3
Created attachment 51907 [details] krunner 2/3
Created attachment 51908 [details] plasma 3/3
Created attachment 51909 [details] knotify
My system also krash when use usb to connect my android phone, card reader etc. When I plug and unplug a device, plasma, knotify and krunner crash. I have several krash-reports if they are needed.
I can reproduce this with a usb flash drive and a UMTS modem
I just tried this again with trunk after r1180269 and r1180271 (dfaure's QObject fixes) blind, no improvement.
I can reproduce it when k3b, after writing a DVD, ejects the DVD, and then (something that I do not like) is automatically inserted again. By the way, possible duplicates: 251356 242461 240717 232649 225649
*** This bug has been marked as a duplicate of bug 251356 ***
Re comment #9: strange thing is that most of the possible duplicates only happen in the HAL backend...