Bug 240807

Summary: Dolphin crashes on usb device removal
Product: [Applications] dolphin Reporter: Anselmo L. S. Melo (anselmolsm) <anselmolsm>
Component: generalAssignee: Peter Penz <peter.penz19>
Status: RESOLVED DUPLICATE    
Severity: crash    
Priority: NOR    
Version: 16.12.2   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Anselmo L. S. Melo (anselmolsm) 2010-06-05 14:25:43 UTC
Application: dolphin (1.4.9)
KDE Platform Version: 4.4.82 (KDE 4.4.82 (KDE 4.5 >= 20100601)) (Compiled from sources)
Qt Version: 4.6.3
Operating System: Linux 2.6.31.12-0.2-default i686
Distribution: "openSUSE 11.2 (i586)"

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

I mounted the my mobile phone's sd card (a N85). After unmount (using the 'Places' section in dolphin) everything is ok, but when I remove the device from USB, dolphin crashes.

It's always reproductible, seems to happen with all mass storage devices connected to USB (repeated the test with an external HDD and stick).

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (kdeinit4), signal: Segmentation fault
[KCrash Handler]
#7  0xb51e8b2c in QBasicAtomicInt::operator== (this=0x690008, value=0) at /usr/include/QtCore/qbasicatomic.h:70
#8  0xb51ea8d5 in QWeakPointer<Solid::Ifaces::Device>::data (this=0x8503318) at /usr/include/QtCore/qsharedpointer_impl.h:553
#9  0xb51ea3b2 in Solid::DevicePrivate::backendObject (this=0x8503308) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/solid/solid/device_p.h:43
#10 0xb51e9183 in Solid::Device::isValid (this=0xbfec99e4) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/solid/solid/device.cpp:94
#11 0xb1718ee1 in KFilePlacesItem::deviceData (this=0x8518cc8, role=110940459) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kfile/kfileplacesitem.cpp:166
#12 0xb1718bb5 in KFilePlacesItem::data (this=0x8518cc8, role=110940459) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kfile/kfileplacesitem.cpp:125
#13 0xb171b636 in KFilePlacesModel::closestItem (this=0x81b3e50, url=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kfile/kfileplacesmodel.cpp:309
#14 0xb172448a in KFilePlacesView::setUrl (this=0x8392860, url=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kfile/kfileplacesview.cpp:450
#15 0xb172818a in KFilePlacesView::qt_metacall (this=0x8392860, _c=InvokeMetaMethod, _id=2, _a=0xbfec9ca8) at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/kfile/kfileplacesview.moc:114
#16 0xb17b9bf8 in PlacesPanel::qt_metacall (this=0x8392860, _c=InvokeMetaMethod, _id=72, _a=0xbfec9ca8) at /home/anselmo/projects/kde/trunk/build/KDE/kdebase/apps/dolphin/src/placespanel.moc:75
#17 0xb6cb699d in QMetaObject::metacall (object=0x8392860, cl=3052512160, idx=72, argv=0xbfec9ca8) at kernel/qmetaobject.cpp:237
#18 0xb6cc5bb0 in QMetaObject::activate (sender=0x8152f48, m=0xb181b280, local_signal_index=1, argv=0xbfec9ca8) at kernel/qobject.cpp:3287
#19 0xb17a683e in DolphinMainWindow::urlChanged (this=0x8152f48, _t1=...) at /home/anselmo/projects/kde/trunk/build/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.moc:304
#20 0xb179c06a in DolphinMainWindow::changeUrl (this=0x8152f48, url=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp:315
#21 0xb17a611c in DolphinMainWindow::qt_metacall (this=0x8152f48, _c=InvokeMetaMethod, _id=5, _a=0xbfec9e18)
    at /home/anselmo/projects/kde/trunk/build/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.moc:200
#22 0xb6cb699d in QMetaObject::metacall (object=0x8152f48, cl=3052512160, idx=51, argv=0xbfec9e18) at kernel/qmetaobject.cpp:237
#23 0xb6cc5bb0 in QMetaObject::activate (sender=0x81b2eb0, m=0xb1775af4, local_signal_index=1, argv=0xbfec9e18) at kernel/qobject.cpp:3287
#24 0xb1749836 in KUrlNavigator::urlChanged (this=0x81b2eb0, _t1=...) at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/kfile/kurlnavigator.moc:160
#25 0xb1748ce4 in KUrlNavigator::setLocationUrl (this=0x81b2eb0, newUrl=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kfile/kurlnavigator.cpp:1055
#26 0xb17ab6d1 in DolphinViewContainer::setUrl (this=0x81ea7f0, newUrl=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdebase/apps/dolphin/src/dolphinviewcontainer.cpp:228
#27 0xb179bf20 in DolphinMainWindow::changeUrl (this=0x8152f48, url=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp:305
#28 0xb179fb68 in DolphinMainWindow::handlePlacesClick (this=0x8152f48, url=..., buttons=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.cpp:1116
#29 0xb17a65f2 in DolphinMainWindow::qt_metacall (this=0x8152f48, _c=InvokeMetaMethod, _id=58, _a=0xbfeca0f4)
    at /home/anselmo/projects/kde/trunk/build/KDE/kdebase/apps/dolphin/src/dolphinmainwindow.moc:253
#30 0xb6cb699d in QMetaObject::metacall (object=0x8152f48, cl=3052512160, idx=104, argv=0xbfeca0f4) at kernel/qmetaobject.cpp:237
#31 0xb6cc5bb0 in QMetaObject::activate (sender=0x8392860, m=0xb181c0fc, local_signal_index=0, argv=0xbfeca0f4) at kernel/qobject.cpp:3287
#32 0xb17b9d0f in PlacesPanel::urlChanged (this=0x8392860, _t1=..., _t2=...) at /home/anselmo/projects/kde/trunk/build/KDE/kdebase/apps/dolphin/src/placespanel.moc:94
#33 0xb17b9a80 in PlacesPanel::rowsAboutToBeRemoved (this=0x8392860, parent=..., start=13, end=13)
    at /home/anselmo/projects/kde/trunk/src/KDE/kdebase/apps/dolphin/src/panels/places/placespanel.cpp:61
#34 0xb672c8a9 in QAbstractItemView::qt_metacall (this=0x8392860, _c=InvokeMetaMethod, _id=18, _a=0xbfeca310) at .moc/release-shared/moc_qabstractitemview.cpp:236
#35 0xb68c7aa2 in QListView::qt_metacall (this=0x8392860, _c=InvokeMetaMethod, _id=49, _a=0xbfeca310) at .moc/release-shared/moc_qlistview.cpp:111
#36 0xb17280e9 in KFilePlacesView::qt_metacall (this=0x8392860, _c=InvokeMetaMethod, _id=49, _a=0xbfeca310) at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/kfile/kfileplacesview.moc:107
#37 0xb17b9bf8 in PlacesPanel::qt_metacall (this=0x8392860, _c=InvokeMetaMethod, _id=49, _a=0xbfeca310) at /home/anselmo/projects/kde/trunk/build/KDE/kdebase/apps/dolphin/src/placespanel.moc:75
#38 0xb6cb699d in QMetaObject::metacall (object=0x8392860, cl=3052512160, idx=49, argv=0xbfeca310) at kernel/qmetaobject.cpp:237
#39 0xb6cc5bb0 in QMetaObject::activate (sender=0x81b3e50, m=0xb6dc9198, local_signal_index=6, argv=0xbfeca310) at kernel/qobject.cpp:3287
#40 0xb6d18d25 in QAbstractItemModel::rowsAboutToBeRemoved (this=0x81b3e50, _t1=..., _t2=13, _t3=13) at .moc/release-shared/moc_qabstractitemmodel.cpp:188
#41 0xb6ca846a in QAbstractItemModel::beginRemoveRows (this=0x81b3e50, parent=..., first=13, last=13) at kernel/qabstractitemmodel.cpp:2450
#42 0xb171bdfa in KFilePlacesModel::Private::_k_reloadBookmarks (this=0x81e14e0) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kfile/kfileplacesmodel.cpp:398
#43 0xb171b9ed in KFilePlacesModel::Private::_k_deviceRemoved (this=0x81e14e0, udi=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kfile/kfileplacesmodel.cpp:358
#44 0xb171e730 in KFilePlacesModel::qt_metacall (this=0x81b3e50, _c=InvokeMetaMethod, _id=4, _a=0xbfeca608) at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/kfile/kfileplacesmodel.moc:93
#45 0xb6cb699d in QMetaObject::metacall (object=0x81b3e50, cl=3052512160, idx=28, argv=0xbfeca608) at kernel/qmetaobject.cpp:237
#46 0xb6cc5bb0 in QMetaObject::activate (sender=0x81ec1a8, m=0xb5267468, local_signal_index=1, argv=0xbfeca608) at kernel/qobject.cpp:3287
#47 0xb51ed278 in Solid::DeviceNotifier::deviceRemoved (this=0x81ec1a8, _t1=...) at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/solid/solid/devicenotifier.moc:94
#48 0xb51ecc2e in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x81ec1a8, udi=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/solid/solid/devicemanager.cpp:204
#49 0xb51ed3c1 in Solid::DeviceManagerPrivate::qt_metacall (this=0x81ec1a8, _c=InvokeMetaMethod, _id=1, _a=0xbfeca748)
    at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/solid/solid/devicemanager_p.moc:80
#50 0xb6cb699d in QMetaObject::metacall (object=0x81ec1a8, cl=3052512160, idx=7, argv=0xbfeca748) at kernel/qmetaobject.cpp:237
#51 0xb6cc5bb0 in QMetaObject::activate (sender=0x81ec190, m=0xb52684e0, local_signal_index=1, argv=0xbfeca748) at kernel/qobject.cpp:3287
#52 0xb52036d2 in Solid::Ifaces::DeviceManager::deviceRemoved (this=0x81ec190, _t1=...) at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/solid/solid/ifaces/devicemanager.moc:94
#53 0xb5230c46 in Solid::Backends::Hal::HalManager::slotDeviceRemoved (this=0x81ec190, udi=...) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/solid/solid/backends/hal/halmanager.cpp:250
#54 0xb5230d6c in Solid::Backends::Hal::HalManager::qt_metacall (this=0x81ec190, _c=InvokeMetaMethod, _id=1, _a=0xbfeca88c)
    at /home/anselmo/projects/kde/trunk/build/KDE/kdelibs/solid/solid/backends/hal/halmanager.moc:78
#55 0xb6decd5e in QDBusConnectionPrivate::deliverCall (this=0x8204bf8, object=0x81ec190, msg=..., metaTypes=..., slotIdx=6881288) at qdbusintegrator.cpp:904
#56 0xb6df92d6 in QDBusCallDeliveryEvent::placeMetaCall (this=0x86c7ce8, object=0x81ec190) at qdbusintegrator_p.h:101
#57 0xb6cc24cf in QObject::event (this=0x81ec190, e=0x86c7ce8) at kernel/qobject.cpp:1240
#58 0xb618f2ac in QApplicationPrivate::notify_helper (this=0x80cb5b0, receiver=0x81ec190, e=0x86c7ce8) at kernel/qapplication.cpp:4302
#59 0xb61960e8 in QApplication::notify (this=0xbfecb0f4, receiver=0x81ec190, e=0x86c7ce8) at kernel/qapplication.cpp:4185
#60 0xb74691b4 in KApplication::notify (this=0xbfecb0f4, receiver=0x81ec190, event=0x86c7ce8) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:302
#61 0xb6cb158e in QCoreApplication::notifyInternal (this=0xbfecb0f4, receiver=0x81ec190, event=0x86c7ce8) at kernel/qcoreapplication.cpp:726
#62 0xb6cb5097 in sendEvent (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.h:215
#63 QCoreApplicationPrivate::sendPostedEvents (event=<value optimized out>, receiver=<value optimized out>) at kernel/qcoreapplication.cpp:1367
#64 0xb6cb521c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1260
#65 0xb6cde6cd in sendPostedEvents () at kernel/qcoreapplication.h:220
#66 postEventSourceDispatch () at kernel/qeventdispatcher_glib.cpp:276
#67 0xb5a2c4c2 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#68 0xb5a2fd98 in ?? () from /usr/lib/libglib-2.0.so.0
#69 0xb5a2febe in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#70 0xb6cde1b1 in QEventDispatcherGlib::processEvents (this=0x80cab30, flags=...) at kernel/qeventdispatcher_glib.cpp:412
#71 0xb624fdfa in QGuiEventDispatcherGlib::processEvents (this=0x80cab30, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#72 0xb6cafbfd in QEventLoop::processEvents (this=0xbfecb074, flags=) at kernel/qeventloop.cpp:149
#73 0xb6cb0049 in QEventLoop::exec (this=0xbfecb074, flags=...) at kernel/qeventloop.cpp:201
#74 0xb6cb52f0 in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1003
#75 0xb618f354 in QApplication::exec () at kernel/qapplication.cpp:3581
#76 0xb17b1844 in kdemain (argc=5, argv=0x80b1468) at /home/anselmo/projects/kde/trunk/src/KDE/kdebase/apps/dolphin/src/main.cpp:98
#77 0x0804dcf2 in launch (argc=5, _name=0x80b0ff4 "/usr/kde/trunk/bin/dolphin", args=0x80b103a "\001", cwd=0x0, envc=1, envs=0x80b104b "", reset_env=false, tty=0x0, avoid_loops=false, startup_id_str=
    0x80b104f "skadi;1275739498;639545;2596_TIME3774624") at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kinit/kinit.cpp:723
#78 0x0804ed87 in handle_launcher_request (sock=8, who=0x80530c8 "launcher") at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kinit/kinit.cpp:1215
#79 0x0804f4b2 in handle_requests (waitForPid=0) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kinit/kinit.cpp:1408
#80 0x08050dda in main (argc=4, argv=0xbfecb874, envp=0xbfecb888) at /home/anselmo/projects/kde/trunk/src/KDE/kdelibs/kinit/kinit.cpp:1892

This bug may be a duplicate of or related to bug 229096.

Reported using DrKonqi
Comment 1 Christoph Feck 2010-06-10 02:12:44 UTC

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