You are not logged in.
Edit: Just to save your time, the fix is in Thunar 4.16.1.
The title explains everything there is to it. Thunar crashes if I press the keyboard shortcut Ctrl + h or if I go to View --> Show Hidden files.
Information I have:
1. If I run Thunar from the terminal it says Segmentation fault (core dumped).
2. I don't know about any other information that might be useful here so I'm sorry if I haven't provided enough details.
When did it start happening:
* I've used Thunar for a long time and this started happening after I switched from Arch to Arco and then back to Arch (Just replacing the root directory with the new OS).
What I tried:
1. Tried deleted the xfce4 directory in the .config folder and then configured XFCE.
2. Removed the Thunar folder from .config.
3. Tried reinstalling Thunar with
sudo pacman -S thunar
.
The problem still exists after all this.
I use Arch Linux with XFCE desktop environment and also the Awesome window manager is installed.
Any help would be greatly appreciated.
Last edited by MasterMynk (2020-12-30 07:51:34)
Offline
I have got a solution to the problem (sort of). If I remove .config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml and then restart my system, Thunar shows the hidden files like normal until I hide the side pane with the keyboard shortcut Ctrl + b. I checked the file before and after doing this. This is how the file looked before hiding the side panel:
<?xml version="1.0" encoding="UTF-8"?>
<channel name="thunar" version="1.0">
<property name="last-view" type="string" value="ThunarIconView"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/>
<property name="last-window-maximized" type="bool" value="false"/>
<property name="last-menubar-visible" type="bool" value="true"/>
<property name="last-show-hidden" type="bool" value="false"/>
<property name="last-window-width" type="int" value="640"/>
<property name="last-window-height" type="int" value="480"/>
</channel>
And after hiding the side pane this is how the file looks:
<?xml version="1.0" encoding="UTF-8"?>
<channel name="thunar" version="1.0">
<property name="last-view" type="string" value="ThunarIconView"/>
<property name="last-icon-view-zoom-level" type="string" value="THUNAR_ZOOM_LEVEL_100_PERCENT"/>
<property name="last-window-maximized" type="bool" value="false"/>
<property name="last-menubar-visible" type="bool" value="true"/>
<property name="last-show-hidden" type="bool" value="false"/>
<property name="last-window-width" type="int" value="640"/>
<property name="last-window-height" type="int" value="480"/>
<property name="last-side-pane" type="string" value="void"/>
</channel>
The only line that has been add is:
<property name="last-side-pane" type="string" value="void"/>
So this is the line that causes the problem. If I run Thunar again and press Ctrl + b the side panel opens up and if I restart Thunar after that the hidden files are shown properly until I hide the side pane again. After I show the side panel the line in thunar.xml changes to this:
<property name="last-side-pane" type="string" value="ThunarShortcutsPane"/>
So if I want to see hidden files in Thunar then I think I will have to keep the side panel open which I kinda don't like. I like Thunar to have a clean look without any other information.
Any further assistance would be greatly appreciated.
Offline
I tested this behaviour and I have no problems with displaying hidden files even without its side pane. I tested it on:
Thunar 1.8.14 (Xubuntu 20.04),
Thunar 4.15.2 (Xubuntu 20.04), installed from this experimental PPA https://launchpad.net/~xubuntu-dev/+arc … perimental some time ago,
Thunar 1.6.15 (Xubuntu 18.04).
Last edited by Signy (2020-12-29 08:57:38)
Offline
I use Thunar 4.16.0 on Arch Linux.
So you haven't tested my version. Also sorry for not mentioning the version earlier.
Offline
It works with 4.16.0 on Arch Linux for me.
Does clearing your sessions cache help? Delete the contents of ~/.cache/sessions when not logged in.
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 ---
Offline
1) I logged our of XFCE, logged into Awesome WM and delete .cache/sessions folder. I logged back into XFCE and tried viewing the hidden files and it just crashed.
2) I restarted (after doing step 1), logged into XFCE and tried viewing hidden files and it still didn't work.
3) I logged our again and then switched tty and then deleted the folder again, logged back into XFCE to find out that it still didn't work.
In all this I realized that only when the side pane is open I can switch between viewing the hidden files and not viewing them, otherwise it just crashes.
Offline
Unless you have specifically set "KillUserProcesses=yes" in /etc/systemd/logind.conf, xfconf will continue to run after you log out and may affect the process. Try this instead:
1. Reboot
2. Before logging in, switch to another tty and log in to the console
3. Delete the ~/.cache sessions folder
4. Then log in to Xfce
If the problem still persists, have a closer look at log files (~/.xsession-errors, if you have one), at the time that thunar crashes. Or use coredumpctl to get a core dump of the thunar process.
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 ---
Offline
I completed step 1-4, but on step 3 the 1 thing I noticed was that this time there wasn't anything in .cache/sessions/. After I logged in I checked to see if the problem was fixed but it still wasn't. I then opened Thunar again and checked 1 more time and then checked .xsession-errors file and found that it had a lot of output but most of it was just the output that Thunar gives when I start it from the terminal. I then again crashed Thunar and ran coredumpctl and this was the last line that was present:
TIME PID UID GID SIG COREFILE EXE
Tue 2020-12-29 19:49:10 IST 859 1000 1000 11 present /usr/bin/thunar
This is the output that Thunar gives when I start it till it crashes:
(thunar:1235): Gtk-WARNING **: 19:55:11.066: Theme parsing error: gtk.css:7853:22: Expected '(' after 'url'
(thunar:1235): Gtk-WARNING **: 19:55:11.066: Theme parsing error: gtk.css:7853:147: Invalid character in string. Must be escaped.
(thunar:1235): Gtk-WARNING **: 19:55:11.076: Theme parsing error: gtk.css:11635:3: '/*' in comment block
(thunar:1235): Gtk-WARNING **: 19:55:11.076: Theme parsing error: gtk.css:11741:2: '/*' in comment block
(thunar:1235): Gtk-WARNING **: 19:55:11.076: Theme parsing error: gtk.css:11786:26: 'text-shadow' is not a valid color name
(thunar:1235): Gtk-WARNING **: 19:55:11.077: Theme parsing error: gtk.css:12046:14: 'ffffff' is not a valid color name
Segmentation fault (core dumped)
Offline
What does the following return:
coredumpctl info 859 --no-pager
What GTK (appearance) theme are you using? Does changing the theme make a difference? Try this:
thunar -q
...change the appearance theme...
thunar
...and see if the problem still exists.
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 ---
Offline
I crashed Thunar again and I typed
coredumpctl info 859 --no-pager
and this is its output:
PID: 859 (thunar)
UID: 1000 (mayank)
GID: 1000 (mayank)
Signal: 11 (SEGV)
Timestamp: Tue 2020-12-29 19:49:09 IST (24min ago)
Command Line: /usr/bin/thunar file:///home/mayank/.
Executable: /usr/bin/thunar
Control Group: /user.slice/user-1000.slice/session-4.scope
Unit: session-4.scope
Slice: user-1000.slice
Session: 4
Owner UID: 1000 (mayank)
Boot ID: 9936206fcec2434fb89480b2e9c22107
Machine ID: 0945c1a9f0e84d2e89b7d6a7076f424e
Hostname: Inspiron1440
Storage: /var/lib/systemd/coredump/core.thunar.1000.9936206fcec2434fb89480b2e9c22107.859.1609251549000000.zst
Message: Process 859 (thunar) of user 1000 dumped core.
Stack trace of thread 859:
#0 0x00005631a93449d2 n/a (thunar + 0x719d2)
#1 0x00005631a93584d4 n/a (thunar + 0x854d4)
#2 0x00007fd81fa84a94 n/a (libgtk-3.so.0 + 0x89a94)
#3 0x00007fd81f50d052 g_closure_invoke (libgobject-2.0.so.0 + 0x13052)
#4 0x00007fd81f5359c5 n/a (libgobject-2.0.so.0 + 0x3b9c5)
#5 0x00007fd81f528bcb g_signal_emit_valist (libgobject-2.0.so.0 + 0x2ebcb)
#6 0x00007fd81f529b00 g_signal_emit (libgobject-2.0.so.0 + 0x2fb00)
#7 0x00007fd81fa8fb4c gtk_accel_group_activate (libgtk-3.so.0 + 0x94b4c)
#8 0x00007fd81fa90f4e gtk_accel_groups_activate (libgtk-3.so.0 + 0x95f4e)
#9 0x00007fd81fd56ee0 gtk_window_activate_key (libgtk-3.so.0 + 0x35bee0)
#10 0x00007fd81fd574f3 n/a (libgtk-3.so.0 + 0x35c4f3)
#11 0x00007fd81fa7ef6f n/a (libgtk-3.so.0 + 0x83f6f)
#12 0x00007fd81f50d052 g_closure_invoke (libgobject-2.0.so.0 + 0x13052)
#13 0x00007fd81f5353f0 n/a (libgobject-2.0.so.0 + 0x3b3f0)
#14 0x00007fd81f528bcb g_signal_emit_valist (libgobject-2.0.so.0 + 0x2ebcb)
#15 0x00007fd81f529b00 g_signal_emit (libgobject-2.0.so.0 + 0x2fb00)
#16 0x00007fd81fd459f5 n/a (libgtk-3.so.0 + 0x34a9f5)
#17 0x00007fd81fbddee2 n/a (libgtk-3.so.0 + 0x1e2ee2)
#18 0x00007fd81fbdf16d gtk_main_do_event (libgtk-3.so.0 + 0x1e416d)
#19 0x00007fd81f938413 n/a (libgdk-3.so.0 + 0x3c413)
#20 0x00007fd81f989114 n/a (libgdk-3.so.0 + 0x8d114)
#21 0x00007fd81f418a84 g_main_context_dispatch (libglib-2.0.so.0 + 0x52a84)
#22 0x00007fd81f46c9b1 n/a (libglib-2.0.so.0 + 0xa69b1)
#23 0x00007fd81f4172b1 g_main_context_iteration (libglib-2.0.so.0 + 0x512b1)
#24 0x00007fd81f61ed1e g_application_run (libgio-2.0.so.0 + 0xccd1e)
#25 0x00005631a92f50da n/a (thunar + 0x220da)
#26 0x00007fd81f201152 __libc_start_main (libc.so.6 + 0x28152)
#27 0x00005631a92f516e n/a (thunar + 0x2216e)
Stack trace of thread 862:
#0 0x00007fd81f2d3d5d syscall (libc.so.6 + 0xfad5d)
#1 0x00007fd81f465a9b g_cond_wait_until (libglib-2.0.so.0 + 0x9fa9b)
#2 0x00007fd81f3e8853 n/a (libglib-2.0.so.0 + 0x22853)
#3 0x00007fd81f3e89e4 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x229e4)
#4 0x00007fd81f448e1a n/a (libglib-2.0.so.0 + 0x82e1a)
#5 0x00007fd81f445ec1 n/a (libglib-2.0.so.0 + 0x7fec1)
#6 0x00007fd81f3ab3e9 start_thread (libpthread.so.0 + 0x93e9)
#7 0x00007fd81f2d9293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 860:
#0 0x00007fd81f2ce46f __poll (libc.so.6 + 0xf546f)
#1 0x00007fd81f46c93f n/a (libglib-2.0.so.0 + 0xa693f)
#2 0x00007fd81f4172b1 g_main_context_iteration (libglib-2.0.so.0 + 0x512b1)
#3 0x00007fd81f417302 n/a (libglib-2.0.so.0 + 0x51302)
#4 0x00007fd81f445ec1 n/a (libglib-2.0.so.0 + 0x7fec1)
#5 0x00007fd81f3ab3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007fd81f2d9293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 861:
#0 0x00007fd81f2ce46f __poll (libc.so.6 + 0xf546f)
#1 0x00007fd81f46c93f n/a (libglib-2.0.so.0 + 0xa693f)
#2 0x00007fd81f417fd3 g_main_loop_run (libglib-2.0.so.0 + 0x51fd3)
#3 0x00007fd81f653fe8 n/a (libgio-2.0.so.0 + 0x101fe8)
#4 0x00007fd81f445ec1 n/a (libglib-2.0.so.0 + 0x7fec1)
#5 0x00007fd81f3ab3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007fd81f2d9293 __clone (libc.so.6 + 0x100293)
I'm using a theme called Mc-OS-CTLina-XFCE-Dark and this is the output of
thunar -q
with it turned on:
(thunar:2908): Gtk-WARNING **: 20:18:29.488: Theme parsing error: gtk.css:7853:22: Expected '(' after 'url'
(thunar:2908): Gtk-WARNING **: 20:18:29.489: Theme parsing error: gtk.css:7853:147: Invalid character in string. Must be escaped.
(thunar:2908): Gtk-WARNING **: 20:18:29.498: Theme parsing error: gtk.css:11635:3: '/*' in comment block
(thunar:2908): Gtk-WARNING **: 20:18:29.498: Theme parsing error: gtk.css:11741:2: '/*' in comment block
(thunar:2908): Gtk-WARNING **: 20:18:29.498: Theme parsing error: gtk.css:11786:26: 'text-shadow' is not a valid color name
(thunar:2908): Gtk-WARNING **: 20:18:29.499: Theme parsing error: gtk.css:12046:14: 'ffffff' is not a valid color name
If I run the same command with Adwaita then there was no output but it still crashed. To be 100% sure I restarted my system with Adwaita theme applied and tried again but it still crashed. This is the output of
coredumpctl info 859 --no-pager
after applying Adwaita and crashing Thunar just in case you are interested:
PID: 859 (thunar)
UID: 1000 (mayank)
GID: 1000 (mayank)
Signal: 11 (SEGV)
Timestamp: Tue 2020-12-29 19:49:09 IST (37min ago)
Command Line: /usr/bin/thunar file:///home/mayank/.
Executable: /usr/bin/thunar
Control Group: /user.slice/user-1000.slice/session-4.scope
Unit: session-4.scope
Slice: user-1000.slice
Session: 4
Owner UID: 1000 (mayank)
Boot ID: 9936206fcec2434fb89480b2e9c22107
Machine ID: 0945c1a9f0e84d2e89b7d6a7076f424e
Hostname: Inspiron1440
Storage: /var/lib/systemd/coredump/core.thunar.1000.9936206fcec2434fb89480b2e9c22107.859.1609251549000000.zst
Message: Process 859 (thunar) of user 1000 dumped core.
Stack trace of thread 859:
#0 0x00005631a93449d2 n/a (thunar + 0x719d2)
#1 0x00005631a93584d4 n/a (thunar + 0x854d4)
#2 0x00007fd81fa84a94 n/a (libgtk-3.so.0 + 0x89a94)
#3 0x00007fd81f50d052 g_closure_invoke (libgobject-2.0.so.0 + 0x13052)
#4 0x00007fd81f5359c5 n/a (libgobject-2.0.so.0 + 0x3b9c5)
#5 0x00007fd81f528bcb g_signal_emit_valist (libgobject-2.0.so.0 + 0x2ebcb)
#6 0x00007fd81f529b00 g_signal_emit (libgobject-2.0.so.0 + 0x2fb00)
#7 0x00007fd81fa8fb4c gtk_accel_group_activate (libgtk-3.so.0 + 0x94b4c)
#8 0x00007fd81fa90f4e gtk_accel_groups_activate (libgtk-3.so.0 + 0x95f4e)
#9 0x00007fd81fd56ee0 gtk_window_activate_key (libgtk-3.so.0 + 0x35bee0)
#10 0x00007fd81fd574f3 n/a (libgtk-3.so.0 + 0x35c4f3)
#11 0x00007fd81fa7ef6f n/a (libgtk-3.so.0 + 0x83f6f)
#12 0x00007fd81f50d052 g_closure_invoke (libgobject-2.0.so.0 + 0x13052)
#13 0x00007fd81f5353f0 n/a (libgobject-2.0.so.0 + 0x3b3f0)
#14 0x00007fd81f528bcb g_signal_emit_valist (libgobject-2.0.so.0 + 0x2ebcb)
#15 0x00007fd81f529b00 g_signal_emit (libgobject-2.0.so.0 + 0x2fb00)
#16 0x00007fd81fd459f5 n/a (libgtk-3.so.0 + 0x34a9f5)
#17 0x00007fd81fbddee2 n/a (libgtk-3.so.0 + 0x1e2ee2)
#18 0x00007fd81fbdf16d gtk_main_do_event (libgtk-3.so.0 + 0x1e416d)
#19 0x00007fd81f938413 n/a (libgdk-3.so.0 + 0x3c413)
#20 0x00007fd81f989114 n/a (libgdk-3.so.0 + 0x8d114)
#21 0x00007fd81f418a84 g_main_context_dispatch (libglib-2.0.so.0 + 0x52a84)
#22 0x00007fd81f46c9b1 n/a (libglib-2.0.so.0 + 0xa69b1)
#23 0x00007fd81f4172b1 g_main_context_iteration (libglib-2.0.so.0 + 0x512b1)
#24 0x00007fd81f61ed1e g_application_run (libgio-2.0.so.0 + 0xccd1e)
#25 0x00005631a92f50da n/a (thunar + 0x220da)
#26 0x00007fd81f201152 __libc_start_main (libc.so.6 + 0x28152)
#27 0x00005631a92f516e n/a (thunar + 0x2216e)
Stack trace of thread 862:
#0 0x00007fd81f2d3d5d syscall (libc.so.6 + 0xfad5d)
#1 0x00007fd81f465a9b g_cond_wait_until (libglib-2.0.so.0 + 0x9fa9b)
#2 0x00007fd81f3e8853 n/a (libglib-2.0.so.0 + 0x22853)
#3 0x00007fd81f3e89e4 g_async_queue_timeout_pop (libglib-2.0.so.0 + 0x229e4)
#4 0x00007fd81f448e1a n/a (libglib-2.0.so.0 + 0x82e1a)
#5 0x00007fd81f445ec1 n/a (libglib-2.0.so.0 + 0x7fec1)
#6 0x00007fd81f3ab3e9 start_thread (libpthread.so.0 + 0x93e9)
#7 0x00007fd81f2d9293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 860:
#0 0x00007fd81f2ce46f __poll (libc.so.6 + 0xf546f)
#1 0x00007fd81f46c93f n/a (libglib-2.0.so.0 + 0xa693f)
#2 0x00007fd81f4172b1 g_main_context_iteration (libglib-2.0.so.0 + 0x512b1)
#3 0x00007fd81f417302 n/a (libglib-2.0.so.0 + 0x51302)
#4 0x00007fd81f445ec1 n/a (libglib-2.0.so.0 + 0x7fec1)
#5 0x00007fd81f3ab3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007fd81f2d9293 __clone (libc.so.6 + 0x100293)
Stack trace of thread 861:
#0 0x00007fd81f2ce46f __poll (libc.so.6 + 0xf546f)
#1 0x00007fd81f46c93f n/a (libglib-2.0.so.0 + 0xa693f)
#2 0x00007fd81f417fd3 g_main_loop_run (libglib-2.0.so.0 + 0x51fd3)
#3 0x00007fd81f653fe8 n/a (libgio-2.0.so.0 + 0x101fe8)
#4 0x00007fd81f445ec1 n/a (libglib-2.0.so.0 + 0x7fec1)
#5 0x00007fd81f3ab3e9 start_thread (libpthread.so.0 + 0x93e9)
#6 0x00007fd81f2d9293 __clone (libc.so.6 + 0x100293)
Offline
Ahhh. https://git.xfce.org/xfce/thunar/commit … 6926c1e9af.
Looks like a known bug and it was fixed about 42 hours ago.
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 ---
Offline
Ohhh nice! Just wanted to ask, by when will I get the bug fix? I mean when will be the next release of Thunar? And also why weren't you having issues with this bug?
Anyways thanks a lot for your help, hopefully it will be in the repos pretty soon.
Last edited by MasterMynk (2020-12-29 16:50:15)
Offline
Not sure when the next release of thunar will happen. The AUR has a thunar-git package that would include the fix - if you can't wait.
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 ---
Offline
And thunar 4.16.1 has just been released.
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 ---
Offline
Oh okay nice:) The update hasn't hit the repos as yet and its not a huge deal for me so I'll wait. Should I mark this as solved (I think by just writing [SOLVED] at the start of the title)?
Offline
Yes. Just edit your first post and prepend "[SOLVED]" to the topic.
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 ---
Offline
Yeah done and I also got the update of Thunar 4.16.1
Last edited by MasterMynk (2020-12-30 07:53:38)
Offline
[ Generated in 0.011 seconds, 7 queries executed - Memory usage: 662.54 KiB (Peak: 695.38 KiB) ]