Bug 364677 - Dolphin hangs during sftp url access
Summary: Dolphin hangs during sftp url access
Status: RESOLVED WORKSFORME
Alias: None
Product: frameworks-kio
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR grave
Target Milestone: ---
Assignee: David Faure
URL:
Keywords: release_blocker, usability
Depends on:
Blocks:
 
Reported: 2016-06-23 15:24 UTC by EMR_Kde
Modified: 2022-12-10 05:13 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description EMR_Kde 2016-06-23 15:24:07 UTC
Application: dolphin (15.12.3)

Qt Version: 5.5.1
Operating System: Linux 4.1.21-14-default x86_64
Distribution: "openSUSE Leap 42.1 (x86_64)"

-- Information about the crash:
I repeated this twice, and it happens all the time:
1) open dolphin
2) enter sftp://servername 
3) change the url to sftp://servername/usr/local/src
4) click on a subdirectory 4-5 times
Result: 
It just says "Loading..." at bottom right and nothing shows up.
Expected Result:
Display lists of folders.

Extra info:
 1705 ?        Tl     0:02 /usr/bin/dolphin -session 1013a1a61b11ab000146669177900000015980050_1466693648_956992
 5069 ?        Tl     0:03 /usr/bin/dolphin
 5153 ?        Sl     0:00 /usr/lib64/libexec/drkonqi -platform xcb -display :0 --appname dolphin --apppath /usr/bin --signal 11 --pid 1705 --appversion 15.12.3 --programname Dolphin --bugaddress submit@bugs.kde.org --startupid 0
 5154 ?        Sl     0:04 /usr/lib64/libexec/drkonqi -platform xcb -display :0 --appname dolphin --apppath /usr/bin --signal 11 --pid 5069 --appversion 15.12.3 --programname Dolphin --bugaddress submit@bugs.kde.org --startupid 0
 5227 ?        Sl     0:16 /usr/bin/dolphin
 5241 ?        S      0:00 sftp.so [kdeinit5] sftp local:/run/user/1001/klauncherXM1611.1.slave-socket local:/run/user/1001/dolphinBC5227.5.slave-socket
 5242 ?        S      0:00 sftp.so [kdeinit5] sftp local:/run/user/1001/klauncherXM1611.1.slave-socket local:/run/user/1001/dolphinHf5227.6.slave-socket
 5243 ?        S      0:00 sftp.so [kdeinit5] sftp local:/run/user/1001/klauncherXM1611.1.slave-socket local:/run/user/1001/dolphinyJ5227.7.slave-socket
 5245 ?        S      0:00 sftp.so [kdeinit5] sftp local:/run/user/1001/klauncherXM1611.1.slave-socket local:/run/user/1001/dolphinFW5227.8.slave-socket
 5251 ?        S      0:00 sftp.so [kdeinit5] sftp local:/run/user/1001/klauncherXM1611.1.slave-socket local:/run/user/1001/dolphinwX5227.9.slave-socket

The crash can be reproduced every time.

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

Thread 2 (Thread 0x7f717b34c700 (LWP 5070)):
#0  0x00007f7191bfabbd in poll () at /lib64/libc.so.6
#1  0x00007f7184c06422 in  () at /usr/lib64/libxcb.so.1
#2  0x00007f7184c0800f in xcb_wait_for_event () at /usr/lib64/libxcb.so.1
#3  0x00007f717d6a13c9 in  () at /usr/lib64/libQt5XcbQpa.so.5
#4  0x00007f718bd0a32f in  () at /usr/lib64/libQt5Core.so.5
#5  0x00007f71877b80a4 in start_thread () at /lib64/libpthread.so.0
#6  0x00007f7191c02fed in clone () at /lib64/libc.so.6

Thread 1 (Thread 0x7f71923477c0 (LWP 5069)):
[KCrash Handler]
#6  0x00007f7191bfabbd in poll () at /lib64/libc.so.6
#7  0x00007f7186c32e64 in  () at /usr/lib64/libglib-2.0.so.0
#8  0x00007f7186c32f7c in g_main_context_iteration () at /usr/lib64/libglib-2.0.so.0
#9  0x00007f718bf3cd6c in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#10 0x00007f718bee3d53 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () at /usr/lib64/libQt5Core.so.5
#11 0x00007f718beeb8f6 in QCoreApplication::exec() () at /usr/lib64/libQt5Core.so.5
#12 0x00007f7191f26427 in kdemain () at /usr/lib64/libkdeinit5_dolphin.so
#13 0x00007f7191b3fb05 in __libc_start_main () at /lib64/libc.so.6
#14 0x00000000004007ee in _start ()

Reported using DrKonqi
Comment 1 EMR_Kde 2016-06-23 15:36:50 UTC
Note, I sent it the SEGV signal to get a dump. Otherwise dolphin just hangs there. If you open another one, it would be a separate process. Also, the sockets are not where the second local:// is.
Comment 2 EMR_Kde 2016-06-26 19:00:28 UTC
Note that this might be related to bug #364642. But I don't think so because if I open Kate and do a File->Open sftp://servername/some/dir then just click around ,it's also using kio_sftp and I don't get the same hang as what I get with dolphin.
Comment 3 pepetops 2016-07-27 11:23:00 UTC
Same here with 16.04.3-1.1  and 16.04.2-1.2 dolphin's version. Not long ago I installed thumbleweed before had 13.2. I noticed that in my sftp connections through dolphin, there are directories that seems costing read, it is actually a long time trying to go blank at the end. I'm talking about subdirectories sftp connections, because the connection to the home directory that makes it smoothly.
Comment 4 EMR_Kde 2016-08-17 12:03:03 UTC
I have confirmed that it's still an annoying and game stopper problem after months already.
Comment 5 EMR_Kde 2016-08-19 11:39:13 UTC
I have confirmed that this also occurs in OpenSUSE's Tumbleweed (latest) version Dolphin 16.04.3
Comment 6 EMR_Kde 2017-09-05 15:15:05 UTC
So the problem seems to have come back with Dolphin 17.08.0
Comment 7 Алексей Шилин 2017-10-03 16:09:39 UTC
Same here. I'm using version 16.08.3, but also tested 17.08.1, and the bug still exists.

Also, the dolphin process, which is used to open the sftp:/ URL, most of the time doesn't quit when its window is closed and remains running until I kill it (or all its sftp.so KIO processes) manually.

Neither of these happens with other KDE Applications and sftp:/ URLs, so it's clearly Dolphin's fault.
Comment 8 Erec 2017-10-24 21:42:56 UTC
bump, this is still a problem:

Name        : dolphin
Version     : 17.08.1
Release     : 1.1
Architecture: x86_64
Install Date: Fri Sep 15 20:28:35 2017
Group       : Productivity/File utilities
Size        : 1457373
License     : GPL-2.0+
Signature   : RSA/SHA256, Tue Sep 12 14:56:39 2017, Key ID b88b2fd43dbdc284
Source RPM  : dolphin-17.08.1-1.1.src.rpm
Build Date  : Thu Sep  7 08:00:00 2017
Build Host  : localhost
Relocations : (not relocatable)
Packager    : https://bugs.opensuse.org
Vendor      : openSUSE
URL         : http://www.kde.org
Summary     : KDE File Manager
Comment 9 Justin Zobel 2022-11-10 22:32:21 UTC
Thank you for reporting this issue in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "REPORTED" when replying. Thank you!
Comment 10 Bug Janitor Service 2022-11-25 05:16:18 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 11 Bug Janitor Service 2022-12-10 05:13:34 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!