Bug 473348

Summary: Crash when ejecting external LUKS encrypted drive
Product: [Applications] dolphin Reporter: Pussy Boots <yuilytg7>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: kfm-devel, nicolas.fella
Priority: NOR Keywords: drkonqi
Version: 23.04.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Pussy Boots 2023-08-13 21:00:16 UTC
Application: dolphin (23.04.3)

Qt Version: 5.15.10
Frameworks Version: 5.108.0
Operating System: Linux 6.4.10-arch1-1 x86_64
Windowing System: Wayland
Distribution: "Arch Linux"
DrKonqi: 5.27.7 [KCrashBackend]

-- Information about the crash:
When I eject an external LUKS encrypted drive, Dolphin crashes

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  0x00005624b75fd242 in TerminalPanel::sendCdToTerminal(QString const&, TerminalPanel::HistoryPolicy) (this=0x5624b8ff84e0, dir=..., addToHistory=TerminalPanel::HistoryPolicy::SkipHistory) at /usr/src/debug/dolphin/dolphin-23.04.3/src/panels/terminal/terminalpanel.cpp:241
#7  0x00005624b75db112 in TerminalPanel::goHome() (this=0x5624b8ff84e0) at /usr/src/debug/dolphin/dolphin-23.04.3/src/panels/terminal/terminalpanel.cpp:54
#8  DolphinMainWindow::slotStorageTearDownFromPlacesRequested(QString const&) (this=0x7f719c002500, mountPath=...) at /usr/src/debug/dolphin/dolphin-23.04.3/src/dolphinmainwindow.cpp:1490
#9  0x00007f71adcd1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe51889410, r=<optimized out>, this=0x5624b91f6810, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false>(QObject*, int, void**) (sender=0x5624b90a10c0, signal_index=24, argv=0x7ffe51889410) at kernel/qobject.cpp:3925
#11 0x00005624b75fc2f9 in PlacesPanel::storageTearDownRequested(QString const&) (_t1=..., this=0x5624b90a10c0) at /usr/src/debug/dolphin/build/src/dolphinstatic_autogen/DIM5AXWM7T/moc_placespanel.cpp:256
#12 PlacesPanel::slotTearDownRequested(QModelIndex const&) (this=0x5624b90a10c0, index=...) at /usr/src/debug/dolphin/dolphin-23.04.3/src/panels/places/placespanel.cpp:221
#13 0x00007f71afe2d177 in KFilePlacesViewPrivate::actionClicked(QModelIndex const&) (index=..., this=0x5624b92d70a0) at /usr/src/debug/kio/kio-5.108.0/src/filewidgets/kfileplacesview.cpp:1941
#14 operator() (index=..., __closure=<optimized out>) at /usr/src/debug/kio/kio-5.108.0/src/filewidgets/kfileplacesview.cpp:870
#15 QtPrivate::FunctorCall<QtPrivate::IndexesList<0>, QtPrivate::List<const QModelIndex&>, void, KFilePlacesView::KFilePlacesView(QWidget*)::<lambda(const QModelIndex&)> >::call (arg=<optimized out>, f=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#16 QtPrivate::Functor<KFilePlacesView::KFilePlacesView(QWidget*)::<lambda(const QModelIndex&)>, 1>::call<QtPrivate::List<QModelIndex const&>, void> (arg=<optimized out>, f=<optimized out>) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#17 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
#18 0x00007f71adcd1637 in QtPrivate::QSlotObjectBase::call(QObject*, void**) (a=0x7ffe51889590, r=<optimized out>, this=0x5624b91bd490, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false>(QObject*, int, void**) (sender=0x5624b8f7cdf0, signal_index=8, argv=0x7ffe51889590) at kernel/qobject.cpp:3925
#20 0x00007f71afe2727a in KFilePlacesEventWatcher::actionClicked(QModelIndex const&) (this=<optimized out>, _t1=<optimized out>) at /usr/src/debug/kio/build/src/filewidgets/KF5KIOFileWidgets_autogen/include/moc_kfileplacesview_p.cpp:342
#21 0x00007f71afe22385 in KFilePlacesEventWatcher::eventFilter(QObject*, QEvent*) (this=0x5624b8f7cdf0, watched=<optimized out>, event=0x7ffe51889b80) at /usr/src/debug/kio/kio-5.108.0/src/filewidgets/kfileplacesview_p.h:263
#22 0x00007f71adc99702 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) (receiver=receiver@entry=0x5624b9187a30, event=event@entry=0x7ffe51889b80) at kernel/qcoreapplication.cpp:1190
#23 0x00007f71ae97892f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=this@entry=0x5624b8c6e030, receiver=receiver@entry=0x5624b9187a30, e=e@entry=0x7ffe51889b80) at kernel/qapplication.cpp:3634
#24 0x00007f71ae97ddef in QApplication::notify(QObject*, QEvent*) (this=<optimized out>, receiver=0x5624b9187a30, e=0x7ffe51889b80) at kernel/qapplication.cpp:3084
#25 0x00007f71adc9c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5624b9187a30, event=0x7ffe51889b80) at kernel/qcoreapplication.cpp:1064
#26 0x00007f71adc9c783 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#27 0x00007f71ae97c12a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) (receiver=0x5624b9187a30, event=0x7ffe51889b80, alienWidget=<optimized out>, nativeWidget=0x7f719c002500, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2622
#28 0x00007f71ae9cced5 in QWidgetWindow::handleMouseEvent(QMouseEvent*) (this=this@entry=0x5624b91d66f0, event=event@entry=0x7ffe51889ee0) at kernel/qwidgetwindow.cpp:684
#29 0x00007f71ae9cec27 in QWidgetWindow::event(QEvent*) (this=0x5624b91d66f0, event=0x7ffe51889ee0) at kernel/qwidgetwindow.cpp:300
#30 0x00007f71ae97893f in QApplicationPrivate::notify_helper(QObject*, QEvent*) (this=<optimized out>, receiver=0x5624b91d66f0, e=0x7ffe51889ee0) at kernel/qapplication.cpp:3640
#31 0x00007f71adc9c6f8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) (receiver=0x5624b91d66f0, event=0x7ffe51889ee0) at kernel/qcoreapplication.cpp:1064
#32 0x00007f71adc9c783 in QCoreApplication::sendSpontaneousEvent(QObject*, QEvent*) (receiver=<optimized out>, event=<optimized out>) at kernel/qcoreapplication.cpp:1474
#33 0x00007f71ae14193c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) (e=0x7f71980015a0) at kernel/qguiapplication.cpp:2285
#34 0x00007f71ae12a6c5 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) (flags=...) at kernel/qwindowsysteminterface.cpp:1169
#35 0x00007f71ab35e955 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () at /usr/lib/libQt5WaylandClient.so.5
#36 0x00007f71abd0fa31 in g_main_dispatch (context=0x7f71a0000ee0) at ../glib/glib/gmain.c:3460
#37 g_main_context_dispatch (context=0x7f71a0000ee0) at ../glib/glib/gmain.c:4200
#38 0x00007f71abd6ccc9 in g_main_context_iterate.isra.0 (context=context@entry=0x7f71a0000ee0, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib/glib/gmain.c:4276
#39 0x00007f71abd0d0e2 in g_main_context_iteration (context=0x7f71a0000ee0, may_block=1) at ../glib/glib/gmain.c:4343
#40 0x00007f71adceb51c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) (this=0x5624b8c8ef50, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#41 0x00007f71adc9b404 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) (this=this@entry=0x7ffe5188a280, flags=..., flags@entry=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#42 0x00007f71adc9c8a3 in QCoreApplication::exec() () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#43 0x00007f71ae13bef2 in QGuiApplication::exec() () at kernel/qguiapplication.cpp:1870
#44 0x00007f71ae976cda in QApplication::exec() () at kernel/qapplication.cpp:2832
#45 0x00005624b75cfda8 in main(int, char**) (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-23.04.3/src/main.cpp:249
[Inferior 1 (process 20159) detached]

The reporter indicates this bug may be a duplicate of or related to bug 473154, bug 468699, bug 468854, bug 469242, bug 469004.

Reported using DrKonqi
Comment 1 Nicolas Fella 2023-08-13 21:41:59 UTC

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