Bug 468854 - Dolphin crashed while trying to eject an external encrypted HDD
Summary: Dolphin crashed while trying to eject an external encrypted HDD
Status: RESOLVED DUPLICATE of bug 467403
Alias: None
Product: dolphin
Classification: Applications
Component: general (show other bugs)
Version: 22.12.3
Platform: Fedora RPMs Linux
: NOR crash
Target Milestone: ---
Assignee: Dolphin Bug Assignee
URL:
Keywords: drkonqi
Depends on:
Blocks:
 
Reported: 2023-04-23 11:49 UTC by Eduardo Sánchez Muñoz
Modified: 2023-05-16 08:24 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
New crash information added by DrKonqi (6.92 KB, text/plain)
2023-05-16 08:24 UTC, oxygencollide744
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eduardo Sánchez Muñoz 2023-04-23 11:49:54 UTC
Application: dolphin (22.12.3)

Qt Version: 5.15.9
Frameworks Version: 5.104.0
Operating System: Linux 6.2.11-300.fc38.x86_64 x86_64
Windowing System: Wayland
Distribution: "Fedora release 38 (Thirty Eight)"
DrKonqi: 5.27.4 [KCrashBackend]

-- Information about the crash:
Dolphin crashed while trying to eject an external encrypted HDD:

1. Clicked the eject button
2. A spinner replaced the eject button for a few seconds
3. The eject button appeared again
4. Clicking the eject button again crashed Dolphin

Usually, the device is ejected after clicking once the eject button.

The crash does not seem to be reproducible.

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

[KCrash Handler]
#4  0x000055c7f8664a02 in TerminalPanel::sendCdToTerminal(QString const&, TerminalPanel::HistoryPolicy) ()
#5  0x000055c7f86433c3 in DolphinMainWindow::slotStorageTearDownFromPlacesRequested(QString const&) ()
#6  0x00007f0cc4ae8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x000055c7f8663b6a in PlacesPanel::slotTearDownRequested(QModelIndex const&) ()
#8  0x00007f0cc6a99fd8 in QtPrivate::QFunctorSlotObject<KFilePlacesView::KFilePlacesView(QWidget*)::{lambda(QModelIndex const&)#5}, 1, QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] () from /lib64/libKF5KIOFileWidgets.so.5
#9  0x00007f0cc4ae8651 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007f0cc6a940dc in KFilePlacesEventWatcher::actionClicked(QModelIndex const&) () from /lib64/libKF5KIOFileWidgets.so.5
#11 0x00007f0cc6a8f206 in KFilePlacesEventWatcher::eventFilter(QObject*, QEvent*) () from /lib64/libKF5KIOFileWidgets.so.5
#12 0x00007f0cc4ab3af6 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007f0cc57aeb65 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f0cc57b7456 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f0cc4ab3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007f0cc57b56a4 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#17 0x00007f0cc580d1a9 in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f0cc581072f in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f0cc57aeb75 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007f0cc4ab3d48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007f0cc4f6c44b in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#22 0x00007f0cc4f4aa0c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#23 0x00007f0cc1f639e4 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5WaylandClient.so.5
#24 0x00007f0cc2911f58 in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007f0cc2971cd8 in g_main_context_iterate.isra () from /lib64/libglib-2.0.so.0
#26 0x00007f0cc2913233 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007f0cc4b06936 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007f0cc4ab270b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#29 0x00007f0cc4aba99b in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#30 0x000055c7f86381d7 in main ()
[Inferior 1 (process 12663) detached]

Reported using DrKonqi
Comment 1 Eduardo Sánchez Muñoz 2023-04-23 12:38:47 UTC
I found out how to reproduce this:

1. The device appears on both devices and external devices categories.
2. Clicked on the eject button in the devices categories.
3. A spinner replaces the eject button and the disappears.
4. The eject button does not disappear from the external device category.
5. Clicking the eject button in the external device category crashes Dolphin.
Comment 2 Ben Bonacci 2023-05-03 11:14:43 UTC

*** This bug has been marked as a duplicate of bug 467403 ***
Comment 3 oxygencollide744 2023-05-16 08:24:58 UTC
Created attachment 158991 [details]
New crash information added by DrKonqi

dolphin (23.04.1) using Qt 5.15.9

Dolphin crashed after clicking the eject button next to a LUKS encrypted drive
	- drive was automounted in Dolphin
	- drive file system within LUKS is BTRFS
	- Dolphin behaved normally until the crash

-- Backtrace (Reduced):
#4  0x000055b1233cf42d in TerminalPanel::sendCdToTerminal (this=0x55b124143d70, dir=..., addToHistory=TerminalPanel::HistoryPolicy::SkipHistory) at /usr/src/debug/dolphin-23.04.1/src/panels/terminal/terminalpanel.cpp:241
#5  0x000055b1233ae3e9 in TerminalPanel::goHome (this=0x55b124143d70) at /usr/src/debug/dolphin-23.04.1/src/panels/terminal/terminalpanel.cpp:54
#6  DolphinMainWindow::slotStorageTearDownFromPlacesRequested (this=0x55b123f3d4c0, mountPath=...) at /usr/src/debug/dolphin-23.04.1/src/dolphinmainwindow.cpp:1515
#7  0x00007f6381125232 in QtPrivate::QSlotObjectBase::call (a=0x7ffc21d298a0, r=0x55b123f3d4c0, this=0x55b124168000) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#8  doActivate<false> (sender=0x55b1240df310, signal_index=24, argv=0x7ffc21d298a0) at kernel/qobject.cpp:3923