Bug 461535

Summary: Dolphin crashes in TerminalPanel::sendCdToTerminal() after select "remove safely" for disconnect external hard disk
Product: [Applications] dolphin Reporter: kevinleroy
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: kfm-devel, nate
Priority: NOR Keywords: drkonqi
Version: 22.08.1   
Target Milestone: ---   
Platform: Fedora RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description kevinleroy 2022-11-07 08:17:18 UTC
Application: dolphin (22.08.1)

Qt Version: 5.15.6
Frameworks Version: 5.99.0
Operating System: Linux 6.0.5-200.fc36.x86_64 x86_64
Windowing System: X11
Distribution: Fedora Linux 36 (KDE Plasma)
DrKonqi: 5.25.5 [KCrashBackend]

-- Information about the crash:
My external disk is a EXT4 partition on luks2 volume.
After crash, ext4 partition was unmounted
luks2 volume is mounted.

The crash can be reproduced sometimes.

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

[KCrash Handler]
#4  0x0000559d5564f78a in TerminalPanel::sendCdToTerminal(QString const&, TerminalPanel::HistoryPolicy) ()
#5  0x0000559d5562fd3d in DolphinMainWindow::slotStorageTearDownFromPlacesRequested(QString const&) ()
#6  0x00007f3c022db9a6 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#7  0x0000559d5564e87c in PlacesPanel::slotTearDownRequested(QModelIndex const&) ()
#8  0x00007f3c04465263 in QtPrivate::QFunctorSlotObject<KFilePlacesView::KFilePlacesView(QWidget*)::{lambda(QModelIndex const&)#9}, 1, QtPrivate::List<QModelIndex const&>, void>::impl(int, QtPrivate::QSlotObjectBase*, QObject*, void**, bool*) [clone .lto_priv.0] () from /lib64/libKF5KIOFileWidgets.so.5
#9  0x00007f3c022db9a6 in void doActivate<false>(QObject*, int, void**) () from /lib64/libQt5Core.so.5
#10 0x00007f3c0445f6d9 in KFilePlacesEventWatcher::actionClicked(QModelIndex const&) () from /lib64/libKF5KIOFileWidgets.so.5
#11 0x00007f3c04459419 in KFilePlacesEventWatcher::eventFilter(QObject*, QEvent*) () from /lib64/libKF5KIOFileWidgets.so.5
#12 0x00007f3c022a7f91 in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#13 0x00007f3c02faecf2 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#14 0x00007f3c02fb7372 in QApplication::notify(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#15 0x00007f3c022a81c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#16 0x00007f3c02fb5472 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool, bool) () from /lib64/libQt5Widgets.so.5
#17 0x00007f3c0300ab6c in QWidgetWindow::handleMouseEvent(QMouseEvent*) () from /lib64/libQt5Widgets.so.5
#18 0x00007f3c0300df30 in QWidgetWindow::event(QEvent*) () from /lib64/libQt5Widgets.so.5
#19 0x00007f3c02faed02 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /lib64/libQt5Widgets.so.5
#20 0x00007f3c022a81c8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /lib64/libQt5Core.so.5
#21 0x00007f3c0276ae7d in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /lib64/libQt5Gui.so.5
#22 0x00007f3c0274a02c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Gui.so.5
#23 0x00007f3bef9178be in xcbSourceDispatch(_GSource*, int (*)(void*), void*) () from /lib64/libQt5XcbQpa.so.5
#24 0x00007f3c00126faf in g_main_context_dispatch () from /lib64/libglib-2.0.so.0
#25 0x00007f3c0017c2c8 in g_main_context_iterate.constprop () from /lib64/libglib-2.0.so.0
#26 0x00007f3c00124940 in g_main_context_iteration () from /lib64/libglib-2.0.so.0
#27 0x00007f3c022f902a in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#28 0x00007f3c022a6c1a in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /lib64/libQt5Core.so.5
#29 0x00007f3c022aece2 in QCoreApplication::exec() () from /lib64/libQt5Core.so.5
#30 0x0000559d55625a39 in main ()
[Inferior 1 (process 136947) detached]

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

Reported using DrKonqi
This report was filed against 'kde' because the product 'dolphin' could not be located in Bugzilla. Add it to drkonqi's mappings file!
Comment 1 Nate Graham 2022-11-07 19:42:50 UTC
Did you have the terminal panel open when this happened?
Comment 2 Bug Janitor Service 2022-11-22 05:13:01 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2022-12-07 05:12:35 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!