Bug 387840

Summary: Dolphin freeze on broken-mounts - via sshfs
Product: [Applications] dolphin Reporter: Charl <charl.xacra>
Component: generalAssignee: Dolphin Bug Assignee <dolphin-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: crash CC: argon, elvis.angelaccio, mail
Priority: NOR Keywords: drkonqi, triaged
Version: 17.08.3   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Charl 2017-12-12 19:26:17 UTC
Application: dolphin (17.08.3)

Qt Version: 5.9.3
Frameworks Version: 5.40.0
Operating System: Linux 4.14.4-1-ARCH x86_64
Distribution: "Arch Linux"

-- Information about the crash:
- What I was doing when the application crashed:

I force-closed the frosen Dolphin window, and it triggured an exception routine?
Well, ya, but the path that crashed was not "real", it was mounted from another node in the network.
It happens ALWAYS when the mounted path becomes unresponsive (did not die, just maybe socket-timeout?)
..other than that, thanks for the amazing DE, it's really nice; i've been onboard since 2010 ;)

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[Current thread is 1 (Thread 0x7fc306da2600 (LWP 5202))]

Thread 3 (Thread 0x7fc2e4c2f700 (LWP 5206)):
#0  0x00007fc306634a48 in read () at /usr/lib/libc.so.6
#1  0x00007fc2f9031521 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc2f900890b in g_main_context_check () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc2f9009e76 in  () at /usr/lib/libglib-2.0.so.0
#4  0x00007fc2f9009fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#5  0x00007fc30079a204 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#6  0x00007fc30073d99b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#7  0x00007fc30055627e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#8  0x00007fc30055b1cb in  () at /usr/lib/libQt5Core.so.5
#9  0x00007fc2fb65f08a in start_thread () at /usr/lib/libpthread.so.0
#10 0x00007fc30664342f in clone () at /usr/lib/libc.so.6

Thread 2 (Thread 0x7fc2ed01a700 (LWP 5205)):
#0  0x00007fc306638f2b in poll () at /usr/lib/libc.so.6
#1  0x00007fc2f9009ed3 in  () at /usr/lib/libglib-2.0.so.0
#2  0x00007fc2f9009fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#3  0x00007fc30079a204 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#4  0x00007fc30073d99b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#5  0x00007fc30055627e in QThread::exec() () at /usr/lib/libQt5Core.so.5
#6  0x00007fc300bb5376 in  () at /usr/lib/libQt5DBus.so.5
#7  0x00007fc30055b1cb in  () at /usr/lib/libQt5Core.so.5
#8  0x00007fc2fb65f08a in start_thread () at /usr/lib/libpthread.so.0
#9  0x00007fc30664342f in clone () at /usr/lib/libc.so.6

Thread 1 (Thread 0x7fc306da2600 (LWP 5202)):
[KCrash Handler]
#5  0x00007fc2f236bd6b in QXcbConnection::getSelectionOwner(unsigned int) const () at /usr/lib/libQt5XcbQpa.so.5
#6  0x00007fc2f2367aac in  () at /usr/lib/libQt5XcbQpa.so.5
#7  0x00007fc3062d9116 in DolphinView::pasteInfo() const () at /usr/lib/libdolphinprivate.so.5
#8  0x00007fc306945a46 in  () at /usr/lib/libkdeinit5_dolphin.so
#9  0x00007fc30694febc in  () at /usr/lib/libkdeinit5_dolphin.so
#10 0x00007fc30076f24f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#11 0x00007fc30699bcf0 in  () at /usr/lib/libkdeinit5_dolphin.so
#12 0x00007fc30076f24f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#13 0x00007fc30699bc30 in  () at /usr/lib/libkdeinit5_dolphin.so
#14 0x00007fc30695ba3d in  () at /usr/lib/libkdeinit5_dolphin.so
#15 0x00007fc30076f24f in QMetaObject::activate(QObject*, int, int, void**) () at /usr/lib/libQt5Core.so.5
#16 0x00007fc3062e14a0 in DolphinView::setActive(bool) () at /usr/lib/libdolphinprivate.so.5
#17 0x00007fc3062e1542 in DolphinView::eventFilter(QObject*, QEvent*) () at /usr/lib/libdolphinprivate.so.5
#18 0x00007fc30073f23c in QCoreApplicationPrivate::sendThroughObjectEventFilters(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#19 0x00007fc3016e6f38 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#20 0x00007fc3016eea36 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#21 0x00007fc30073f570 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#22 0x00007fc3016ec511 in QApplicationPrivate::setFocusWidget(QWidget*, Qt::FocusReason) () at /usr/lib/libQt5Widgets.so.5
#23 0x00007fc301720f8c in QWidget::setFocus(Qt::FocusReason) () at /usr/lib/libQt5Widgets.so.5
#24 0x00007fc3016e74eb in QApplicationPrivate::giveFocusAccordingToFocusPolicy(QWidget*, QEvent*, QPoint) () at /usr/lib/libQt5Widgets.so.5
#25 0x00007fc3016f05dc in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#26 0x00007fc30073f570 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#27 0x00007fc3016edf3a in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () at /usr/lib/libQt5Widgets.so.5
#28 0x00007fc301741e61 in  () at /usr/lib/libQt5Widgets.so.5
#29 0x00007fc3017445a1 in  () at /usr/lib/libQt5Widgets.so.5
#30 0x00007fc3016e6f5c in QApplicationPrivate::notify_helper(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#31 0x00007fc3016eea36 in QApplication::notify(QObject*, QEvent*) () at /usr/lib/libQt5Widgets.so.5
#32 0x00007fc30073f570 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () at /usr/lib/libQt5Core.so.5
#33 0x00007fc300f283d4 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () at /usr/lib/libQt5Gui.so.5
#34 0x00007fc300f29f36 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () at /usr/lib/libQt5Gui.so.5
#35 0x00007fc300f0148c in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Gui.so.5
#36 0x00007fc2f23d26b1 in  () at /usr/lib/libQt5XcbQpa.so.5
#37 0x00007fc2f9008270 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#38 0x00007fc2f9009f69 in  () at /usr/lib/libglib-2.0.so.0
#39 0x00007fc2f9009fae in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#40 0x00007fc30079a1e1 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#41 0x00007fc30073d99b in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib/libQt5Core.so.5
#42 0x00007fc3007469e8 in QCoreApplication::exec() () at /usr/lib/libQt5Core.so.5
#43 0x00007fc306943abe in kdemain () at /usr/lib/libkdeinit5_dolphin.so
#44 0x00007fc30656df4a in __libc_start_main () at /usr/lib/libc.so.6
#45 0x000055a19542f77a in _start ()

Reported using DrKonqi
Comment 1 Julian Steinmann 2018-06-12 16:07:10 UTC
We are sorry that nobody initially responded to your report, but we would of course still like to fix the cause of this crash. Sadly, the backtrace you provided is not complete. Please install the development packages for Dolphin and try to trigger this crash again. The developers and the bug squad should then be able to further triage the report.

Thanks for your kind words & we hope that you stay on board for many years to come :)
Comment 2 Argon 2018-06-14 12:22:01 UTC
(In reply to Julian Schraner from comment #1)
> We are sorry that nobody initially responded to your report, but we would of
> course still like to fix the cause of this crash. Sadly, the backtrace you
> provided is not complete. Please install the development packages for
> Dolphin and try to trigger this crash again. The developers and the bug
> squad should then be able to further triage the report.
> 
> Thanks for your kind words & we hope that you stay on board for many years
> to come :)

Hi Julian,
-no sorries needed man - thanks for the response.

I'll check out the SDK, thanks, the reason I thought this was definitely a bug across the board is because i've been experiencing this on OpenSuse as well.

To replicate the problem:
- use sshfs to mount a directory from another computer in your LAN/WLAN onto your local file-system
- kill and re-connect your network connection locally -OR- wait until your connection/PC goes to sleep/stand-by.
- then try to refresh the mounted directory
- notice that dolphin freezes everywhere (in other/local folders too, not only the mounted ones)

So far i've seen this on Arch and OpenSUSE, and it does not have "mood swings" - it happens like clock-work if the above steps are followed.

Hope it helps
Comment 3 Andrew Crouthamel 2018-09-28 03:19:54 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 set the bug status 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 4 Andrew Crouthamel 2018-10-29 02:09:07 UTC
Dear Bug Submitter,

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!