You are not logged in.
This is beyond weird. Since last week I've noticed that if I tried to open Thunar or the file selection dialog on the browser, it would crash immediately if the folder had any json file.
It's not likely a file extension issue because if I rename the file to txt or yml, it works. It also works if the file is empty. It seems it only segfaults when the it tries to read a file with json content. It also opens without any problem if I open as root.
I was on Debian 11 and XFCE 4.16. Upgrading to Debian 12 and XFCE 4.18 did not solve the issue.
What could be possibly the issue here? I can post a trace if needed.
Offline
More information from syslog: When I try to open thunar with the json file, I get::
systemd[2371]: Started tumblerd.service - Thumbnailing service.
kernel: [181192.926033] thunar[2367673]: segfault at 7ffdb8fcafe8 ip 00007f5b0066c9d9 sp 00007ffdb8fcaff0 error 6 in libgio-2.0.so.0.7400.6[7f5b00566000+10c000] likely on CPU 6 (core 6, socket 0)
When I open the File Picker from the browser and select a folder with a json file, it crashes and syslog shows:
systemd[2371]: xdg-desktop-portal-gtk.service: Failed with result 'signal'.
xdg-desktop-por[3488]: Backend call failed: Message recipient disconnected from message bus without replying
kernel: [182309.317029] pool-xdg-deskto[2382065]: segfault at 7f3fa43fdff0 ip 00007f3fa7733d95 sp 00007f3fa43fdff0 error 6 in libgio-2.0.so.0.7400.6[7f3fa762e000+10c000] likely on CPU 13 (core 3, socket 0)
So it seems that in both cases it has something to do with libgio, but searching for it does not show anything recent.
Offline
If it's a bug related to thumbnailer, here's one possible place to discuss it (and there might be somehow similar issues):
https://gitlab.xfce.org/xfce/tumbler/-/issues
Sorry, I don't know more.
Offline
It's not likely a file extension issue because if I rename the file to txt or yml, it works. It also works if the file is empty. It seems it only segfaults when the it tries to read a file with json content. It also opens without any problem if I open as root.
Can you run the following commands as both user and as root and post back the outputs:
xdg-mime query default application/json
file -i /path/to/a/json/file.json
Please remember to mark your thread [SOLVED] to make it easier for others to find
--- How To Ask For Help | FAQ | Developer Wiki | Community | Contribute ---
Online
Reviving an old thread here, as I think it is related. Debian stable is still impacted by this, but I think the more rolling release OS's are not. This impacts Thunar, Dolphin, Nautilus etc, because it causes a check loop and runs the process out of memory and locks.
The fix should be to update to shared-mime-info 2.4
https://gitlab.freedesktop.org/xdg/shar … quests/275
Last edited by pclark36 (2024-06-07 17:49:48)
Offline