Bug 197338 - Device notifier crashes Plasma
Summary: Device notifier crashes Plasma
Status: RESOLVED UNMAINTAINED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: libsolid-hal (show other bugs)
Version: unspecified
Platform: Unlisted Binaries Linux
: NOR crash
Target Milestone: ---
Assignee: Alberto Villa
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-21 02:24 UTC by Bernhard Beschow
Modified: 2018-09-04 15:48 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Bernhard Beschow 2009-06-21 02:24:07 UTC
Application that crashed: krunner
Version of the application: 0.1
KDE Version: 4.2.92 (KDE 4.2.92 (KDE 4.3 >= 20090617))
Qt Version: 4.5.1
Operating System: Linux 2.6.28-13-generic i686
Distribution: Ubuntu 9.04

What I was doing when the application crashed:
After inserting an SD card into the card slot of the computer, HAL did not recognize the inserted SD card. I restarted HAL and removed the card afterwards. This seemed to have made Plasma crash.

 -- Backtrace:
Application: Run Command Interface (kdeinit), signal: Aborted
[Current thread is 0 (LWP 14714)]

Thread 5 (Thread 0xa98b8b90 (LWP 14771)):
#0  0xb7ee6430 in __kernel_vsyscall ()
#1  0xb7cc60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7d3d9ee in QWaitCondition::wait () from /opt/project-neon/lib/libQtCore.so.4
#3  0xb51d3b0d in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92442a8, th=0x94312c0)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb51d836c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x91df250, th=0x94312c0)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb51d319b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92442a8, th=0x94312c0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb51d848f in ThreadWeaver::WorkingHardState::applyForWork (this=0x91df250, th=0x94312c0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb51d3d43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92442a8, th=0x94312c0, previous=0x0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb51d84b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x91df250, th=0x94312c0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0xb51d3d43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92442a8, th=0x94312c0, previous=0x92a3178)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb51d65ed in ThreadWeaver::ThreadRunHelper::run (this=0xa98b8310, parent=0x92442a8, th=0x94312c0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:87
#11 0xb51d6769 in ThreadWeaver::Thread::run (this=0x94312c0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:142
#12 0xb7d3ce10 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#13 0xb7cc24ff in start_thread (arg=0xa98b8b90) at pthread_create.c:297
#14 0xb67ce49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 4 (Thread 0xa90b7b90 (LWP 14772)):
#0  0xb7ee6430 in __kernel_vsyscall ()
#1  0xb7cc60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7d3d9ee in QWaitCondition::wait () from /opt/project-neon/lib/libQtCore.so.4
#3  0xb51d3b0d in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92442a8, th=0x923c798)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb51d836c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x91df250, th=0x923c798)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb51d319b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92442a8, th=0x923c798) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb51d848f in ThreadWeaver::WorkingHardState::applyForWork (this=0x91df250, th=0x923c798) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb51d3d43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92442a8, th=0x923c798, previous=0x0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb51d84b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x91df250, th=0x923c798) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:74
#9  0xb51d3d43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92442a8, th=0x923c798, previous=0x0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:351
#10 0xb51d84b1 in ThreadWeaver::WorkingHardState::applyForWork (this=0x91df250, th=0x923c798) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:74
#11 0xb51d3d43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92442a8, th=0x923c798, previous=0x9a35180)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:351
#12 0xb51d65ed in ThreadWeaver::ThreadRunHelper::run (this=0xa90b7310, parent=0x92442a8, th=0x923c798) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:87
#13 0xb51d6769 in ThreadWeaver::Thread::run (this=0x923c798) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:142
#14 0xb7d3ce10 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#15 0xb7cc24ff in start_thread (arg=0xa90b7b90) at pthread_create.c:297
#16 0xb67ce49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 3 (Thread 0xa88b6b90 (LWP 14773)):
#0  0xb7ee6430 in __kernel_vsyscall ()
#1  0xb7cc60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7d3d9ee in QWaitCondition::wait () from /opt/project-neon/lib/libQtCore.so.4
#3  0xb51d3b0d in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92442a8, th=0x94c6040)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb51d836c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x91df250, th=0x94c6040)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb51d319b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92442a8, th=0x94c6040) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb51d848f in ThreadWeaver::WorkingHardState::applyForWork (this=0x91df250, th=0x94c6040) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb51d3d43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92442a8, th=0x94c6040, previous=0x9e6d0c8)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb51d65ed in ThreadWeaver::ThreadRunHelper::run (this=0xa88b6310, parent=0x92442a8, th=0x94c6040) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:87
#9  0xb51d6769 in ThreadWeaver::Thread::run (this=0x94c6040) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:142
#10 0xb7d3ce10 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#11 0xb7cc24ff in start_thread (arg=0xa88b6b90) at pthread_create.c:297
#12 0xb67ce49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xa80b5b90 (LWP 14774)):
#0  0xb7ee6430 in __kernel_vsyscall ()
#1  0xb7cc60e5 in pthread_cond_wait@@GLIBC_2.3.2 () from /lib/tls/i686/cmov/libpthread.so.0
#2  0xb7d3d9ee in QWaitCondition::wait () from /opt/project-neon/lib/libQtCore.so.4
#3  0xb51d3b0d in ThreadWeaver::WeaverImpl::blockThreadUntilJobsAreBeingAssigned (this=0x92442a8, th=0x94c7de8)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:365
#4  0xb51d836c in ThreadWeaver::WorkingHardState::waitForAvailableJob (this=0x91df250, th=0x94c7de8)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:80
#5  0xb51d319b in ThreadWeaver::WeaverImpl::waitForAvailableJob (this=0x92442a8, th=0x94c7de8) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:356
#6  0xb51d848f in ThreadWeaver::WorkingHardState::applyForWork (this=0x91df250, th=0x94c7de8) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WorkingHardState.cpp:71
#7  0xb51d3d43 in ThreadWeaver::WeaverImpl::applyForWork (this=0x92442a8, th=0x94c7de8, previous=0x9a35cd0)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/WeaverImpl.cpp:351
#8  0xb51d65ed in ThreadWeaver::ThreadRunHelper::run (this=0xa80b5310, parent=0x92442a8, th=0x94c7de8) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:87
#9  0xb51d6769 in ThreadWeaver::Thread::run (this=0x94c7de8) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/threadweaver/Weaver/Thread.cpp:142
#10 0xb7d3ce10 in ?? () from /opt/project-neon/lib/libQtCore.so.4
#11 0xb7cc24ff in start_thread (arg=0xa80b5b90) at pthread_create.c:297
#12 0xb67ce49e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb61cf700 (LWP 14714)):
[KCrash Handler]
#6  0xb7ee6430 in __kernel_vsyscall ()
#7  0xb67156d0 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0xb6717098 in *__GI_abort () at abort.c:88
#9  0xb7d33f9d in qt_message_output () from /opt/project-neon/lib/libQtCore.so.4
#10 0xb7d34057 in qFatal () from /opt/project-neon/lib/libQtCore.so.4
#11 0xb7d343f5 in qt_assert () from /opt/project-neon/lib/libQtCore.so.4
#12 0xb649db10 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x91c15d0, udi=@0x3) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/solid/solid/devicemanager.cpp:181
#13 0xb649de5d in Solid::DeviceManagerPrivate::qt_metacall (this=0x91c15d0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfe018fc)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/obj-i486-linux-gnu/solid/solid/devicemanager_p.moc:74
#14 0xb7e440e8 in QMetaObject::activate () from /opt/project-neon/lib/libQtCore.so.4
#15 0xb7e44722 in QMetaObject::activate () from /opt/project-neon/lib/libQtCore.so.4
#16 0xb64b1d53 in Solid::Ifaces::DeviceManager::deviceRemoved (this=0x9241610, _t1=@0x94cefc8)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/obj-i486-linux-gnu/solid/solid/ifaces/devicemanager.moc:88
#17 0xb64ce93e in Solid::Backends::Hal::HalManager::slotDeviceRemoved (this=0x9241610, udi=@0x94cefc8)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/solid/solid/backends/hal/halmanager.cpp:219
#18 0xb64cea04 in Solid::Backends::Hal::HalManager::qt_metacall (this=0x9241610, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfe01ac8)
    at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/obj-i486-linux-gnu/solid/solid/backends/hal/halmanager.moc:72
#19 0xb726f95c in ?? () from /opt/project-neon/lib/libQtDBus.so.4
#20 0xb72774a7 in ?? () from /opt/project-neon/lib/libQtDBus.so.4
#21 0xb7e3ec90 in QObject::event () from /opt/project-neon/lib/libQtCore.so.4
#22 0xb6a9b7fc in QApplicationPrivate::notify_helper () from /opt/project-neon/lib/libQtGui.so.4
#23 0xb6aa444f in QApplication::notify () from /opt/project-neon/lib/libQtGui.so.4
#24 0xb7461203 in KApplication::notify (this=0x913b638, receiver=0x9241610, event=0x92bd878) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/kdeui/kernel/kapplication.cpp:302
#25 0xb7e2db3b in QCoreApplication::notifyInternal () from /opt/project-neon/lib/libQtCore.so.4
#26 0xb7e314e5 in QCoreApplicationPrivate::sendPostedEvents () from /opt/project-neon/lib/libQtCore.so.4
#27 0xb7e316ed in QCoreApplication::sendPostedEvents () from /opt/project-neon/lib/libQtCore.so.4
#28 0xb7e58abf in ?? () from /opt/project-neon/lib/libQtCore.so.4
#29 0xb6618b88 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#30 0xb661c0eb in ?? () from /usr/lib/libglib-2.0.so.0
#31 0xb661c268 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#32 0xb7e587a8 in QEventDispatcherGlib::processEvents () from /opt/project-neon/lib/libQtCore.so.4
#33 0xb6b36065 in ?? () from /opt/project-neon/lib/libQtGui.so.4
#34 0xb7e2c57a in QEventLoop::processEvents () from /opt/project-neon/lib/libQtCore.so.4
#35 0xb7e2c73a in QEventLoop::exec () from /opt/project-neon/lib/libQtCore.so.4
#36 0xb7e317b1 in QCoreApplication::exec () from /opt/project-neon/lib/libQtCore.so.4
#37 0xb6a9b527 in QApplication::exec () from /opt/project-neon/lib/libQtGui.so.4
#38 0xb4fd427a in kdemain (argc=1, argv=0x9122970) at /build/buildd/kde-nightly-kdebase-20090619+svn984009/workspace/krunner/main.cpp:65
#39 0x0804e17f in launch (argc=1, _name=0x9122984 "/opt/kde-nightly/bin/krunner", args=0x91229a1 "", cwd=0x0, envc=0, envs=0x91229a5 "", reset_env=false, tty=0x0, avoid_loops=false, 
    startup_id_str=0x8052200 "0") at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/kinit/kinit.cpp:672
#40 0x0804ed47 in handle_launcher_request (sock=7, who=<value optimized out>) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/kinit/kinit.cpp:1164
#41 0x0804f495 in handle_requests (waitForPid=0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/kinit/kinit.cpp:1357
#42 0x0804fa2c in main (argc=2, argv=0xbfe027e4, envp=0xbfe027f0) at /build/buildd/kde-nightly-kdelibs-20090619+svn984009/kinit/kinit.cpp:1784

Reported using DrKonqi
Comment 1 Mark 2009-06-30 21:30:05 UTC
for me, similar symptoms: 

*steps: I inserted external HDD (with 8 partitions), Device Notifier popped-out and probably ade plasma crash
Comment 2 Mark 2009-06-30 21:39:38 UTC
another WEIRD behavior: 

*what i did: 
Using gparted livecd i made a clone of my hdd from notebook to external hdd // in fstab i have disks specified by label //
everything ok, then i booted my ntbk, plugged in the hdd and!! DeviceNotifier behaves oddly - it shows partitions on the hdd but partition labeled 'arch' (my root partition, same name on my ntbk) shows percentage graph of used size !doesnt show with other ext4 partitions on the external disk. 

also, gparted reports this part. as mounted,though it's unable to umount it(no error, nothing), #mount doesn't show it as mounted

#dmesg: 
usb 1-1: USB disconnect, address 7
usb 1-1: new high speed USB device using ehci_hcd and address 8
usb 1-1: configuration #1 chosen from 1 choice
scsi8 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 8
usb-storage: waiting for device to settle before scanning
scsi 8:0:0:0: Direct-Access     TOSHIBA  USB 3.5"-HDD     100  PQ: 0 ANSI: 2
sd 8:0:0:0: Attached scsi generic sg2 type 0
usb-storage: device scan complete
sd 8:0:0:0: [sdc] 976773168 512-byte hardware sectors: (500 GB/465 GiB)
sd 8:0:0:0: [sdc] Write Protect is off
sd 8:0:0:0: [sdc] Mode Sense: 38 00 00 00
sd 8:0:0:0: [sdc] Assuming drive cache: write through
sd 8:0:0:0: [sdc] Assuming drive cache: write through
 sdc: sdc1 sdc2 sdc3 < sdc5 sdc6 sdc7 sdc8 sdc9 sdc10 sdc11 > sdc4
sd 8:0:0:0: [sdc] Attached SCSI disk
Comment 3 Alex Fiestas 2011-05-29 21:58:56 UTC
I'm trying to reproduce this crash with HAL and with UDisk, and I can't :/ can please test it again with at least KDE 4.6?

Thanks!
Comment 4 Andrew Crouthamel 2018-09-04 15:48:45 UTC
Hello! Sorry to be the bearer of bad news, but this project has been unmaintained for many years so I am closing this bug. Please try again with the latest version and submit a new bug to frameworks-solid if your issue persists. Thank you!