Bug 462740

Summary: Dolphin crashes when unmounting external hard drive
Product: [Applications] dolphin Reporter: sparrowdark419
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: crash CC: bugseforuns, kfm-devel, nate
Priority: NOR Keywords: drkonqi
Version: 22.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description sparrowdark419 2022-12-07 12:23:18 UTC
Application: dolphin (22.08.3)

Qt Version: 5.15.7
Frameworks Version: 5.100.0
Operating System: Linux 6.0.10-arch2-1 x86_64
Windowing System: X11
Distribution: "Arch Linux"
DrKonqi: 5.26.4 [KCrashBackend]

-- Information about the crash:
dolphin crashes when unmounting from under devices section

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  0x0000555884e03a2b in TerminalPanel::sendCdToTerminal (this=0x555886ef0250, dir=..., addToHistory=TerminalPanel::HistoryPolicy::SkipHistory) at /usr/src/debug/dolphin/dolphin-22.08.3/src/panels/terminal/terminalpanel.cpp:264
#7  0x0000555884de33a2 in TerminalPanel::goHome (this=0x555886ef0250) at /usr/src/debug/dolphin/dolphin-22.08.3/src/panels/terminal/terminalpanel.cpp:58
#8  DolphinMainWindow::slotStorageTearDownFromPlacesRequested (this=0x555886b40d60, mountPath=...) at /usr/src/debug/dolphin/dolphin-22.08.3/src/dolphinmainwindow.cpp:1432
#9  0x00007fd973ebda51 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate<false> (sender=0x555886a960d0, signal_index=24, argv=0x7ffda4b569a0) at kernel/qobject.cpp:3919
#11 0x0000555884e02a74 in PlacesPanel::storageTearDownRequested (_t1=..., this=0x555886a960d0) at /usr/src/debug/dolphin/build/src/dolphinstatic_autogen/DIM5AXWM7T/moc_placespanel.cpp:256
#12 PlacesPanel::slotTearDownRequested (this=0x555886a960d0, index=...) at /usr/src/debug/dolphin/dolphin-22.08.3/src/panels/places/placespanel.cpp:222
#13 0x00007fd975f8d367 in KFilePlacesViewPrivate::actionClicked (index=..., this=0x555886ff1260) at /usr/src/debug/kio/kio-5.100.0/src/filewidgets/kfileplacesview.cpp:1933
#14 operator() (index=..., __closure=<optimized out>) at /usr/src/debug/kio/kio-5.100.0/src/filewidgets/kfileplacesview.cpp:869
#15 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
#16 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
#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 0x00007fd973ebda51 in QtPrivate::QSlotObjectBase::call (a=<optimized out>, r=<optimized out>, this=<optimized out>, this=<optimized out>, r=<optimized out>, a=<optimized out>) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate<false> (sender=0x555886f300d0, signal_index=8, argv=0x7ffda4b56b10) at kernel/qobject.cpp:3919
#20 0x00007fd975f7d6fa in KFilePlacesEventWatcher::actionClicked (this=this@entry=0x555886f300d0, _t1=...) at /usr/src/debug/kio/build/src/filewidgets/KF5KIOFileWidgets_autogen/include/moc_kfileplacesview_p.cpp:342
#21 0x00007fd975f81ed5 in KFilePlacesEventWatcher::eventFilter (this=0x555886f300d0, watched=<optimized out>, event=0x7ffda4b57110) at /usr/src/debug/kio/kio-5.100.0/src/filewidgets/kfileplacesview_p.h:263
#22 0x00007fd973e8cc02 in QCoreApplicationPrivate::sendThroughObjectEventFilters (receiver=receiver@entry=0x555886f25b80, event=event@entry=0x7ffda4b57110) at kernel/qcoreapplication.cpp:1190
#23 0x00007fd974b78b0c in QApplicationPrivate::notify_helper (this=this@entry=0x55588670b420, receiver=receiver@entry=0x555886f25b80, e=e@entry=0x7ffda4b57110) at kernel/qapplication.cpp:3631
#24 0x00007fd974b7e339 in QApplication::notify (this=<optimized out>, receiver=<optimized out>, e=0x7ffda4b57110) at kernel/qapplication.cpp:3081
#25 0x00007fd973e8cf98 in QCoreApplication::notifyInternal2 (receiver=0x555886f25b80, event=0x7ffda4b57110) at kernel/qcoreapplication.cpp:1064
#26 0x00007fd974b7c337 in QApplicationPrivate::sendMouseEvent (receiver=0x555886f25b80, event=0x7ffda4b57110, alienWidget=<optimized out>, nativeWidget=0x555886b40d60, buttonDown=<optimized out>, lastMouseReceiver=..., spontaneous=true, onlyDispatchEnterLeave=false) at kernel/qapplication.cpp:2619
#27 0x00007fd974bcd3b5 in QWidgetWindow::handleMouseEvent (this=0x555886fe5100, event=0x7ffda4b57470) at kernel/qwidgetwindow.cpp:683
#28 0x00007fd974bcf15e in QWidgetWindow::event (this=0x555886fe5100, event=0x7ffda4b57470) at kernel/qwidgetwindow.cpp:300
#29 0x00007fd974b78b1c in QApplicationPrivate::notify_helper (this=<optimized out>, receiver=0x555886fe5100, e=0x7ffda4b57470) at kernel/qapplication.cpp:3637
#30 0x00007fd973e8cf98 in QCoreApplication::notifyInternal2 (receiver=0x555886fe5100, event=0x7ffda4b57470) at kernel/qcoreapplication.cpp:1064
#31 0x00007fd97433f16c in QGuiApplicationPrivate::processMouseEvent (e=0x5558878022e0) at kernel/qguiapplication.cpp:2285
#32 0x00007fd974328995 in QWindowSystemInterface::sendWindowSystemEvents (flags=flags@entry=...) at kernel/qwindowsysteminterface.cpp:1169
#33 0x00007fd96e57c710 in xcbSourceDispatch (source=<optimized out>) at /usr/src/debug/qt5-base/qtbase/src/plugins/platforms/xcb/qxcbeventdispatcher.cpp:105
#34 0x00007fd97206d87b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#35 0x00007fd9720c4299 in ?? () from /usr/lib/libglib-2.0.so.0
#36 0x00007fd97206c132 in g_main_context_iteration () from /usr/lib/libglib-2.0.so.0
#37 0x00007fd973ed7c4c in QEventDispatcherGlib::processEvents (this=0x555886836bb0, flags=...) at kernel/qeventdispatcher_glib.cpp:423
#38 0x00007fd973e8573c in QEventLoop::exec (this=0x7ffda4b57810, flags=...) at ../../include/QtCore/../../src/corelib/global/qflags.h:69
#39 0x00007fd973e90269 in QCoreApplication::exec () at ../../include/QtCore/../../src/corelib/global/qflags.h:121
#40 0x00007fd97433a112 in QGuiApplication::exec () at kernel/qguiapplication.cpp:1870
#41 0x00007fd974b76f2a in QApplication::exec () at kernel/qapplication.cpp:2829
#42 0x0000555884dd8ca9 in main (argc=<optimized out>, argv=<optimized out>) at /usr/src/debug/dolphin/dolphin-22.08.3/src/main.cpp:254
[Inferior 1 (process 7857) detached]

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

Reported using DrKonqi
Comment 1 Patrick Silva 2022-12-07 12:39:11 UTC

*** This bug has been marked as a duplicate of bug 462728 ***
Comment 2 Nate Graham 2023-11-30 15:01:13 UTC

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