Bug 465694

Summary: Dolphin crashed when unmounting an external drive with encryption
Product: [Applications] dolphin Reporter: oldherl <oldherl>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kfm-devel, meven29
Priority: NOR Keywords: drkonqi
Version: 22.12.2   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description oldherl 2023-02-14 02:58:38 UTC
Application: dolphin (22.12.2)

Qt Version: 5.15.8
Frameworks Version: 5.102.0
Operating System: Linux 6.1.9-arch1-2 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.5 [KCrashBackend]

-- Information about the crash:
This is a SATA SSD connected to my computer with USB adapter. The filesystem on it is btrfs on LUKS. I mounted the filesystem by clicking the drive icon in Dolphin with no problem. But when I was unmounting it (clicking the eject icon on the the encrypted FS item on the left sidebar), Dolphin crashed.

The reporter is unsure if this crash is reproducible.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Content of s_kcrashErrorMessage: std::unique_ptr<char []> = {get() = <optimized out>}
[KCrash Handler]
#6  0x00005572a037f202 in TerminalPanel::sendCdToTerminal (this=0x5572a1d27e00, dir=..., addToHistory=TerminalPanel::HistoryPolicy::SkipHistory) at /usr/src/debug/dolphin/dolphin-22.12.2/src/panels/terminal/terminalpanel.cpp:245
#7  0x00005572a035d372 in TerminalPanel::goHome (this=0x5572a1d27e00) at /usr/src/debug/dolphin/dolphin-22.12.2/src/panels/terminal/terminalpanel.cpp:56
#8  DolphinMainWindow::slotStorageTearDownFromPlacesRequested (this=0x5572a1c44180, mountPath=...) at /usr/src/debug/dolphin/dolphin-22.12.2/src/dolphinmainwindow.cpp:1506
#9  0x00007fdadbabea71 in ?? () from /usr/lib/libQt5Core.so.5
#10 0x00005572a037e2b4 in PlacesPanel::storageTearDownRequested (_t1=..., this=0x5572a1d855b0) at /usr/src/debug/dolphin/build/src/dolphinstatic_autogen/DIM5AXWM7T/moc_placespanel.cpp:256
#11 PlacesPanel::slotTearDownRequested (this=0x5572a1d855b0, index=...) at /usr/src/debug/dolphin/dolphin-22.12.2/src/panels/places/placespanel.cpp:221
#12 0x00007fdaddb1b3b7 in KFilePlacesViewPrivate::actionClicked (index=..., this=0x5572a1d4caf0) at /usr/src/debug/kio/kio-5.102.0/src/filewidgets/kfileplacesview.cpp:1933
#13 operator() (index=..., __closure=<optimized out>) at /usr/src/debug/kio/kio-5.102.0/src/filewidgets/kfileplacesview.cpp:869
#14 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const QModelIndex&>, void, KFilePlacesView::KFilePlacesView(QWidget*)::<lambda(const QModelIndex&)> >::call (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#15 QtPrivate::Functor<KFilePlacesView::KFilePlacesView(QWidget*)::<lambda(const QModelIndex&)>, 1>::call<QtPrivate::List<QModelIndex const&>, void> (arg=<optimized out>, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#16 QtPrivate::QFunctorSlotObject<KFilePlacesView::KFilePlacesView(QWidget*)::<lambda(const QModelIndex&)>, 1, QtPrivate::List<const QModelIndex&>, void>::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=<optimized out>, this_=<optimized out>, r=<optimized out>, a=<optimized out>, ret=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#17 0x00007fdadbabea71 in ?? () from /usr/lib/libQt5Core.so.5
#18 0x00007fdaddb1552a in KFilePlacesEventWatcher::actionClicked (this=<optimized out>, _t1=...) at /usr/src/debug/kio/build/src/filewidgets/KF5KIOFileWidgets_autogen/include/moc_kfileplacesview_p.cpp:342
#19 0x00007fdaddb10605 in KFilePlacesEventWatcher::eventFilter (this=0x5572a1e31c10, watched=<optimized out>, event=0x7ffde4d601d0) at /usr/src/debug/kio/kio-5.102.0/src/filewidgets/kfileplacesview_p.h:263
#20 0x00007fdadba8dbb2 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#21 0x00007fdadc778b4c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#22 0x00007fdadc77e379 in QApplication::notify(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#23 0x00007fdadba8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#24 0x00007fdadc77c377 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /usr/lib/libQt5Widgets.so.5
#25 0x00007fdadc7cd505 in ?? () from /usr/lib/libQt5Widgets.so.5
#26 0x00007fdadc7cf2ae in ?? () from /usr/lib/libQt5Widgets.so.5
#27 0x00007fdadc778b5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib/libQt5Widgets.so.5
#28 0x00007fdadba8df48 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib/libQt5Core.so.5
#29 0x00007fdadbf3efbc in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib/libQt5Gui.so.5
#30 0x00007fdadbf28885 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Gui.so.5
#31 0x00007fdad58de8d0 in ?? () from /usr/lib/libQt5XcbQpa.so.5
#32 0x00007fdad991682b in g_main_dispatch (context=0x7fdad0005010) at ../glib/glib/gmain.c:3454
#33 g_main_context_dispatch (context=0x7fdad0005010) at ../glib/glib/gmain.c:4172
#34 0x00007fdad996dcc9 in g_main_context_iterate.constprop.0 (context=0x7fdad0005010, block=1, dispatch=1, self=<optimized out>) at ../glib/glib/gmain.c:4248
#35 0x00007fdad99150e2 in g_main_context_iteration (context=0x7fdad0005010, may_block=1) at ../glib/glib/gmain.c:4313
#36 0x00007fdadbad8c6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#37 0x00007fdadba866ec in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/libQt5Core.so.5
#38 0x00007fdadba91219 in QCoreApplication::exec() () from /usr/lib/libQt5Core.so.5
#39 0x00005572a0351f53 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-22.12.2/src/main.cpp:258
[Inferior 1 (process 362324) detached]

Reported using DrKonqi
Comment 1 Méven Car 2023-04-20 16:15:36 UTC

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