[dolphin] [Bug 477298] Dolphin hangs when navigating to a directory with any JSON files in it

Jarrod Farrell bugzilla_noreply at kde.org
Mon Jan 8 21:57:25 GMT 2024


https://bugs.kde.org/show_bug.cgi?id=477298

--- Comment #9 from Jarrod Farrell <jarrodmaddy at gmail.com> ---
More sleuthing with strace against `systemsettings kcm_filetypes` since even
trying to change the associations for `json` causes settings to hang:
```
[...clicking around, navigating to json...]
readlink("/nix/store/nszw28wv32h9qr2nric9f5f89v7a2cx0-ark-23.08.4/lib/qt-5.15.11/plugins/kf5/parts",
0x7ffeacb63890, 1023) = -1 EINVAL (Invalid argument)
readlink("/nix/store/nszw28wv32h9qr2nric9f5f89v7a2cx0-ark-23.08.4/lib/qt-5.15.11/plugins/kf5/parts/arkpart.so",
0x7ffeacb63890, 1023) = -1 EINVAL (Invalid argument)
openat(AT_FDCWD,
"/nix/store/nszw28wv32h9qr2nric9f5f89v7a2cx0-ark-23.08.4/lib/qt-5.15.11/plugins/kf5/parts/arkpart.so",
O_RDONLY|O_CLOEXEC) = 26
statx(26, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0555,
stx_size=511080, ...}) = 0
statx(26, "", AT_STATX_SYNC_AS_STAT|AT_NO_AUTOMOUNT|AT_EMPTY_PATH, STATX_ALL,
{stx_mask=STATX_ALL|STATX_MNT_ID, stx_attributes=0, stx_mode=S_IFREG|0555,
stx_size=511080, ...}) = 0
mmap(NULL, 511080, PROT_READ, MAP_SHARED, 26, 0) = 0x7fb5cb183000
close(26)                               = 0
munmap(0x7fb5cb183000, 511080)          = 0
brk(0x4370000)                          = 0x4370000
brk(0x43c9000)                          = 0x43c9000
brk(0x43ea000)                          = 0x43ea000
brk(0x440b000)                          = 0x440b000
[...repeats indefinitely...]
```
And watching the strace when I was clicking on other associations, only `json`
casued a large chain of going through all of Nix's stores to collect
`kde-mimeapps.list` or `mimeapps.list` before rummaging into
`/run/current-system/sw/lib/qt-5.15.11/plugins/kf5/parts` which led to
following the link to reach
`/nix/store/nszw28wv32h9qr2nric9f5f89v7a2cx0-ark-23.08.4/lib/qt-5.15.11/plugins/kf5/parts/arkpart.so`
like we see here.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the kfm-devel mailing list