Bug 178391 - Crash when umounting external media
Summary: Crash when umounting external media
Status: RESOLVED FIXED
Alias: None
Product: solid
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR crash
Target Milestone: ---
Assignee: Kevin Ottens
URL:
Keywords:
: 181440 182197 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-12-21 19:03 UTC by Frederik Schwarzer
Modified: 2009-02-22 13:16 UTC (History)
3 users (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 Frederik Schwarzer 2008-12-21 19:03:11 UTC
Version:            (using Devel)
Installed from:    Compiled sources

1. mount an external media
2. press F9 to close places
3. browse to some local folder
4. click the icon on the most left of the breadcrump and hold it until the menu opens
5. choose to unmount the external media

Here this atempt crashes dolphin before being able to unmount the media.
Comment 1 Frederik Schwarzer 2008-12-21 19:03:32 UTC
Anwendung: Dolphin (dolphin), Signal SIGSEGV
[Current thread is 0 (LWP 17973)]

Thread 2 (Thread 0xb4018b90 (LWP 17989)):
#0  0xb7f0c424 in __kernel_vsyscall ()
#1  0xb654b9f1 in select () from /lib/i686/cmov/libc.so.6
#2  0xb682e660 in ?? () from /usr/lib/libQtCore.so.4
#3  0xb675f52e in ?? () from /usr/lib/libQtCore.so.4
#4  0xb66f64c0 in start_thread () from /lib/i686/cmov/libpthread.so.0
#5  0xb655361e in clone () from /lib/i686/cmov/libc.so.6

Thread 1 (Thread 0xb5cd3740 (LWP 17973)):
[KCrash Handler]
#6  0xb62c5ff0 in Solid::StorageAccess::d_func (this=0x0) at /home/compiler/kde/src/KDE/kdelibs/solid/solid/storageaccess.h:45
#7  0xb62c582f in Solid::StorageAccess::teardown (this=0x0) at /home/compiler/kde/src/KDE/kdelibs/solid/solid/storageaccess.cpp:73
#8  0xb7c85467 in KFilePlacesModel::requestTeardown (this=0x815a170, index=@0xbfd256dc) at /home/compiler/kde/src/KDE/kdelibs/kfile/kfileplacesmodel.cpp:735
#9  0xb7c8ae01 in KFilePlacesSelector::activatePlace (this=0x83d9e28, action=0x83c5f70) at /home/compiler/kde/src/KDE/kdelibs/kfile/kfileplacesselector.cpp:203
#10 0xb7c8b3cd in KFilePlacesSelector::qt_metacall (this=0x83d9e28, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0xbfd2583c) at /home/compiler/kde/build/KDE/kdelibs/kfile/kfileplacesselector_p.moc:75
#11 0xb6863bd0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#12 0xb6864952 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#13 0xb6e3b4f3 in QMenu::triggered () from /usr/lib/libQtGui.so.4
#14 0xb6e3c7bb in ?? () from /usr/lib/libQtGui.so.4
#15 0xb6e459b6 in QMenu::qt_metacall () from /usr/lib/libQtGui.so.4
#16 0xb77a7f42 in KMenu::qt_metacall (this=0x83e2878, _c=QMetaObject::InvokeMetaMethod, _id=35, _a=0xbfd259ac) at /home/compiler/kde/build/KDE/kdelibs/kdeui/kmenu.moc:69
#17 0xb6863bd0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#18 0xb6863fd0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#19 0xb6a694a1 in QAction::triggered () from /usr/lib/libQtGui.so.4
#20 0xb6a69e0f in QAction::activate () from /usr/lib/libQtGui.so.4
#21 0xb6e431f4 in ?? () from /usr/lib/libQtGui.so.4
#22 0xb6e43c82 in QMenu::mouseReleaseEvent () from /usr/lib/libQtGui.so.4
#23 0xb77a7dfe in KMenu::mouseReleaseEvent (this=0x83e2878, e=0xbfd261bc) at /home/compiler/kde/src/KDE/kdelibs/kdeui/widgets/kmenu.cpp:454
#24 0xb6ac77c2 in QWidget::event () from /usr/lib/libQtGui.so.4
#25 0xb6e45f79 in QMenu::event () from /usr/lib/libQtGui.so.4
#26 0xb6a6f79c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#27 0xb6a77fd1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#28 0xb76c6eff in KApplication::notify (this=0xbfd27690, receiver=0x83e2878, event=0xbfd261bc) at /home/compiler/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#29 0xb684f0d1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#30 0xb6a7725e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#31 0xb6ae1047 in ?? () from /usr/lib/libQtGui.so.4
#32 0xb6adfbe1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#33 0xb6b0a1a8 in ?? () from /usr/lib/libQtGui.so.4
#34 0xb684d79a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#35 0xb684d95a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#36 0xb6e45d41 in QMenu::exec () from /usr/lib/libQtGui.so.4
#37 0xb6e520ba in ?? () from /usr/lib/libQtGui.so.4
#38 0xb6e5375f in QPushButton::qt_metacall () from /usr/lib/libQtGui.so.4
#39 0xb7c9beba in KUrlButton::qt_metacall (this=0x83d9e28, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfd26968) at /home/compiler/kde/build/KDE/kdelibs/kfile/kurlbutton_p.moc:57
#40 0xb7c8b362 in KFilePlacesSelector::qt_metacall (this=0x83d9e28, _c=QMetaObject::InvokeMetaMethod, _id=40, _a=0xbfd26968) at /home/compiler/kde/build/KDE/kdelibs/kfile/kfileplacesselector_p.moc:69
#41 0xb6863bd0 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#42 0xb6864952 in QMetaObject::activate () from /usr/lib/libQtCore.so.4
#43 0xb7059aa7 in QAbstractButton::pressed () from /usr/lib/libQtGui.so.4
#44 0xb6dac9b9 in ?? () from /usr/lib/libQtGui.so.4
#45 0xb6dacb9e in QAbstractButton::mousePressEvent () from /usr/lib/libQtGui.so.4
#46 0xb6ac77a9 in QWidget::event () from /usr/lib/libQtGui.so.4
#47 0xb6daccae in QAbstractButton::event () from /usr/lib/libQtGui.so.4
#48 0xb6e53590 in QPushButton::event () from /usr/lib/libQtGui.so.4
#49 0xb6a6f79c in QApplicationPrivate::notify_helper () from /usr/lib/libQtGui.so.4
#50 0xb6a77fd1 in QApplication::notify () from /usr/lib/libQtGui.so.4
#51 0xb76c6eff in KApplication::notify (this=0xbfd27690, receiver=0x83d9e28, event=0xbfd2701c) at /home/compiler/kde/src/KDE/kdelibs/kdeui/kernel/kapplication.cpp:307
#52 0xb684f0d1 in QCoreApplication::notifyInternal () from /usr/lib/libQtCore.so.4
#53 0xb6a7725e in QApplicationPrivate::sendMouseEvent () from /usr/lib/libQtGui.so.4
#54 0xb6ae0dfd in ?? () from /usr/lib/libQtGui.so.4
#55 0xb6adfbe1 in QApplication::x11ProcessEvent () from /usr/lib/libQtGui.so.4
#56 0xb6b0a1a8 in ?? () from /usr/lib/libQtGui.so.4
#57 0xb684d79a in QEventLoop::processEvents () from /usr/lib/libQtCore.so.4
#58 0xb684d95a in QEventLoop::exec () from /usr/lib/libQtCore.so.4
#59 0xb6850015 in QCoreApplication::exec () from /usr/lib/libQtCore.so.4
#60 0xb6a6f617 in QApplication::exec () from /usr/lib/libQtGui.so.4
#61 0x080864e0 in main (argc=6, argv=0xbfd27844) at /home/compiler/kde/src/KDE/kdebase/apps/dolphin/src/main.cpp:94

Comment 2 Dario Andres 2009-01-21 00:58:52 UTC
*** Bug 181440 has been marked as a duplicate of this bug. ***
Comment 3 Dario Andres 2009-01-29 17:01:54 UTC
*** Bug 182197 has been marked as a duplicate of this bug. ***
Comment 4 Kevin Ottens 2009-02-22 13:16:08 UTC
SVN commit 929876 by ervin:

Not sure what caused this crash as I can't reproduce it.
In any case checking the access pointer before calling teardown() can't
hurt.

BUG: 178391


 M  +5 -4      kfileplacesmodel.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=929876