<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>462740</bug_id>
          
          <creation_ts>2022-12-07 12:23:18 +0000</creation_ts>
          <short_desc>Dolphin crashes when unmounting external hard drive</short_desc>
          <delta_ts>2023-11-30 15:01:13 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>dolphin</product>
          <component>general</component>
          <version>22.08.3</version>
          <rep_platform>Arch Linux</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>451050</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>drkonqi</keywords>
          <priority>NOR</priority>
          <bug_severity>crash</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter>sparrowdark419</reporter>
          <assigned_to name="Dolphin Bug Assignee">dolphin-bugs-null</assigned_to>
          <cc>bugseforuns</cc>
    
    <cc>dolphin-bugs-null</cc>
    
    <cc>nate</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2182334</commentid>
    <comment_count>0</comment_count>
    <who name="">sparrowdark419</who>
    <bug_when>2022-12-07 12:23:18 +0000</bug_when>
    <thetext>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: &quot;Arch Linux&quot;
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&lt;char []&gt; = {get() = &lt;optimized out&gt;}
[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=&lt;optimized out&gt;, r=&lt;optimized out&gt;, this=&lt;optimized out&gt;, this=&lt;optimized out&gt;, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#10 doActivate&lt;false&gt; (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=&lt;optimized out&gt;) at /usr/src/debug/kio/kio-5.100.0/src/filewidgets/kfileplacesview.cpp:869
#15 QtPrivate::FunctorCall&lt;QtPrivate::IndexesList&lt;0&gt;, QtPrivate::List&lt;const QModelIndex&amp;&gt;, void, KFilePlacesView::KFilePlacesView(QWidget*)::&lt;lambda(const QModelIndex&amp;)&gt; &gt;::call (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:146
#16 QtPrivate::Functor&lt;KFilePlacesView::KFilePlacesView(QWidget*)::&lt;lambda(const QModelIndex&amp;)&gt;, 1&gt;::call&lt;QtPrivate::List&lt;QModelIndex const&amp;&gt;, void&gt; (arg=&lt;optimized out&gt;, f=...) at /usr/include/qt/QtCore/qobjectdefs_impl.h:256
#17 QtPrivate::QFunctorSlotObject&lt;KFilePlacesView::KFilePlacesView(QWidget*)::&lt;lambda(const QModelIndex&amp;)&gt;, 1, QtPrivate::List&lt;const QModelIndex&amp;&gt;, void&gt;::impl(int, QtPrivate::QSlotObjectBase *, QObject *, void **, bool *) (which=&lt;optimized out&gt;, this_=&lt;optimized out&gt;, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;, ret=&lt;optimized out&gt;) at /usr/include/qt/QtCore/qobjectdefs_impl.h:443
#18 0x00007fd973ebda51 in QtPrivate::QSlotObjectBase::call (a=&lt;optimized out&gt;, r=&lt;optimized out&gt;, this=&lt;optimized out&gt;, this=&lt;optimized out&gt;, r=&lt;optimized out&gt;, a=&lt;optimized out&gt;) at ../../include/QtCore/../../src/corelib/kernel/qobjectdefs_impl.h:398
#19 doActivate&lt;false&gt; (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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, receiver=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, nativeWidget=0x555886b40d60, buttonDown=&lt;optimized out&gt;, 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=&lt;optimized out&gt;, 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=&lt;optimized out&gt;) 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=&lt;optimized out&gt;, argv=&lt;optimized out&gt;) 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</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2182337</commentid>
    <comment_count>1</comment_count>
    <who name="Patrick Silva">bugseforuns</who>
    <bug_when>2022-12-07 12:39:11 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 462728 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2269887</commentid>
    <comment_count>2</comment_count>
    <who name="Nate Graham">nate</who>
    <bug_when>2023-11-30 15:01:13 +0000</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 451050 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>