Bug 447799

Summary: Dolphin crashes while trying to eject a disc
Product: [Applications] dolphin Reporter: gmipf
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED FIXED    
Severity: crash CC: akselmo, kde, kfm-devel, nicolas.fella, Robo.burned
Priority: NOR Keywords: drkonqi
Version: 21.08.3   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: New crash information added by DrKonqi

Description gmipf 2022-01-01 21:38:19 UTC
Application: dolphin (21.08.3)

Qt Version: 5.15.2
Frameworks Version: 5.89.0
Operating System: Linux 5.15.11-200.fc35.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 35 (KDE Plasma)
DrKonqi: 5.23.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
Dolphin crashes sometimes when trying to eject a real disc while it is busy. When I force to eject by pressing the button sometimes the system can also hang and Terminal is really sloppy, shutdown isn't working or is very slow. (much rarer)

System: Fedora 35 KDE Spin

The crash can be reproduced sometimes.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007f18e30b068d in Solid::StorageAccess::d_func (this=<optimized out>) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/src/solid/devices/frontend/storageaccess.h:35
#7  Solid::StorageAccess::filePath (this=0x0) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/src/solid/devices/frontend/storageaccess.cpp:53
#8  0x00005617e56350dc in PlacesItemModel::slotStorageTearDownDone (this=0x5617e69678e0, error=3848490880, errorData=...) at /usr/src/debug/dolphin-21.08.3-1.fc35.x86_64/src/panels/places/placesitemmodel.cpp:454
#9  0x00007f18e18723e9 in QtPrivate::QSlotObjectBase::call (a=0x7fffe9cf4830, r=<optimized out>, this=0x5617e6cc1bb0) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x5617e6b1f1d0, signal_index=4, argv=0x7fffe9cf4830) at kernel/qobject.cpp:3886
#11 0x00007f18e186d367 in QMetaObject::activate (sender=sender@entry=0x5617e6b1f1d0, m=m@entry=0x7f18e311e120 <Solid::OpticalDrive::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffe9cf4830) at kernel/qobject.cpp:3946
#12 0x00007f18e30a1d0f in Solid::OpticalDrive::ejectDone (this=this@entry=0x5617e6b1f1d0, _t1=<optimized out>, _t2=..., _t3=...) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/redhat-linux-build/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:294
#13 0x00007f18e30a9649 in Solid::OpticalDrive::qt_static_metacall (_o=0x5617e6b1f1d0, _c=<optimized out>, _id=<optimized out>, _a=0x7fffe9cf4a10) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/redhat-linux-build/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:162
#14 0x00007f18e1872430 in doActivate<false> (sender=0x5617e6c90090, signal_index=4, argv=0x7fffe9cf4a10) at kernel/qobject.cpp:3898
#15 0x00007f18e186d367 in QMetaObject::activate (sender=sender@entry=0x5617e6c90090, m=m@entry=0x7f18e311b880 <Solid::Backends::UDisks2::OpticalDrive::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fffe9cf4a10) at kernel/qobject.cpp:3946
#16 0x00007f18e309c806 in Solid::Backends::UDisks2::OpticalDrive::ejectDone (_t3=..., _t2=..., _t1=Solid::DeviceBusy, this=0x5617e6c90090) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/redhat-linux-build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:227
#17 Solid::Backends::UDisks2::OpticalDrive::slotEjectDone (errorString=..., error=2, this=0x5617e6c90090) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/src/solid/devices/backends/udisks2/udisksopticaldrive.cpp:117
#18 Solid::Backends::UDisks2::OpticalDrive::qt_static_metacall (_o=_o@entry=0x5617e6c90090, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7fffe9cf4b70) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/redhat-linux-build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:117
#19 0x00007f18e309cd83 in Solid::Backends::UDisks2::OpticalDrive::qt_metacall (this=0x5617e6c90090, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fffe9cf4b70) at /usr/src/debug/kf5-solid-5.89.0-1.fc35.x86_64/redhat-linux-build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:206
#20 0x00007f18e1b501eb in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#21 0x00007f18e1868f49 in QObject::event (this=0x5617e6c90090, e=0x7f18c000fda0) at kernel/qobject.cpp:1314
#22 0x00007f18e23e6443 in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x5617e6c90090, e=0x7f18c000fda0) at kernel/qapplication.cpp:3632
#23 0x00007f18e183e7d8 in QCoreApplication::notifyInternal2 (receiver=0x5617e6c90090, event=0x7f18c000fda0) at kernel/qcoreapplication.cpp:1064
#24 0x00007f18e1841d46 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x5617e6114df0) at kernel/qcoreapplication.cpp:1821
#25 0x00007f18e1890117 in postEventSourceDispatch (s=0x5617e61f87e0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007f18df51d130 in g_main_dispatch (context=0x7f18c8005000) at ../glib/gmain.c:3381
#27 g_main_context_dispatch (context=0x7f18c8005000) at ../glib/gmain.c:4099
#28 0x00007f18df572208 in g_main_context_iterate.constprop.0 (context=context@entry=0x7f18c8005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#29 0x00007f18df51a933 in g_main_context_iteration (context=0x7f18c8005000, may_block=1) at ../glib/gmain.c:4240
#30 0x00007f18e188fbb8 in QEventDispatcherGlib::processEvents (this=0x5617e6207d40, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007f18e183d1e2 in QEventLoop::exec (this=this@entry=0x7fffe9cf5010, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007f18e1845724 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00005617e560a6c5 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-21.08.3-1.fc35.x86_64/src/main.cpp:222
[Inferior 1 (process 8577) detached]

Possible duplicates by query: bug 447746, bug 447500, bug 446090, bug 444861, bug 444687.

Reported using DrKonqi
Comment 1 Robo Burned 2022-01-18 12:50:19 UTC
Created attachment 145612 [details]
New crash information added by DrKonqi

dolphin (21.12.1) using Qt 5.15.3

- What I was doing when the application crashed:
In Removable Devices section I right clicked on a CD drive attached to VM and selected Eject.

-- Backtrace (Reduced):
#4  0x00007fc15d3876ed in Solid::StorageAccess::filePath() const () from /lib/x86_64-linux-gnu/libKF5Solid.so.5
#5  0x000055907de8f741 in PlacesItemModel::slotStorageTearDownDone (this=0x55907ebe25b0, error=<optimized out>, errorData=...) at ./src/panels/places/placesitemmodel.cpp:454
#6  0x00007fc15b9fc00e in QtPrivate::QSlotObjectBase::call (a=0x7ffc0f31fc30, r=0x55907ebe25b0, this=0x55907ed8a920) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x55907ecc2370, signal_index=4, argv=0x7ffc0f31fc30) at kernel/qobject.cpp:3886
#8  0x00007fc15d36e9df in Solid::OpticalDrive::ejectDone(Solid::ErrorType, QVariant, QString const&) () from /lib/x86_64-linux-gnu/libKF5Solid.so.5