Bug 252788 - Crash when removing SD card
Summary: Crash when removing SD card
Status: RESOLVED DUPLICATE of bug 251356
Alias: None
Product: krunner
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-09-29 20:10 UTC by Alex Merry
Modified: 2010-11-18 18:44 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Merry 2010-09-29 20:10:33 UTC
Application: krunner (0.1)
KDE Platform Version: 4.5.69 (4.6 >= 20100920) (Compiled from sources)
Qt Version: 4.7.0
Operating System: Linux 2.6.35-ARCH x86_64
Distribution (Platform): Archlinux Packages

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

I tore down the device using the device notifier, which was fine.  But when I physically removed the SD card from the reader (built in to my laptop), both KRunner and plasma-desktop crashed.  Amarok didn't crash.

Console:

[/home/kde-devel/kde/bin/nepomukservicestub] nepomukfilewatch(5515)/nepomuk (filewatch service) KInotify::slotEvent: "/media/disk/DCIM/101_PANA/" EventIgnored
nepomukfilewatch(5515)/nepomuk (filewatch service) KInotify::slotEvent: "/media/disk/MISC/" EventIgnored
nepomukfilewatch(5515)/nepomuk (filewatch service) KInotify::slotEvent: "/media/disk/DCIM/" EventIgnored
nepomukfilewatch(5515)/nepomuk (filewatch service) KInotify::slotEvent: "/media/disk/" EventIgnored
kded(4711) AutomounterSettings::setDeviceLastSeenMounted: Marking "/org/freedesktop/Hal/devices/volume_uuid_3764_6539" as lastSeenMounted: false
kded(4711)/kdecore (KConfigSkeleton) KCoreConfigSkeleton::writeConfig:
amarok: [MediaDeviceCache] accessibility of device  "/org/freedesktop/Hal/devices/volume_uuid_3764_6539"  has changed to accessible =  false 
amarok: BEGIN: void MountPointManager::deviceRemoved(const QString&) 
amarok: END__: void MountPointManager::deviceRemoved(const QString&) - Took 7.5e-05s 
amarok: BEGIN: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) 
amarok:   BEGIN: virtual void ConnectionAssistant::tellDisconnected(const QString&) 
amarok:     BEGIN: void Collections::MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&) 
amarok:       BEGIN: void Collections::MediaDeviceCollection::deleteCollection() 
amarok:       END__: void Collections::MediaDeviceCollection::deleteCollection() - Took 0.00011s 
amarok:     END__: void Collections::MediaDeviceCollectionFactoryBase::slotDeviceDisconnected(const QString&) - Took 0.00023s 
amarok:   END__: virtual void ConnectionAssistant::tellDisconnected(const QString&) - Took 0.00036s 
amarok: END__: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) - Took 0.00047s 
amarok: BEGIN: void Meta::MediaDeviceHandler::slotDeletingHandler() 
amarok: END__: void Meta::MediaDeviceHandler::slotDeletingHandler() - Took 6.1e-05s 
amarok: BEGIN: virtual Collections::UmsCollection::~UmsCollection() 
amarok: END__: virtual Collections::UmsCollection::~UmsCollection() - Took 6.9e-05s 
amarok: BEGIN: virtual Collections::MediaDeviceCollection::~MediaDeviceCollection() 
amarok: END__: virtual Collections::MediaDeviceCollection::~MediaDeviceCollection() - Took 5.9e-05s 
amarok: BEGIN: virtual Meta::UmsHandler::~UmsHandler() 
amarok: END__: virtual Meta::UmsHandler::~UmsHandler() - Took 0.00029s 
amarok: BEGIN: virtual Meta::MediaDeviceHandler::~MediaDeviceHandler() 
amarok: END__: virtual Meta::MediaDeviceHandler::~MediaDeviceHandler() - Took 6.4e-05s 
kde(4876)/plasma Notifier::DeviceItem::setLeftAction: setting to 1
[/home/kde-devel/kde/bin/nepomukservicestub] nepomukremovablestorageservice(5511) Nepomuk::RemovableStorageService::slotAccessibilityChanged: false "/org/freedesktop/Hal/devices/volume_uuid_3764_6539"
[/home/kde-devel/kde/bin/nepomukservicestub] nepomukremovablestorageservice(5511) Nepomuk::RemovableStorageService::slotAccessibilityChanged: "select ?r ?url ?g where { graph ?g { ?r <http://www.semanticdesktop.org/ontologies/2007/01/19/nie#url> ?url . } . FILTER(REGEX(STR(?url),'^file:///media/disk/')) . }"
kde(4932)/libplasma Plasma::DataContainer::checkUsage: "/org/freedesktop/Hal/devices/volume_uuid_3764_6539" is unused
Object::disconnect: No such slot QObject::dataUpdated(QString,Plasma::DataEngine::Data) in /home/kde-devel/src/KDE/kdelibs/plasma/datacontainer.cpp:296
Object::disconnect:  (sender name:   '/org/freedesktop/Hal/devices/volume_uuid_3764_6539')
amarok: BEGIN: void MediaDeviceCache::slotRemoveSolidDevice(const QString&) 
amarok:   [MediaDeviceCache] udi is:  "/org/freedesktop/Hal/devices/volume_uuid_3764_6539" 
Object::disconnect: Unexpected null parameter
amarok:   BEGIN: void MountPointManager::deviceRemoved(const QString&) 
amarok:   END__: void MountPointManager::deviceRemoved(const QString&) - Took 7.3e-05s 
amarok:   BEGIN: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) 
amarok:   END__: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) - Took 6.6e-05s 
amarok:   [MediaDeviceCache] Odd, got a deviceRemoved at udi  "/org/freedesktop/Hal/devices/volume_uuid_3764_6539"  but it did not seem to exist in the first place... 
amarok:   BEGIN: void MountPointManager::deviceRemoved(const QString&) 
amarok:   END__: void MountPointManager::deviceRemoved(const QString&) - Took 6.1e-05s 
amarok:   BEGIN: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) 
amarok:   END__: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) - Took 6.1e-05s 
amarok: END__: void MediaDeviceCache::slotRemoveSolidDevice(const QString&) - Took 0.00078s 
kde(4876)/libplasma Plasma::DataContainer::checkUsage: "/org/freedesktop/Hal/devices/volume_uuid_3764_6539" is unused
QGraphicsLinearLayout::itemAt: invalid index 2
amarok: BEGIN: void MediaDeviceCache::slotRemoveSolidDevice(const QString&) 
amarok:   [MediaDeviceCache] udi is:  "/org/freedesktop/UDisks/devices/sdb1" 
amarok:   [MediaDeviceCache] Odd, got a deviceRemoved at udi  "/org/freedesktop/UDisks/devices/sdb1"  but it did not seem to exist in the first place... 
amarok:   BEGIN: void MountPointManager::deviceRemoved(const QString&) 
amarok:   END__: void MountPointManager::deviceRemoved(const QString&) - Took 6.9e-05s 
amarok:   BEGIN: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) 
amarok:   END__: void MediaDeviceMonitor::slotDeviceRemoved(const QString&) - Took 5.9e-05s 
amarok: END__: void MediaDeviceCache::slotRemoveSolidDevice(const QString&) - Took 0.00091s 
ASSERT: "dev->backendObject()!=0" in file /home/kde-devel/src/KDE/kdelibs/solid/solid/devicemanager.cpp, line 200
QMap<QString, QVariant> Solid::Backends::UDisks::UDisksDevice::allProperties() const error: QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.UnknownMethod", error message="Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist
", signature="", contents=() ) 
QMap<QString, QVariant> Solid::Backends::UDisks::UDisksDevice::allProperties() const error: QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.UnknownMethod", error message="Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist
", signature="", contents=() ) 
QMap<QString, QVariant> Solid::Backends::UDisks::UDisksDevice::allProperties() const error: QDBusMessage(type=Error, service="", error name="org.freedesktop.DBus.Error.UnknownMethod", error message="Method "GetAll" with signature "s" on interface "org.freedesktop.DBus.Properties" doesn't exist
", signature="", contents=() ) 
ASSERT: "dev->backendObject()!=0" in file /home/kde-devel/src/KDE/kdelibs/solid/solid/devicemanager.cpp, line 200

-- Backtrace:
Application: Run Command Interface (kdeinit4), signal: Aborted
[Current thread is 1 (Thread 0x7f1c5c26a760 (LWP 4932))]

Thread 2 (Thread 0x7f1c45bf9710 (LWP 4936)):
#0  0x00007f1c58ef7f43 in poll () from /lib/libc.so.6
#1  0x00007f1c55af3064 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007f1c55af359d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007f1c5ab8f386 in QEventDispatcherGlib::processEvents (this=0x9b0510, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:417
#4  0x00007f1c5ab63632 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#5  0x00007f1c5ab6387c in QEventLoop::exec (this=0x7f1c45bf8de0, flags=...) at kernel/qeventloop.cpp:201
#6  0x00007f1c5aa790b4 in QThread::exec (this=<value optimized out>) at thread/qthread.cpp:490
#7  0x00007f1c5ab44e38 in QInotifyFileSystemWatcherEngine::run (this=0x9c8c00) at io/qfilesystemwatcher_inotify.cpp:248
#8  0x00007f1c5aa7b88e in QThreadPrivate::start (arg=0x9c8c00) at thread/qthread_unix.cpp:266
#9  0x00007f1c5a7f2cb0 in start_thread () from /lib/libpthread.so.0
#10 0x00007f1c58f007ad in clone () from /lib/libc.so.6
#11 0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7f1c5c26a760 (LWP 4932)):
[KCrash Handler]
#6  0x00007f1c58e64565 in raise () from /lib/libc.so.6
#7  0x00007f1c58e659e6 in abort () from /lib/libc.so.6
#8  0x00007f1c5aa7384f in qt_message_output (msgType=<value optimized out>, buf=<value optimized out>) at global/qglobal.cpp:2259
#9  0x00007f1c5aa739dd in qt_message(QtMsgType, const char *, typedef __va_list_tag __va_list_tag *) (msgType=QtFatalMsg, msg=0x7f1c5abc37e8 "ASSERT: \"%s\" in file %s, line %d", ap=0x7fffba2197f0) at global/qglobal.cpp:2305
#10 0x00007f1c5aa73b75 in qFatal (msg=<value optimized out>) at global/qglobal.cpp:2488
#11 0x00007f1c52cb540a in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x90e030, udi=...) at /home/kde-devel/src/KDE/kdelibs/solid/solid/devicemanager.cpp:200
#12 0x00007f1c52cb5c42 in Solid::DeviceManagerPrivate::qt_metacall (this=0x90e030, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffba219a10) at /home/kde-devel/build/KDE/kdelibs/solid/solid/devicemanager_p.moc:80
#13 0x00007f1c5ab7970f in QMetaObject::activate (sender=0x9d74e0, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffba219a10) at kernel/qobject.cpp:3280
#14 0x00007f1c52ccb29f in Solid::Ifaces::DeviceManager::deviceRemoved (this=0x9d74e0, _t1=...) at /home/kde-devel/build/KDE/kdelibs/solid/solid/ifaces/devicemanager.moc:94
#15 0x00007f1c52d035c0 in Solid::Backends::UDisks::UDisksManager::slotDeviceRemoved (this=0x9d74e0, opath=...) at /home/kde-devel/src/KDE/kdelibs/solid/solid/backends/udisks/udisksmanager.cpp:166
#16 0x00007f1c52d03a20 in Solid::Backends::UDisks::UDisksManager::qt_metacall (this=0x9d74e0, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7fffba219cf0) at /home/kde-devel/build/KDE/kdelibs/solid/solid/backends/udisks/udisksmanager.moc:80
#17 0x00007f1c5ab7970f in QMetaObject::activate (sender=0x9d7500, m=<value optimized out>, local_signal_index=<value optimized out>, argv=0x7fffba219cf0) at kernel/qobject.cpp:3280
#18 0x00007f1c5aecd1cf in QDBusInterfacePrivate::metacall (this=0x9d7dd0, c=<value optimized out>, id=6, argv=0x7fffba219cf0) at qdbusinterface.cpp:278
#19 0x00007f1c5aeb724b in QDBusConnectionPrivate::deliverCall (this=0x9bdd00, object=0x9d7500, msg=..., metaTypes=..., slotIdx=11) at qdbusintegrator.cpp:919
#20 0x00007f1c5aec260f in QDBusCallDeliveryEvent::placeMetaCall (this=<value optimized out>, object=<value optimized out>) at qdbusintegrator_p.h:103
#21 0x00007f1c5ab7856a in QObject::event (this=0x9d7500, e=<value optimized out>) at kernel/qobject.cpp:1219
#22 0x00007f1c59d3a454 in QApplicationPrivate::notify_helper (this=0x88a7b0, receiver=0x9d7500, e=0xf1fc10) at kernel/qapplication.cpp:4397
#23 0x00007f1c59d3eeca in QApplication::notify (this=<value optimized out>, receiver=0x9d7500, e=0xf1fc10) at kernel/qapplication.cpp:4278
#24 0x00007f1c5bbdd26d in KApplication::notify (this=0x88a2c0, receiver=0x9d7500, event=0xf1fc10) at /home/kde-devel/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:310
#25 0x00007f1c5ab6429c in QCoreApplication::notifyInternal (this=0x88a2c0, receiver=0x9d7500, event=0xf1fc10) at kernel/qcoreapplication.cpp:732
#26 0x00007f1c5ab67a85 in sendEvent (receiver=0x0, event_type=0, data=0x778c00) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:215
#27 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x778c00) at kernel/qcoreapplication.cpp:1373
#28 0x00007f1c5ab8f193 in sendPostedEvents (s=<value optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:220
#29 postEventSourceDispatch (s=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:277
#30 0x00007f1c55af2b23 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#31 0x00007f1c55af3300 in ?? () from /usr/lib/libglib-2.0.so.0
#32 0x00007f1c55af359d in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#33 0x00007f1c5ab8f32f in QEventDispatcherGlib::processEvents (this=0x88a010, flags=<value optimized out>) at kernel/qeventdispatcher_glib.cpp:415
#34 0x00007f1c59dde39e in QGuiEventDispatcherGlib::processEvents (this=<value optimized out>, flags=<value optimized out>) at kernel/qguieventdispatcher_glib.cpp:204
#35 0x00007f1c5ab63632 in QEventLoop::processEvents (this=<value optimized out>, flags=...) at kernel/qeventloop.cpp:149
#36 0x00007f1c5ab6387c in QEventLoop::exec (this=0x7fffba21a8d0, flags=...) at kernel/qeventloop.cpp:201
#37 0x00007f1c5ab67d3b in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1009
#38 0x00007f1c4d6db4af in kdemain (argc=1, argv=0x8065c0) at /home/kde-devel/src/KDE/kdebase/workspace/krunner/main.cpp:65
#39 0x0000000000407159 in launch (argc=1, _name=0x87ad48 "/home/kde-devel/kde/bin/krunner", args=0x87ad68 "", cwd=0x0, envc=0, envs=0x87ad70 "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=0x40cc55 "0") at /home/kde-devel/src/KDE/kdelibs/kinit/kinit.cpp:727
#40 0x0000000000408280 in handle_launcher_request (sock=8, who=0x40ceec "launcher") at /home/kde-devel/src/KDE/kdelibs/kinit/kinit.cpp:1219
#41 0x0000000000408b34 in handle_requests (waitForPid=0) at /home/kde-devel/src/KDE/kdelibs/kinit/kinit.cpp:1412
#42 0x000000000040a5be in main (argc=4, argv=0x7fffba21b5b8, envp=0x7fffba21b5e0) at /home/kde-devel/src/KDE/kdelibs/kinit/kinit.cpp:1898

This bug may be a duplicate of or related to bug 251935, bug 251356, bug 251260.

Possible duplicates by query: bug 251935, bug 251356, bug 251260, bug 242461, bug 240717.

Reported using DrKonqi
Comment 1 Dario Andres 2010-11-18 18:44:23 UTC
[Comment from a bug triager]
This issue is related to Solid and it is being tracked at bug 251356. Merging. Thanks

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