Bug 391274 - Crash when unmounting volume from the Places view in dolphin
Summary: Crash when unmounting volume from the Places view in dolphin
Status: RESOLVED WORKSFORME
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2018-03-02 02:40 UTC by Aleix Pol
Modified: 2020-11-24 04:34 UTC (History)
6 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (8.70 KB, text/plain)
2018-03-05 06:38 UTC, Bhushan Shah
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleix Pol 2018-03-02 02:40:34 UTC
Application: dolphin (18.03.70)
 (Compiled from sources)
Qt Version: 5.10.1
Frameworks Version: 5.43.0
Operating System: Linux 4.15.5-1-ARCH x86_64
Distribution (Platform): Archlinux Packages

-- Information about the crash:
- What I was doing when the application crashed:
As soon as I unmounted the volume it crashed. Didn't say good bye.

-- Backtrace:
Application: Dolphin (dolphin), signal: Aborted
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fa19e5a7840 (LWP 32458))]

Thread 3 (Thread 0x7fa19082c700 (LWP 32460)):
#0  0x00007fa1a9fa13d8 in read () from /usr/lib/libc.so.6
#1  0x00007fa1a279e7d1 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa1a2758ac8 in g_main_context_check () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa1a2758f96 in ?? () from /usr/lib/libglib-2.0.so.0
#4  0x00007fa1a275910e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#5  0x00007fa1aae71feb in QEventDispatcherGlib::processEvents (this=0x7fa18c000b20, flags=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#6  0x00007fa1aae15a8a in QEventLoop::exec (this=this@entry=0x7fa19082bd60, flags=..., flags@entry=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212
#7  0x00007fa1aac2b67a in QThread::exec (this=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/thread/qthread.cpp:522
#8  0x00007fa1aac3084f in QThreadPrivate::start (arg=0x560635f0b530) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:376
#9  0x00007fa1a6b1008c in start_thread () from /usr/lib/libpthread.so.0
#10 0x00007fa1a9fafe7f in clone () from /usr/lib/libc.so.6

Thread 2 (Thread 0x7fa19c39f700 (LWP 32459)):
#0  0x00007fa1a9fa597b in poll () from /usr/lib/libc.so.6
#1  0x00007fa1a2758ff3 in ?? () from /usr/lib/libglib-2.0.so.0
#2  0x00007fa1a275910e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#3  0x00007fa1aae71feb in QEventDispatcherGlib::processEvents (this=0x7fa194000b20, flags=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:425
#4  0x00007fa1aae15a8a in QEventLoop::exec (this=this@entry=0x7fa19c39ed30, flags=..., flags@entry=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212
#5  0x00007fa1aac2b67a in QThread::exec (this=this@entry=0x7fa1ac885da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/thread/qthread.cpp:522
#6  0x00007fa1ac8116d5 in QDBusConnectionManager::run (this=0x7fa1ac885da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/apol/devel/frameworks/qt5/qtbase/src/dbus/qdbusconnection.cpp:178
#7  0x00007fa1aac3084f in QThreadPrivate::start (arg=0x7fa1ac885da0 <(anonymous namespace)::Q_QGS__q_manager::innerFunction()::holder>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/thread/qthread_unix.cpp:376
#8  0x00007fa1a6b1008c in start_thread () from /usr/lib/libpthread.so.0
#9  0x00007fa1a9fafe7f in clone () from /usr/lib/libc.so.6

Thread 1 (Thread 0x7fa19e5a7840 (LWP 32458)):
[KCrash Handler]
#6  0x00007fa1a9eee860 in raise () from /usr/lib/libc.so.6
#7  0x00007fa1a9eefec9 in abort () from /usr/lib/libc.so.6
#8  0x00007fa1aac1b047 in qt_message_fatal (context=..., message=<synthetic pointer>...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/global/qlogging.cpp:1716
#9  QMessageLogger::fatal (this=this@entry=0x7ffe4d1215d0, msg=msg@entry=0x7fa1aaeda050 "ASSERT: \"%s\" in file %s, line %d") at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/global/qlogging.cpp:822
#10 0x00007fa1aac15dd6 in qt_assert (assertion=<optimized out>, file=<optimized out>, line=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/global/qglobal.cpp:3126
#11 0x00007fa1b1bd33ef in PlacesPanel::slotStorageSetupDone (this=0x560635b9f210, index=10, success=true) at /home/apol/devel/frameworks/dolphin/src/panels/places/placespanel.cpp:449
#12 0x00007fa1b1bd6938 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int, bool>, void, void (PlacesPanel::*)(int, bool)>::call (f=(void (PlacesPanel::*)(PlacesPanel * const, int, bool)) 0x7fa1b1bd3330 <PlacesPanel::slotStorageSetupDone(int, bool)>, o=0x560635b9f210, arg=0x7ffe4d1218d0) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:136
#13 0x00007fa1b1bd6883 in QtPrivate::FunctionPointer<void (PlacesPanel::*)(int, bool)>::call<QtPrivate::List<int, bool>, void> (f=(void (PlacesPanel::*)(PlacesPanel * const, int, bool)) 0x7fa1b1bd3330 <PlacesPanel::slotStorageSetupDone(int, bool)>, o=0x560635b9f210, arg=0x7ffe4d1218d0) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:169
#14 0x00007fa1b1bd67a6 in QtPrivate::QSlotObject<void (PlacesPanel::*)(int, bool), QtPrivate::List<int, bool>, void>::impl (which=1, this_=0x56063630b460, r=0x560635b9f210, a=0x7ffe4d1218d0, ret=0x0) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:398
#15 0x00007fa1aae4708f in QtPrivate::QSlotObjectBase::call (a=0x7ffe4d1218d0, r=0x560635b9f210, this=0x56063630b460) at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:378
#16 QMetaObject::activate (sender=0x560635fb7530, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3750
#17 0x00007fa1b1c1eee4 in PlacesItemModel::storageSetupDone (this=0x560635fb7530, _t1=10, _t2=true) at src/dolphinstatic_autogen/DIM5AXWM7T/moc_placesitemmodel.cpp:264
#18 0x00007fa1b1be0f0e in PlacesItemModel::slotStorageSetupDone (this=0x560635fb7530, error=Solid::NoError, errorData=..., udi=...) at /home/apol/devel/frameworks/dolphin/src/panels/places/placesitemmodel.cpp:530
#19 0x00007fa1b1be8532 in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1, 2>, QtPrivate::List<Solid::ErrorType, QVariant, QString const&>, void, void (PlacesItemModel::*)(Solid::ErrorType, QVariant const&, QString const&)>::call (f=(void (PlacesItemModel::*)(PlacesItemModel * const, Solid::ErrorType, const QVariant &, const QString &)) 0x7fa1b1be0d90 <PlacesItemModel::slotStorageSetupDone(Solid::ErrorType, QVariant const&, QString const&)>, o=0x560635fb7530, arg=0x7ffe4d121c00) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:136
#20 0x00007fa1b1be8473 in QtPrivate::FunctionPointer<void (PlacesItemModel::*)(Solid::ErrorType, QVariant const&, QString const&)>::call<QtPrivate::List<Solid::ErrorType, QVariant, QString const&>, void> (f=(void (PlacesItemModel::*)(PlacesItemModel * const, Solid::ErrorType, const QVariant &, const QString &)) 0x7fa1b1be0d90 <PlacesItemModel::slotStorageSetupDone(Solid::ErrorType, QVariant const&, QString const&)>, o=0x560635fb7530, arg=0x7ffe4d121c00) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:169
#21 0x00007fa1b1be8396 in QtPrivate::QSlotObject<void (PlacesItemModel::*)(Solid::ErrorType, QVariant const&, QString const&), QtPrivate::List<Solid::ErrorType, QVariant, QString const&>, void>::impl (which=1, this_=0x56063674b430, r=0x560635fb7530, a=0x7ffe4d121c00, ret=0x0) at /home/apol/devel/kde5/include/QtCore/qobjectdefs_impl.h:398
#22 0x00007fa1aae4708f in QtPrivate::QSlotObjectBase::call (a=0x7ffe4d121c00, r=0x560635fb7530, this=0x56063674b430) at ../../include/QtCore/../../../../../devel/frameworks/qt5/qtbase/src/corelib/kernel/qobjectdefs_impl.h:378
#23 QMetaObject::activate (sender=0x560635a65510, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3750
#24 0x00007fa1ac92a945 in Solid::StorageAccess::setupDone (this=0x560635a65510, _t1=Solid::NoError, _t2=..., _t3=...) at src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_storageaccess.cpp:243
#25 0x00007fa1ac92a419 in Solid::StorageAccess::qt_static_metacall (_o=0x560635a65510, _c=QMetaObject::InvokeMetaMethod, _id=1, _a=0x7ffe4d121e30) at src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_storageaccess.cpp:100
#26 0x00007fa1aae46f75 in QMetaObject::activate (sender=0x560635a872f0, signalOffset=<optimized out>, local_signal_index=<optimized out>, argv=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:3767
#27 0x00007fa1ac9242c5 in Solid::Backends::UDisks2::StorageAccess::setupDone (this=0x560635a872f0, _t1=Solid::NoError, _t2=..., _t3=...) at src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksstorageaccess.cpp:274
#28 0x00007fa1ac910603 in Solid::Backends::UDisks2::StorageAccess::slotSetupDone (this=0x560635a872f0, error=0, errorString=...) at /home/apol/devel/frameworks/solid/src/solid/devices/backends/udisks2/udisksstorageaccess.cpp:230
#29 0x00007fa1ac923c32 in Solid::Backends::UDisks2::StorageAccess::qt_static_metacall (_o=0x560635a872f0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7ffe4d1220b0) at src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksstorageaccess.cpp:145
#30 0x00007fa1ac924155 in Solid::Backends::UDisks2::StorageAccess::qt_metacall (this=0x560635a872f0, _c=QMetaObject::InvokeMetaMethod, _id=10, _a=0x7ffe4d1220b0) at src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksstorageaccess.cpp:253
#31 0x00007fa1ac81ca88 in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/dbus/qdbusintegrator.cpp:998
#32 0x00007fa1aae47982 in QObject::event (this=0x560635a872f0, e=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qobject.cpp:1247
#33 0x00007fa1abc3adcc in QApplicationPrivate::notify_helper (this=this@entry=0x5606358fd750, receiver=receiver@entry=0x560635a872f0, e=e@entry=0x5606363cb230) at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3732
#34 0x00007fa1abc42554 in QApplication::notify (this=0x7ffe4d122c90, receiver=0x560635a872f0, e=0x5606363cb230) at /home/apol/devel/frameworks/qt5/qtbase/src/widgets/kernel/qapplication.cpp:3491
#35 0x00007fa1aae173b8 in QCoreApplication::notifyInternal2 (receiver=0x560635a872f0, event=event@entry=0x5606363cb230) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1050
#36 0x00007fa1aae19f4d in QCoreApplication::sendEvent (event=0x5606363cb230, receiver=<optimized out>) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.h:234
#37 QCoreApplicationPrivate::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0, data=0x5606358f3110) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1740
#38 0x00007fa1aae1a4d8 in QCoreApplication::sendPostedEvents (receiver=receiver@entry=0x0, event_type=event_type@entry=0) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1594
#39 0x00007fa1aae729a3 in postEventSourceDispatch (s=0x560635921da0) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:276
#40 0x00007fa1a2758e38 in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#41 0x00007fa1a2759081 in ?? () from /usr/lib/libglib-2.0.so.0
#42 0x00007fa1a275910e in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#43 0x00007fa1aae71fcf in QEventDispatcherGlib::processEvents (this=0x5606359226d0, flags=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#44 0x00007fa19e276d71 in QPAEventDispatcherGlib::processEvents (this=0x5606359226d0, flags=...) at /home/apol/devel/frameworks/qt5/qtbase/src/platformsupport/eventdispatchers/qeventdispatcher_glib.cpp:69
#45 0x00007fa1aae15a8a in QEventLoop::exec (this=this@entry=0x7ffe4d122680, flags=..., flags@entry=...) at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qeventloop.cpp:212
#46 0x00007fa1aae1eb84 in QCoreApplication::exec () at /home/apol/devel/frameworks/qt5/qtbase/src/corelib/kernel/qcoreapplication.cpp:1338
#47 0x00007fa1b1b86d64 in kdemain (argc=1, argv=0x7ffe4d122dc8) at /home/apol/devel/frameworks/dolphin/src/main.cpp:163
#48 0x0000560633730c72 in main (argc=1, argv=0x7ffe4d122dc8) at src/dolphin_dummy.cpp:3

Possible duplicates by query: bug 364721, bug 363982.

Reported using DrKonqi
Comment 1 Kai Uwe Broulik 2018-03-02 08:01:57 UTC
It hits this assert:

Q_ASSERT(!m_model->storageSetupNeeded(index));

You said you unmounted? In the code it seems it actually mounted the device.
Comment 2 Aleix Pol 2018-03-02 11:14:02 UTC
Maybe it was being slow or something and I clicked twice?
I know I wanted to unmount.
Comment 3 Kai Uwe Broulik 2018-03-02 12:15:59 UTC
Having been slow and unmounting twice is a known crash in Solid Bug 388499 but the backtrace here looks nowhere like it
Comment 4 Bhushan Shah 2018-03-05 06:38:08 UTC
Created attachment 111194 [details]
New crash information added by DrKonqi

dolphin (18.03.70) using Qt 5.10.1

- What I was doing when the application crashed:

I can reproduce same crash when trying to mount the external HDD from Dolphin places panel

-- Backtrace (Reduced):
#8  0x00007fbfa8ba78e8 in QMessageLogger::fatal(char const*, ...) const () from /usr/lib/libQt5Core.so.5
#9  0x00007fbfa8ba24c7 in qt_assert(char const*, char const*, int) () from /usr/lib/libQt5Core.so.5
#10 0x00007fbfb11a0fe6 in PlacesPanel::slotStorageSetupDone (this=0x559db1520660, index=5, success=true) at /home/bshah/kdesrc/source/dolphin/src/panels/places/placespanel.cpp:449
#11 0x00007fbfb11a45bf in QtPrivate::FunctorCall<QtPrivate::IndexesList<0, 1>, QtPrivate::List<int, bool>, void, void (PlacesPanel::*)(int, bool)>::call (f=(void (PlacesPanel::*)(PlacesPanel * const, int, bool)) 0x7fbfb11a0f3a <PlacesPanel::slotStorageSetupDone(int, bool)>, o=0x559db1520660, arg=0x7ffc6f474bf0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:136
#12 0x00007fbfb11a413b in QtPrivate::FunctionPointer<void (PlacesPanel::*)(int, bool)>::call<QtPrivate::List<int, bool>, void> (f=(void (PlacesPanel::*)(PlacesPanel * const, int, bool)) 0x7fbfb11a0f3a <PlacesPanel::slotStorageSetupDone(int, bool)>, o=0x559db1520660, arg=0x7ffc6f474bf0) at /usr/include/qt/QtCore/qobjectdefs_impl.h:169
Comment 5 Justin Zobel 2020-10-25 01:07:47 UTC
Aleix I cannot reproduce this on Dolphin 20.08.1, can you please retest with a newer version and let us know if this is still an issue, thanks.
Comment 6 Bug Janitor Service 2020-11-09 04:33:49 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Bug Janitor Service 2020-11-24 04:34:13 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!