Bug 454366

Summary: Dolphin crashes when ejecting a data CD while browsing it
Product: [Applications] dolphin Reporter: Bernhard Kühnel <kuehnel.b.kdebugs>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: akselmo, kfm-devel, nate
Priority: NOR Keywords: drkonqi
Version: 21.12.3   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: output from cd-info

Description Bernhard Kühnel 2022-05-24 21:16:42 UTC
Application: dolphin (21.12.3)
 (Compiled from sources)
Qt Version: 5.15.3
Frameworks Version: 5.92.0
Operating System: Linux 5.17.9-gentoo x86_64
Windowing System: Wayland
Distribution: "Gentoo Base System release 2.7"
DrKonqi: 5.24.4 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
An ISO 9660 + Joliet CD was mounted through Dolphin. The file listing is still opened in the current tab (crash does not happen when Dolphin is pointed to any other directory before the following steps).
While the file listing of the CD is visible, in the "Places" bar right-click on the removable media and select "Eject".
Observe that the medium is not ejected from the drive and that Dolphin crashes.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault

[KCrash Handler]
#4  0x00007feb381ba1c9 in Solid::StorageAccess::filePath (this=0x0) at /var/tmp/portage/kde-frameworks/solid-5.92.0/work/solid-5.92.0/src/solid/devices/frontend/storageaccess.cpp:52
#5  0x000056287d6abb71 in PlacesItemModel::slotStorageTearDownDone (this=0x56287f0f21a0, error=2104146480, errorData=...) at /var/tmp/portage/kde-apps/dolphin-21.12.3/work/dolphin-21.12.3/src/panels/places/placesitemmodel.cpp:454
#6  0x00007feb369cee06 in QtPrivate::QSlotObjectBase::call (a=0x7ffcabb16300, r=0x56287f0f21a0, this=0x562881a0c970) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x5628818ded90, signal_index=4, argv=0x7ffcabb16300) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qobject.cpp:3886
#8  0x00007feb381a09bb in Solid::OpticalDrive::ejectDone (this=<optimized out>, _t1=<optimized out>, _t2=..., _t3=...) at /var/tmp/portage/kde-frameworks/solid-5.92.0/work/solid-5.92.0_build/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:295
#9  0x00007feb381a8ab9 in Solid::OpticalDrive::qt_static_metacall (_o=0x7ffcabb161c0, _c=<optimized out>, _id=-1414438064, _a=0x7ffcabb16490) at /var/tmp/portage/kde-frameworks/solid-5.92.0/work/solid-5.92.0_build/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:162
#10 0x00007feb369ceb9e in doActivate<false> (sender=0x562880a2a1f0, signal_index=4, argv=0x7ffcabb16490) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qobject.cpp:3898
#11 0x00007feb381a086b in Solid::Backends::UDisks2::OpticalDrive::ejectDone (this=<optimized out>, _t1=<optimized out>, _t2=..., _t3=...) at /var/tmp/portage/kde-frameworks/solid-5.92.0/work/solid-5.92.0_build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:228
#12 0x00007feb381fbb05 in QtPrivate::RefCount::deref (this=0x7feb24032480) at /usr/include/qt5/QtCore/qrefcount.h:68
#13 QString::~QString (this=0x7ffcabb164d8, __in_chrg=<optimized out>) at /usr/include/qt5/QtCore/qstring.h:1311
#14 Solid::Backends::UDisks2::OpticalDrive::slotEjectDone (this=0x562880a2a1f0, error=2, errorString=...) at /var/tmp/portage/kde-frameworks/solid-5.92.0/work/solid-5.92.0/src/solid/devices/backends/udisks2/udisksopticaldrive.cpp:117
#15 0x00007feb381abbc3 in Solid::Backends::UDisks2::GenericInterface::qt_metacall (this=0x7ffcabb161c0, _c=QMetaObject::InvokeMetaMethod, _id=-1414438064, _a=0x0) at /var/tmp/portage/kde-frameworks/solid-5.92.0/work/solid-5.92.0_build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksgenericinterface.cpp:134
#16 0x0000000636ce8499 in ?? ()
#17 0x0000000000000001 in ?? ()
#18 0x00007ffcabb16600 in ?? ()
#19 0x00007ffcabb165d0 in ?? ()
#20 0x00007feb36c9ad2b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at /var/tmp/portage/dev-qt/qtdbus-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/tools/qvarlengtharray.h:189
#21 0x00007feb369c6d06 in QObject::event (this=0x562880a2a1f0, e=0x7feb240581d0) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qobject.cpp:1314
#22 0x00007feb3749796f in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#23 0x00007feb3699b428 in QCoreApplication::notifyInternal2 (receiver=0x562880a2a1f0, event=0x7feb240581d0) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1064
#24 0x00007feb3699ea95 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x56287e771010) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qcoreapplication.cpp:1821
#25 0x00007feb369edb43 in postEventSourceDispatch (s=0x56287e795b70) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qeventdispatcher_glib.cpp:277
#26 0x00007feb3464135b in g_main_dispatch (context=0x56287e79a970) at ../glib-2.70.4/glib/gmain.c:3381
#27 g_main_context_dispatch (context=0x56287e79a970) at ../glib-2.70.4/glib/gmain.c:4099
#28 0x00007feb34641618 in g_main_context_iterate (context=context@entry=0x56287e79a970, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.70.4/glib/gmain.c:4175
#29 0x00007feb346416cf in g_main_context_iteration (context=0x56287e79a970, may_block=1) at ../glib-2.70.4/glib/gmain.c:4240
#30 0x00007feb369ed5d4 in QEventDispatcherGlib::processEvents (this=0x56287e7994c0, flags=...) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/src/corelib/kernel/qeventdispatcher_glib.cpp:423
#31 0x00007feb36999e1b in QEventLoop::exec (this=this@entry=0x7ffcabb16a60, flags=..., flags@entry=...) at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007feb369a244d in QCoreApplication::exec () at /var/tmp/portage/dev-qt/qtcore-5.15.3/work/qtbase-everywhere-src-5.15.3/include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x000056287d6780f4 in main (argc=<optimized out>, argv=<optimized out>) at /var/tmp/portage/kde-apps/dolphin-21.12.3/work/dolphin-21.12.3/src/main.cpp:230
[Inferior 1 (process 356855) detached]

The reporter indicates this bug may be a duplicate of or related to bug 447799.

Possible duplicates by query: bug 454228, bug 453858, bug 453582, bug 452686, bug 452658.

Reported using DrKonqi
Comment 1 Bernhard Kühnel 2022-05-24 21:18:11 UTC
Created attachment 149188 [details]
output from cd-info
Comment 2 Nate Graham 2024-11-25 18:51:47 UTC

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