[dolphin] [Bug 423187] Dolphin freezes when opening rclone or other FUSE mounts

[email protected]
Newsgroups gmane.comp.kde.devel.kfm
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=423187

[email protected] changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #25 from [email protected] ---
(In reply to Roke Julian Lockhart Beedell from comment #24)
> (In reply to Jens from comment #23)
> 
> If what you're seeing is indeed an example of
> https://discuss.kde.org/t/34436?u=rokejulianlockhart, and if you continue to
> reproducibly wait minutes, try launching Dolphin, ascertaining what its PID
> is (you can enable the relevant column in System Monitor's Processes page),
> attaching `strace -Tr -p $id`, and ASAP attempting to access that
> unresponsive external storage. During reproduction, check your terminal
> (this works best if you have the terminal and Dolphin vertically adjacent,
> both always visible irrespective of which window is focussed), and you
> should see not very much activity, or a lot of repetition. Wait until
> Dolphin eventually becomes responsive, then quickly kill Dolphin, and send
> over the syscall that shows via its timestamp that it took over a minute to
> elapse. By the way, if you're familiar with KDAB's Hotspot, `perf` might
> also record something useful. 🤷
> 
> I would do this myself, but reproduction is less consistent for me, when
> accessing a FISH URI for a shut-down VM.

I hope this is helpful:

I have a cifs mount that I made unavailable by killing the vpn connection
needed.

I copied everything that is over 0 or seemed related to me (total file size of
the log is 21MB):
     0.000048 newfstatat(AT_FDCWD, "/mnt/cifs_remote", 0x7ffd98a43fa0, 0) = -1
EHOSTDOWN (Der Rechner ist nicht aktiv) <20.445701>
    20.445914 statfs("/mnt/cifs_remote", 0x7ffd98a43c80) = -1 EHOSTDOWN (Der
Rechner ist nicht aktiv) <20.479526>
    20.479888 newfstatat(AT_FDCWD, "/mnt", {st_mode=S_IFDIR|0755, st_size=34,
...}, 0) = 0 <0.000038>
     0.000171 statfs("/mnt", {f_type=BTRFS_SUPER_MAGIC, f_bsize=4096,
f_blocks=61989965, f_bfree=15973207, f_bavail=15836102, f_files=0, f_ffree=0,
f_fsid={val=[0x27bdcda2, 0xf3dd3043]}, f_namelen=255, f_frsize=4096,
f_flags=ST_VALID|ST_NOATIME}) = 0 <0.000037>
     0.000145 inotify_add_watch(17, "/mnt",
IN_MODIFY|IN_ATTRIB|IN_MOVED_FROM|IN_MOVED_TO|IN_CREATE|IN_DELETE|IN_DELETE_SELF|IN_MOVE_SELF|IN_DONT_FOLLOW)
= 6 <0.000048>
     0.000208 write(4, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000030>
     0.000301 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000012>
     0.000362 openat(AT_FDCWD, "/proc/self/mountinfo", O_RDONLY|O_CLOEXEC) = 25
<0.000035>
     0.000089 fstat(25, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 <0.000017>
     0.000063 read(25, "23 30 0:21 / /proc rw,nosuid,nod"..., 1024) = 1024
<0.000094>
     0.000160 readlink("/proc", 0x7ffd98a43350, 1023) = -1 EINVAL (Das Argument
ist ungültig) <0.000013>
     0.000055 readlink("/proc/self", "4724", 1023) = 4 <0.000014>
     0.000054 readlink("/proc/4724", 0x7ffd98a43350, 1023) = -1 EINVAL (Das
Argument ist ungültig) <0.000012>
     0.000049 readlink("/proc/4724/mountinfo", 0x7ffd98a43350, 1023) = -1
EINVAL (Das Argument ist ungültig) <0.000013>
     0.000084 read(25, "osuid,nodev,noexec,relatime shar"..., 1024) = 1024
<0.000055>
     0.000117 read(25, "nfigfs configfs rw\n45 26 0:106 /"..., 1024) = 1024
<0.000056>
     0.000114 read(25, "rw,noatime shared:177 - btrfs /d"..., 1024) = 1024
<0.000047>
     0.000100 read(25, "00\n693 48 0:158 / /home/mjb/Vide"..., 1024) = 569
<0.000038>
     0.000086 read(25, "", 1024)        = 0 <0.000011>
     0.000048 close(25)                 = 0 <0.000014>
     0.000048 getuid()                  = 1000 <0.000011>
     0.000043 geteuid()                 = 1000 <0.000011>
     0.000044 getgid()                  = 1000 <0.000010>
     0.000042 getegid()                 = 1000 <0.000010>
     0.000049 newfstatat(AT_FDCWD, "/run/mount/utab", 0x7ffd98a43a30, 0) = -1
ENOENT (Datei oder Verzeichnis nicht gefunden) <0.000019>
     0.000269 newfstatat(AT_FDCWD, "/mnt/cifs_remote", 0x7ffd98a43b60, 0) = -1
EHOSTDOWN (Der Rechner ist nicht aktiv) <20.477056>
    20.477257 statx(AT_FDCWD, "/home/mjb/.local/share/mime",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0,
stx_mode=S_IFDIR|0700, stx_size=228, ...}) = 0 <0.000039>
...
     0.000056 openat(AT_FDCWD, "/mnt/cifs_remote", O_RDONLY|O_CLOEXEC) = 25
<0.000018>
     0.000057 statx(25, "",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, 0x7ffd98a436d0)
= -1 EHOSTDOWN (Der Rechner ist nicht aktiv) <20.474056>
    20.474231 statx(25, "",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, 0x7ffd98a43710)
= -1 EHOSTDOWN (Der Rechner ist nicht aktiv) <20.479600>
    20.479738 read(25, 0x55819fbc52e0, 16384) = -1 EISDIR (Ist ein Verzeichnis)
<0.000026>
     0.000110 close(25)                 = 0 <0.000028>
...
     0.000036 close(25)                 = 0 <0.000009>
     0.000036 getuid()                  = 1000 <0.000007>
     0.000034 geteuid()                 = 1000 <0.000009>
     0.000036 getgid()                  = 1000 <0.000007>
     0.000035 getegid()                 = 1000 <0.000008>
     0.000034 prctl(PR_GET_DUMPABLE)    = 1 (SUID_DUMP_USER) <0.000008>
     0.000033 newfstatat(AT_FDCWD, "/run/mount/utab", 0x7ffd98a43910, 0) = -1
ENOENT (Datei oder Verzeichnis nicht gefunden) <0.000017>
     0.000086 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000008>
     0.000061 openat(AT_FDCWD, "/proc/self/mountinfo", O_RDONLY|O_CLOEXEC) = 25
<0.000011>
     0.000038 fstat(25, {st_mode=S_IFREG|0444, st_size=0, ...}) = 0 <0.000007>
     0.000034 read(25, "23 30 0:21 / /proc rw,nosuid,nod"..., 1024) = 1024
<0.000028>
     0.000057 readlink("/proc", 0x7ffd98a42ff0, 1023) = -1 EINVAL (Das Argument
ist ungültig) <0.000008>
     0.000035 readlink("/proc/self", "4724", 1023) = 4 <0.000009>
     0.000047 readlink("/proc/4724", 0x7ffd98a42ff0, 1023) = -1 EINVAL (Das
Argument ist ungültig) <0.000008>
     0.000035 readlink("/proc/4724/mountinfo", 0x7ffd98a42ff0, 1023) = -1
EINVAL (Das Argument ist ungültig) <0.000008>
     0.000044 read(25, "osuid,nodev,noexec,relatime shar"..., 1024) = 1024
<0.000022>
     0.000057 read(25, "nfigfs configfs rw\n45 26 0:106 /"..., 1024) = 1024
<0.000028>
     0.000061 read(25, "rw,noatime shared:177 - btrfs /d"..., 1024) = 1024
<0.000020>
     0.000054 read(25, "00\n693 48 0:158 / /home/mjb/Vide"..., 1024) = 569
<0.000014>
     0.000044 read(25, "", 1024)        = 0 <0.000007>
     0.000032 close(25)                 = 0 <0.000008>
     0.000033 getuid()                  = 1000 <0.000008>
     0.000032 geteuid()                 = 1000 <0.000006>
     0.000031 getgid()                  = 1000 <0.000008>
     0.000033 getegid()                 = 1000 <0.000008>
     0.000032 prctl(PR_GET_DUMPABLE)    = 1 (SUID_DUMP_USER) <0.000007>
     0.000032 newfstatat(AT_FDCWD, "/run/mount/utab", 0x7ffd98a436d0, 0) = -1
ENOENT (Datei oder Verzeichnis nicht gefunden) <0.000009>
     0.000122 newfstatat(AT_FDCWD, "/mnt/cifs_remote", 0x7ffd98a43800, 0) = -1
EHOSTDOWN (Der Rechner ist nicht aktiv) <20.463392>
    20.463638 statx(AT_FDCWD, "/home/mjb/.local/share/mime",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0,
stx_mode=S_IFDIR|0700, stx_size=228, ...}) = 0 <0.000087>
...
     0.000054 statx(25, "",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, 0x7ffd98a43370)
= -1 EHOSTDOWN (Der Rechner ist nicht aktiv) <20.473234>
    20.473469 statx(25, "",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, 0x7ffd98a433b0)
= -1 EHOSTDOWN (Der Rechner ist nicht aktiv) <20.479509>
    20.479804 read(25, 0x55819fbc52e0, 16384) = -1 EISDIR (Ist ein Verzeichnis)
<0.000059>
     0.000203 close(25)                 = 0 <0.000045>
...
     0.000054 newfstatat(AT_FDCWD, "/run/mount/utab", 0x7ffd98a43a30, 0) = -1
ENOENT (Datei oder Verzeichnis nicht gefunden) <0.000017>
     0.000112 write(5, "\1\0\0\0\0\0\0\0", 8) = 8 <0.000012>
     0.000113 newfstatat(AT_FDCWD, "/mnt/cifs_remote", 0x7ffd98a43b60, 0) = -1
EHOSTDOWN (Der Rechner ist nicht aktiv) <20.476714>
    20.476934 statx(AT_FDCWD, "/home/mjb/.local/share/mime",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0,
stx_mode=S_IFDIR|0700, stx_size=228, ...}) = 0 <0.000064>
...
     0.000057 openat(AT_FDCWD, "/mnt/cifs_remote", O_RDONLY|O_CLOEXEC) = 25
<0.000016>
     0.000057 statx(25, "",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, 0x7ffd98a436d0)
= -1 EHOSTDOWN (Der Rechner ist nicht aktiv) <20.473839>
    20.474072 statx(25, "",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, 0x7ffd98a43710)
= -1 EHOSTDOWN (Der Rechner ist nicht aktiv) <20.479725>
    20.479953 read(25, 0x55819fbc52e0, 16384) = -1 EISDIR (Ist ein Verzeichnis)
<0.000035>
...
     0.000184 newfstatat(AT_FDCWD, "/mnt/cifs_remote", 0x7ffd98a44060, 0) = -1
EHOSTDOWN (Der Rechner ist nicht aktiv) <20.474079>
    20.474318 statx(AT_FDCWD, "/home/mjb/.local/share/mime",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID|STATX_SUBVOL, stx_attributes=0,
stx_mode=S_IFDIR|0700, stx_size=228, ...}) = 0 <0.000070>
...
    0.000054 statx(25, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH,
STATX_ALL, 0x7ffd98a43bd0) = -1 EHOSTDOWN (Der Rechner ist nicht aktiv)
<20.474253>
    20.474481 statx(25, "",
AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL, 0x7ffd98a43c10)
= -1 EHOSTDOWN (Der Rechner ist nicht aktiv) <20.479668>
    20.479948 read(25, 0x55819fbc52e0, 16384) = -1 EISDIR (Ist ein Verzeichnis)
<0.000033>
     0.000135 close(25)                 = 0 <0.000036>

-- 
You are receiving this mail because:
You are on the CC list for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.