Bug 299603 - Dolphin crash when unmounting SMB share
Summary: Dolphin crash when unmounting SMB share
Status: RESOLVED DUPLICATE of bug 296511
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 2.0
Platform: Ubuntu Linux
: NOR crash
Target Milestone: ---
Assignee: Peter Penz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-08 06:33 UTC by S. Christian Collins
Modified: 2012-05-12 17:46 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (10.23 KB, text/plain)
2012-05-12 17:46 UTC, f75.rua
Details

Note You need to log in before you can comment on or make changes to this bug.
Description S. Christian Collins 2012-05-08 06:33:08 UTC
Application: dolphin (2.0)
KDE Platform Version: 4.8.3 (4.8.3)
Qt Version: 4.8.1
Operating System: Linux 3.2.0-24-generic i686
Distribution: Ubuntu 12.04 LTS

-- Information about the crash:
- What I was doing when the application crashed: I had mounted five network shares, all of which appeared on the places panel in Dolphin.  Upon unmounting the network shares through a terminal, Dolphin crashed.

Here are the steps I take to reproduce the crash:
1) With Dolphin closed, open a terminal and mount one or more network shares using a command similar to the following:

sudo mount -t cifs //remotepc/Share /mnt/remotepc/Share -o iocharset=utf8,credentials=/home/user/.auth.remotepc.user,uid=user,gid=privileged

2) Open Dolphin.  You will see the mounted network share(s) in the places panel.

3) From the terminal, run the following command:

sudo umount /mnt/remotepc/Share

CRASH!

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[Current thread is 1 (Thread 0xb77a0740 (LWP 4155))]

Thread 3 (Thread 0xb6a37b40 (LWP 4156)):
#0  0x00ebadc8 in __pthread_mutex_lock (mutex=0xb6100550) at pthread_mutex_lock.c:92
#1  0x00bf75f4 in pthread_mutex_lock (mutex=0xb6100550) at forward.c:182
#2  0x098e6390 in g_mutex_lock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x098a6868 in g_main_context_query () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x098a6fce in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x098a71c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#6  0x035888e7 in QEventDispatcherGlib::processEvents (this=0xb6100468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#7  0x0355450d in QEventLoop::processEvents (this=0xb6a37240, flags=...) at kernel/qeventloop.cpp:149
#8  0x035547a9 in QEventLoop::exec (this=0xb6a37240, flags=...) at kernel/qeventloop.cpp:204
#9  0x0343d94c in QThread::exec (this=0x9ade488) at thread/qthread.cpp:501
#10 0x03531b5d in QInotifyFileSystemWatcherEngine::run (this=0x9ade488) at io/qfilesystemwatcher_inotify.cpp:248
#11 0x03440de0 in QThreadPrivate::start (arg=0x9ade488) at thread/qthread_unix.cpp:298
#12 0x00eb8d4c in start_thread (arg=0xb6a37b40) at pthread_create.c:308
#13 0x00be9ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 2 (Thread 0xb5db4b40 (LWP 4157)):
#0  0x00ebbc64 in __pthread_mutex_unlock_usercnt (mutex=0xb5400550, decr=1) at pthread_mutex_unlock.c:52
#1  0x00bf7634 in pthread_mutex_unlock (mutex=0xb5400550) at forward.c:184
#2  0x098e63d0 in g_mutex_unlock () from /lib/i386-linux-gnu/libglib-2.0.so.0
#3  0x098a705b in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#4  0x098a71c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#5  0x035888e7 in QEventDispatcherGlib::processEvents (this=0xb5400468, flags=...) at kernel/qeventdispatcher_glib.cpp:426
#6  0x0355450d in QEventLoop::processEvents (this=0xb5db4240, flags=...) at kernel/qeventloop.cpp:149
#7  0x035547a9 in QEventLoop::exec (this=0xb5db4240, flags=...) at kernel/qeventloop.cpp:204
#8  0x0343d94c in QThread::exec (this=0x9b621f8) at thread/qthread.cpp:501
#9  0x03531b5d in QInotifyFileSystemWatcherEngine::run (this=0x9b621f8) at io/qfilesystemwatcher_inotify.cpp:248
#10 0x03440de0 in QThreadPrivate::start (arg=0x9b621f8) at thread/qthread_unix.cpp:298
#11 0x00eb8d4c in start_thread (arg=0xb5db4b40) at pthread_create.c:308
#12 0x00be9ace in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130

Thread 1 (Thread 0xb77a0740 (LWP 4155)):
[KCrash Handler]
#7  ref (this=0x11) at ../../include/QtCore/../../src/corelib/arch/qatomic_i386.h:120
#8  QString::operator= (this=0xbfc88fc8, other=...) at tools/qstring.cpp:1410
#9  0x05b37c92 in Solid::Backends::Fstab::FstabStorageAccess::FstabStorageAccess (this=0xbfc88fb4, device=0x9ebc080, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../solid/solid/backends/fstab/fstabstorageaccess.cpp:40
#10 0x05b36024 in Solid::Backends::Fstab::FstabDevice::emblems (this=0x9ebc080) at ../../../solid/solid/backends/fstab/fstabdevice.cpp:80
#11 0x05ab187c in Solid::Device::emblems (this=0xbfc89064) at ../../../solid/solid/device.cpp:143
#12 0x001d60da in KFilePlacesItem::deviceData (this=0x9ebdcf0, role=1) at ../../kfile/kfileplacesitem.cpp:174
#13 0x001d7778 in KFilePlacesItem::data (this=0x9ebdcf0, role=1) at ../../kfile/kfileplacesitem.cpp:127
#14 0x001d7bf6 in KFilePlacesModel::data (this=0x9abbea8, index=..., role=1) at ../../kfile/kfileplacesmodel.cpp:270
#15 0x001d80a6 in KFilePlacesModel::icon (this=0x9abbea8, index=...) at ../../kfile/kfileplacesmodel.cpp:213
#16 0x001fc18c in KDEPrivate::KUrlNavigatorPlacesSelector::updateMenu (this=0x9b2eb98) at ../../kfile/kurlnavigatorplacesselector.cpp:79
#17 0x0356c6b1 in QMetaObject::activate (sender=0x9abbea8, m=0x36b32b8, local_signal_index=7, argv=0xbfc89320) at kernel/qobject.cpp:3547
#18 0x035be4b5 in QAbstractItemModel::rowsRemoved (this=0x9abbea8, _t1=..., _t2=11, _t3=11) at .moc/release-shared/moc_qabstractitemmodel.cpp:211
#19 0x0354f36e in QAbstractItemModel::endRemoveRows (this=0x9abbea8) at kernel/qabstractitemmodel.cpp:2487
#20 0x001dba1f in KFilePlacesModel::Private::_k_reloadBookmarks (this=0x9ac8028) at ../../kfile/kfileplacesmodel.cpp:432
#21 0x001dc588 in KFilePlacesModel::Private::_k_deviceRemoved (this=0x9ac8028, udi=...) at ../../kfile/kfileplacesmodel.cpp:364
#22 0x001dd0d2 in qt_static_metacall (_a=0xbfc895d8, _id=4, _o=0x9abbea8, _c=<optimized out>) at ./kfileplacesmodel.moc:70
#23 KFilePlacesModel::qt_static_metacall (_o=0x9abbea8, _c=QMetaObject::InvokeMetaMethod, _id=4, _a=0xbfc895d8) at ./kfileplacesmodel.moc:60
#24 0x0356c6b1 in QMetaObject::activate (sender=0x9ac1ed0, m=0x5b6bce0, local_signal_index=1, argv=0xbfc895d8) at kernel/qobject.cpp:3547
#25 0x05ab2ab5 in Solid::DeviceNotifier::deviceRemoved (this=0x9ac1ed0, _t1=...) at ./devicenotifier.moc:108
#26 0x05ab3fb4 in Solid::DeviceManagerPrivate::_k_deviceRemoved (this=0x9ac1ed0, udi=...) at ../../../solid/solid/devicemanager.cpp:207
#27 0x0356c6b1 in QMetaObject::activate (sender=0x9af6398, m=0x5b6cdec, local_signal_index=1, argv=0xbfc89718) at kernel/qobject.cpp:3547
#28 0x05acbec5 in Solid::Ifaces::DeviceManager::deviceRemoved (this=0x9af6398, _t1=...) at ./ifaces/devicemanager.moc:108
#29 0x05b35274 in Solid::Backends::Fstab::FstabManager::_k_updateDeviceList (this=0x9af6398) at ../../../solid/solid/backends/fstab/fstabmanager.cpp:126
#30 0x05b355e1 in Solid::Backends::Fstab::FstabManager::onMtabChanged (this=0x9af6398) at ../../../solid/solid/backends/fstab/fstabmanager.cpp:136
#31 0x05ab0470 in qt_static_metacall (_a=0xbfc89880, _id=2, _o=0x9af6398, _c=<optimized out>) at moc_fstabmanager.cpp:57
#32 Solid::Backends::Fstab::FstabManager::qt_static_metacall (_o=0x9af6398, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc89880) at moc_fstabmanager.cpp:49
#33 0x0356c6b1 in QMetaObject::activate (sender=0x9ade180, m=0x5b6baa4, local_signal_index=0, argv=0x0) at kernel/qobject.cpp:3547
#34 0x05ab0255 in Solid::Backends::Fstab::FstabWatcher::mtabChanged (this=0x9ade180) at moc_fstabwatcher.cpp:107
#35 0x05b3a9b8 in Solid::Backends::Fstab::FstabWatcher::onFileChanged (this=0x9ade180, path=...) at ../../../solid/solid/backends/fstab/fstabwatcher.cpp:104
#36 0x05ab030f in qt_static_metacall (_a=0xbfc89a38, _id=2, _o=0x9ade180, _c=<optimized out>) at moc_fstabwatcher.cpp:58
#37 Solid::Backends::Fstab::FstabWatcher::qt_static_metacall (_o=0x9ade180, _c=QMetaObject::InvokeMetaMethod, _id=2, _a=0xbfc89a38) at moc_fstabwatcher.cpp:50
#38 0x0356c6b1 in QMetaObject::activate (sender=0x9af9e48, m=0x36b1a40, local_signal_index=0, argv=0xbfc89a38) at kernel/qobject.cpp:3547
#39 0x03520aa5 in QFileSystemWatcher::fileChanged (this=0x9af9e48, _t1=...) at .moc/release-shared/moc_qfilesystemwatcher.cpp:109
#40 0x03520dde in QFileSystemWatcherPrivate::_q_fileChanged (this=0x9adf118, path=..., removed=true) at io/qfilesystemwatcher.cpp:346
#41 0x03567c01 in QMetaCallEvent::placeMetaCall (this=0xb61024d8, object=0x9af9e48) at kernel/qobject.cpp:525
#42 0x03570c7b in QObject::event (this=0x9af9e48, e=0xb61024d8) at kernel/qobject.cpp:1195
#43 0x027d7ed4 in notify_helper (e=0xb61024d8, receiver=0x9af9e48, this=0x998fbd8) at kernel/qapplication.cpp:4559
#44 QApplicationPrivate::notify_helper (this=0x998fbd8, receiver=0x9af9e48, e=0xb61024d8) at kernel/qapplication.cpp:4531
#45 0x027dd30d in QApplication::notify (this=0xb61024d8, receiver=0x9af9e48, e=0xb61024d8) at kernel/qapplication.cpp:4288
#46 0x010f1b61 in KApplication::notify (this=0xbfc8a268, receiver=0x9af9e48, event=0xb61024d8) at ../../kdeui/kernel/kapplication.cpp:311
#47 0x0355597e in QCoreApplication::notifyInternal (this=0xbfc8a268, receiver=0x9af9e48, event=0xb61024d8) at kernel/qcoreapplication.cpp:876
#48 0x03559ad8 in sendEvent (event=<optimized out>, receiver=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:231
#49 QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x9969c18) at kernel/qcoreapplication.cpp:1500
#50 0x03559e0c in QCoreApplication::sendPostedEvents (receiver=0x0, event_type=0) at kernel/qcoreapplication.cpp:1393
#51 0x03588494 in sendPostedEvents () at ../../include/QtCore/../../src/corelib/kernel/qcoreapplication.h:236
#52 postEventSourceDispatch (s=0x99819d0) at kernel/qeventdispatcher_glib.cpp:279
#53 0x098a6cda in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#54 0x098a70e5 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#55 0x098a71c1 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#56 0x03588887 in QEventDispatcherGlib::processEvents (this=0x996a798, flags=...) at kernel/qeventdispatcher_glib.cpp:424
#57 0x02890aaa in QGuiEventDispatcherGlib::processEvents (this=0x996a798, flags=...) at kernel/qguieventdispatcher_glib.cpp:204
#58 0x0355450d in QEventLoop::processEvents (this=0xbfc8a1d4, flags=...) at kernel/qeventloop.cpp:149
#59 0x035547a9 in QEventLoop::exec (this=0xbfc8a1d4, flags=...) at kernel/qeventloop.cpp:204
#60 0x03559eba in QCoreApplication::exec () at kernel/qcoreapplication.cpp:1148
#61 0x027d5a74 in QApplication::exec () at kernel/qapplication.cpp:3820
#62 0x009b31da in kdemain (argc=5, argv=0xbfc8a454) at ../../../dolphin/src/main.cpp:89
#63 0x0804850b in main (argc=5, argv=0xbfc8a454) at dolphin_dummy.cpp:3

Possible duplicates by query: bug 299078, bug 298527, bug 298007, bug 296537, bug 296511.

Reported using DrKonqi
Comment 1 Jekyll Wu 2012-05-08 07:07:58 UTC

*** This bug has been marked as a duplicate of bug 296511 ***
Comment 2 f75.rua 2012-05-12 17:46:39 UTC
Created attachment 71047 [details]
New crash information added by DrKonqi

dolphin (2.0) on KDE Platform 4.8.3 (4.8.3) using Qt 4.8.1

- What I was doing when the application crashed: I was doing a "umount" of a samba share in a terminal when dolphin crashed.

-- Backtrace (Reduced):
#7  QString::operator= (this=0x7fffef9df4d8, other=...) at tools/qstring.cpp:1410
#8  0x00007f75603fb63c in Solid::Backends::Fstab::FstabStorageAccess::FstabStorageAccess (this=0x7fffef9df4b0, device=0x10030e0, __in_chrg=<optimized out>, __vtt_parm=<optimized out>) at ../../../solid/solid/backends/fstab/fstabstorageaccess.cpp:40
#9  0x00007f75603f9da1 in Solid::Backends::Fstab::FstabDevice::emblems (this=<optimized out>) at ../../../solid/solid/backends/fstab/fstabdevice.cpp:80
#10 0x00007f7560385489 in Solid::Device::emblems (this=<optimized out>) at ../../../solid/solid/device.cpp:143
#11 0x00007f7564674349 in KFilePlacesItem::deviceData (this=0x10298c0, role=1) at ../../kfile/kfileplacesitem.cpp:174