Bug 444663

Summary: Dolphin crashed when i clicked Eject DVD
Product: [Frameworks and Libraries] frameworks-solid Reporter: Luk.21
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED FIXED    
Severity: crash CC: gabriel.curtino, kdelibs-bugs, kfm-devel, lukas, meven29, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 5.87.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In: 6.8
Sentry Crash Report:
Attachments: New crash information added by DrKonqi

Description Luk.21 2021-10-30 14:36:41 UTC
Application: dolphin (21.08.2)

Qt Version: 5.15.2
Frameworks Version: 5.87.0
Operating System: Linux 5.14.14-1-default x86_64
Windowing System: X11
Distribution: "openSUSE Tumbleweed"
DrKonqi: 5.23.1 [KCrashBackend]

-- Information about the crash:
- What I was doing when the application crashed:
1. Inserted a CD into the CD drive bay.
2. Opened Dolphin, and clicked on the CD entry in Removable Devices section to mount.
3. Right-clicked on the CD entry -> Eject.
4. Dolphin crashed.

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00007fa27f992bd9 in Solid::StorageAccess::d_func (this=<optimized out>) at /usr/src/debug/solid-5.87.0-1.1.x86_64/src/solid/devices/frontend/storageaccess.h:35
#7  Solid::StorageAccess::filePath (this=0x0) at /usr/src/debug/solid-5.87.0-1.1.x86_64/src/solid/devices/frontend/storageaccess.cpp:53
#8  0x0000555b0521cc24 in PlacesItemModel::slotStorageTearDownDone (this=0x555b06d74600, error=86100688, errorData=...) at /usr/src/debug/dolphin-21.08.2-1.1.x86_64/src/panels/places/placesitemmodel.cpp:454
#9  0x00007fa27e0f6013 in QtPrivate::QSlotObjectBase::call (a=0x7fff667be810, r=0x555b06d74600, this=0x555b0703c320) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x555b06e764f0, signal_index=4, argv=0x7fff667be810) at kernel/qobject.cpp:3886
#11 0x00007fa27e0ef4df in QMetaObject::activate (sender=sender@entry=0x555b06e764f0, m=m@entry=0x7fa27fa00040, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff667be810) at kernel/qobject.cpp:3946
#12 0x00007fa27f984a2b in Solid::OpticalDrive::ejectDone (this=this@entry=0x555b06e764f0, _t1=<optimized out>, _t2=..., _t3=...) at /usr/src/debug/solid-5.87.0-1.1.x86_64/build/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:294
#13 0x00007fa27f98bde9 in Solid::OpticalDrive::qt_static_metacall (_o=0x555b06e764f0, _c=<optimized out>, _id=<optimized out>, _a=0x7fff667be9e0) at /usr/src/debug/solid-5.87.0-1.1.x86_64/build/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:162
#14 0x00007fa27e0f6048 in doActivate<false> (sender=0x7fa27400b6b0, signal_index=4, argv=0x7fff667be9e0) at kernel/qobject.cpp:3898
#15 0x00007fa27e0ef4df in QMetaObject::activate (sender=sender@entry=0x7fa27400b6b0, m=m@entry=0x7fa27f9fd7a0 <Solid::Backends::UDisks2::OpticalDrive::staticMetaObject>, local_signal_index=local_signal_index@entry=1, argv=argv@entry=0x7fff667be9e0) at kernel/qobject.cpp:3946
#16 0x00007fa27f97f666 in Solid::Backends::UDisks2::OpticalDrive::ejectDone (_t3=..., _t2=..., _t1=Solid::DeviceBusy, this=0x7fa27400b6b0) at /usr/src/debug/solid-5.87.0-1.1.x86_64/build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:227
#17 Solid::Backends::UDisks2::OpticalDrive::slotEjectDone (errorString=..., error=2, this=0x7fa27400b6b0) at /usr/src/debug/solid-5.87.0-1.1.x86_64/src/solid/devices/backends/udisks2/udisksopticaldrive.cpp:117
#18 Solid::Backends::UDisks2::OpticalDrive::qt_static_metacall (_o=_o@entry=0x7fa27400b6b0, _c=_c@entry=QMetaObject::InvokeMetaMethod, _id=_id@entry=6, _a=_a@entry=0x7fff667beb40) at /usr/src/debug/solid-5.87.0-1.1.x86_64/build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:117
#19 0x00007fa27f97fbe3 in Solid::Backends::UDisks2::OpticalDrive::qt_metacall (this=0x7fa27400b6b0, _c=QMetaObject::InvokeMetaMethod, _id=6, _a=0x7fff667beb40) at /usr/src/debug/solid-5.87.0-1.1.x86_64/build/src/solid/KF5Solid_autogen/EYXUHNKS25/moc_udisksopticaldrive.cpp:206
#20 0x00007fa27e3c969b in QDBusConnectionPrivate::deliverCall (this=<optimized out>, object=<optimized out>, msg=..., metaTypes=..., slotIdx=<optimized out>) at ../../include/QtCore/../../src/corelib/tools/qvarlengtharray.h:190
#21 0x00007fa27e0ebfbe in QObject::event (this=0x7fa27400b6b0, e=0x7fa26c036470) at kernel/qobject.cpp:1314
#22 0x00007fa27ed36a7f in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x7fa27400b6b0, e=0x7fa26c036470) at kernel/qapplication.cpp:3632
#23 0x00007fa27e0bf9ca in QCoreApplication::notifyInternal2 (receiver=0x7fa27400b6b0, event=0x7fa26c036470) at kernel/qcoreapplication.cpp:1064
#24 0x00007fa27e0c2a17 in QCoreApplicationPrivate::sendPostedEvents (receiver=0x0, event_type=0, data=0x555b06687100) at kernel/qcoreapplication.cpp:1821
#25 0x00007fa27e117823 in postEventSourceDispatch (s=s@entry=0x555b0679b4c0) at kernel/qeventdispatcher_glib.cpp:277
#26 0x00007fa27bc20d5f in g_main_dispatch (context=0x7fa274005000) at ../glib/gmain.c:3381
#27 g_main_context_dispatch (context=0x7fa274005000) at ../glib/gmain.c:4099
#28 0x00007fa27bc210e8 in g_main_context_iterate (context=context@entry=0x7fa274005000, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/gmain.c:4175
#29 0x00007fa27bc2119f in g_main_context_iteration (context=0x7fa274005000, may_block=1) at ../glib/gmain.c:4240
#30 0x00007fa27e116ea4 in QEventDispatcherGlib::processEvents (this=0x555b0679b460, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#31 0x00007fa27e0be3cb in QEventLoop::exec (this=this@entry=0x7fff667befa0, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#32 0x00007fa27e0c66b0 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#33 0x00007fa27e5d819c in QGuiApplication::exec () at kernel/qguiapplication.cpp:1867
#34 0x00007fa27ed369f5 in QApplication::exec () at kernel/qapplication.cpp:2824
#35 0x0000555b051f299a in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin-21.08.2-1.1.x86_64/src/main.cpp:204
[Inferior 1 (process 2015) detached]

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

Possible duplicates by query: bug 444619, bug 444321, bug 444315, bug 443779, bug 443540.

Reported using DrKonqi
Comment 1 Gabriel 2022-04-13 17:51:02 UTC
Created attachment 148144 [details]
New crash information added by DrKonqi

dolphin (21.12.3) using Qt 5.15.3

- What I was doing when the application crashed:

Right-click on the mounted DVD external unit -> "Eject" and Dolphin crashes. Also happens when choosing "Umount" (I think, in Spanish thT menu is labeled "Liberar")

-- Backtrace (Reduced):
#4  0x00007fd468ff771d in Solid::StorageAccess::filePath (this=0x0) at ./src/solid/devices/frontend/storageaccess.cpp:52
#5  0x000056109233d771 in PlacesItemModel::slotStorageTearDownDone (this=0x561093b97b30, error=<optimized out>, errorData=...) at ./src/panels/places/placesitemmodel.cpp:454
#6  0x00007fd46765bdfe in QtPrivate::QSlotObjectBase::call (a=0x7fff69057e70, r=0x561093b97b30, this=0x5610944c6510) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#7  doActivate<false> (sender=0x561094522f10, signal_index=4, argv=0x7fff69057e70) at kernel/qobject.cpp:3886
[...]
#9  0x00007fd468fdea0f in Solid::OpticalDrive::ejectDone (this=this@entry=0x561094522f10, _t1=<optimized out>, _t2=..., _t3=...) at ./obj-x86_64-linux-gnu/src/solid/KF5Solid_autogen/H3VFCUX2PL/moc_opticaldrive.cpp:294