Xfce Forum

Sub domains
 

You are not logged in.

#1 2018-06-15 12:13:24

akovia
Member
Registered: 2011-03-27
Posts: 60

[SOLVED]Thunar 1.8.0-1 Segfault

Arch Linux fully updated.

Thunar will no longer start after updating a few days back. I had one instance open that was continuing to work, but trying to open a new instance would segfault. I just updated again and rebooted, but can't open thunar.

Thunar[889]: segfault at 8 ip 00007f5227333578 sp 00007ffe48a2cb90 error 4 in libgobject-2.0.so.0.5600.1[7f522731a000+52000]

Downgraded to 1.6.15-1 and it will start again. Funny thing is that it says version 1.8.1 under the help menu in the GUI, but properly lists the version from the terminal.
Maybe I need to downgrade some plugins as well.

$ thunar --version
Thunar 1.6.15 (Xfce 4.12)

I am freaking out a bit without my file manager. Looking for some advice to troubleshoot this further.

Last edited by akovia (2018-06-21 17:35:27)


Arch Linux

Offline

#2 2018-06-15 21:11:12

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Thunar can run in daemon mode:

$ ps -ef | grep -i thunar
toz       4008  3364  0 17:09 pts/1    00:00:00 grep -i thunar
toz      13130     1  0 Jun11 ?        00:01:03 Thunar --daemon

Daemon mode is useful for things like device automounting, but if you upgrade thunar without re-starting the daemon, you'll run into an inconsistent state. Either restart the thuanr daemon or log out and back in again.

Does the problem still exist after the restart or logout/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

#3 2018-06-15 22:31:17

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Thanks ToZ, sorry I wasn't clear before. I rebooted and I still couldn't open thunar.

Just tried again.

Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Package (1)   Old Version  New Version  Net Change

extra/thunar  1.6.15-1     1.8.1-1        0.56 MiB

Total Installed Size:  5.62 MiB
Net Upgrade Size:      0.56 MiB

Starting thunar from the command line shows a black window for a moment before it closes.

$ ps -ef| grep -i thunar
akovia    7869  8024  0 16:48 pts/3    00:00:00 grep --color=auto -i thunar

$ thunar
Segmentation fault (core dumped)

$ demsg
.....
.....
Thunar[4740]: segfault at 8 ip 00007f24f23eb578 sp 00007ffcf8f4c400 error 4 in libgobject-2.0.so.0.5600.1[7f24f23d2000+52000]

Just tried removing both
thunar-dropbox 0.2.1-1 & thunar-megasync 3.6.5.0-1
but still no joy.

The only other thunar related packages I can see are
extra/thunar-archive-plugin 0.4.0-1 (xfce4-goodies) [installed]
extra/thunar-media-tags-plugin 0.3.0-1 (xfce4-goodies) [installed]
extra/thunar-volman 0.8.1-2 (xfce4) [installed]

Downgrading to thunar 1.6.15-1 seems to be working for now.
Not sure what to try next.


Arch Linux

Offline

#4 2018-06-15 23:16:31

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Try running thunar through gdb and get a backtrace:

thunar -q
gdb
file /usr/bin/thunar
run

When you get the crash, do:

bt

...it might point out where the problem is from.

Also:

sudo updatedb
locate -i thunar | grep bin

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

#5 2018-06-15 23:43:00

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

(gdb) run
Starting program: /usr/bin/thunar 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".
[New Thread 0x7fffeb064700 (LWP 6352)]
[New Thread 0x7fffea863700 (LWP 6353)]
[New Thread 0x7fffe9e50700 (LWP 6354)]

Thread 1 "thunar" received signal SIGSEGV, Segmentation fault.
0x00007ffff4f9d578 in ?? () from /usr/lib/libgobject-2.0.so.0

(gdb) bt
#0  0x00007ffff4f9d578 in  () at /usr/lib/libgobject-2.0.so.0
#1  0x00007ffff4f9344b in g_closure_invalidate () at /usr/lib/libgobject-2.0.so.0
#2  0x00007ffff4f93306 in g_closure_unref () at /usr/lib/libgobject-2.0.so.0
#3  0x00007ffff66e3c3b in  () at /usr/lib/libgtk-3.so.0
#4  0x00007ffff4f98b05 in g_object_unref () at /usr/lib/libgobject-2.0.so.0
#5  0x00007ffff4ca6cf2 in  () at /usr/lib/libglib-2.0.so.0
#6  0x00007ffff4ca7c38 in g_hash_table_remove_all () at /usr/lib/libglib-2.0.so.0
#7  0x00007ffff4ca7c7f in g_hash_table_destroy () at /usr/lib/libglib-2.0.so.0
#8  0x00007ffff66e602f in  () at /usr/lib/libgtk-3.so.0
#9  0x00007ffff4f98b05 in g_object_unref () at /usr/lib/libgobject-2.0.so.0
#10 0x00005555555d23bd in  ()
#11 0x00007ffff4f93a4d in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#12 0x00007ffff4fa6e40 in  () at /usr/lib/libgobject-2.0.so.0
#13 0x00007ffff4faf6f6 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#14 0x00007ffff4fb0130 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#15 0x00007ffff4f98076 in  () at /usr/lib/libgobject-2.0.so.0
#16 0x00007ffff4f9a68a in g_object_notify_by_pspec () at /usr/lib/libgobject-2.0.so.0
#17 0x00005555555c0d70 in  ()
#18 0x00007ffff4f93a4d in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff4fa6e40 in  () at /usr/lib/libgobject-2.0.so.0
#20 0x00007ffff4faf6f6 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#21 0x00007ffff4fb0130 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#22 0x00005555555839c8 in  ()
#23 0x00007ffff69eca5c in  () at /usr/lib/libgtk-3.so.0
#24 0x00007ffff4f93a4d in g_closure_invoke () at /usr/lib/libgobject-2.0.so.0
#25 0x00007ffff4fa6e40 in  () at /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff4faf6f6 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff4fb060c in g_signal_emit_by_name () at /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#28 0x00007ffff6903685 in  () at /usr/lib/libgtk-3.so.0
#29 0x00007ffff6907870 in  () at /usr/lib/libgtk-3.so.0
#30 0x00007ffff6873cf8 in  () at /usr/lib/libgtk-3.so.0
#31 0x00007ffff4f93c96 in  () at /usr/lib/libgobject-2.0.so.0
#32 0x00007ffff4faf3a4 in g_signal_emit_valist () at /usr/lib/libgobject-2.0.so.0
#33 0x00007ffff4fb0130 in g_signal_emit () at /usr/lib/libgobject-2.0.so.0
#34 0x00007ffff69c3ae5 in  () at /usr/lib/libgtk-3.so.0
#35 0x00007ffff6872c80 in gtk_main_do_event () at /usr/lib/libgtk-3.so.0
#36 0x00007ffff6382526 in  () at /usr/lib/libgdk-3.so.0
#37 0x00007ffff63b3e45 in  () at /usr/lib/libgdk-3.so.0
#38 0x00007ffff4cb9368 in g_main_context_dispatch () at /usr/lib/libglib-2.0.so.0
#39 0x00007ffff4cb95b1 in  () at /usr/lib/libglib-2.0.so.0
#40 0x00007ffff4cb963e in g_main_context_iteration () at /usr/lib/libglib-2.0.so.0
#41 0x00007ffff527a97e in g_application_run () at /usr/lib/libgio-2.0.so.0
#42 0x00005555555740cb in  ()
#43 0x00007ffff46b606b in __libc_start_main () at /usr/lib/libc.so.6
#44 0x00005555555741ea in  ()
(gdb) 

updated db

$ locate -i thunar | grep bin
/home/akovia/bin/thunar-upload-to-imgur.sh
/usr/bin/Thunar
/usr/bin/thunar
/usr/bin/thunar-settings
/usr/bin/thunar-volman
/usr/bin/thunar-volman-settings

I'm not completely code illiterate, but that backtrace means little to nothing to me, other than the modules that are failing.


Arch Linux

Offline

#6 2018-06-16 00:41:56

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

There are no obvious thunar components listed in the backtrace, just gtk3/glib components.

Are you running stock gtk3/glibc/glib2 from the arch repositories? Do you have any non-respository (AUR/ABS) packages installed that are related to gtk3/glib2/glibc?

Does the following return sane values?

ldd /usr/bin/thunar

Maybe also confirm your versions of those packages:

pacman -Qi glibc | grep -A1 Name
pacman -Qi gtk3 | grep -A1 Name
pacman -Qi glib2 | grep -A1 Name

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

#7 2018-06-16 02:17:11

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

ToZ wrote:

There are no obvious thunar components listed in the backtrace, just gtk3/glib components.

Are you running stock gtk3/glibc/glib2 from the arch repositories? Do you have any non-respository (AUR/ABS) packages installed that are related to gtk3/glib2/glibc?

hmmm..

$ yaourt gtk3 | grep installed
1 extra/gtk3 3.22.30-1 [installed]
3 extra/vte3 0.52.2-1 [installed]
4 extra/wxgtk-common 3.0.4-1 [installed]
5 extra/wxgtk3 3.0.4-1 [installed]
12 community/libappindicator-gtk3 12.10.0-12 [installed]
13 community/libdbusmenu-gtk3 16.04.0-2 [installed]
15 community/libindicator-gtk3 12.10.1-7 [installed]
48 aur/adwaita-x-dark-and-light-theme 1.3-2 [installed] (122) (0.40)
53 aur/awf-git v1.3.1.r3.g8a579e6-1 [installed: v1.4.0.r0.gc937f1b-1] (41) (0.29)
81 aur/delorean-dark-themes-3.8 10082013-1 [installed] (28) (0.00)
199 aur/mcomix-gtk3-git r1475.3f8f3dc-2 [installed] (1) (0.06)
221 aur/oomox 1.6.1-4 [installed] (28) (1.63)
263 aur/vertex-themes-git r589.20161009-1 [installed: r590.20170128-1] (36) (0.81)

$ yaourt glib2 | grep installed
1 core/glib2 2.56.1-1 [installed]
2 core/glib2-docs 2.56.1-1 [installed]
4 multilib/lib32-glib2 2.56.1-1 [installed]

1 core/glibc 2.27-3 (base) [installed]
2 core/lib32-glibc 2.27-3 [installed]
4 extra/nss-mdns 0.10-7 [installed]

Not sure if that was an accurate way to test. Open to suggestions.
Should confirm package versions though.


ToZ wrote:

Does the following return sane values?

ldd /usr/bin/thunar

I'm thinking this looks ok?

$ ldd /usr/bin/thunar
	linux-vdso.so.1 (0x00007ffdabbde000)
	libthunarx-2.so.0 => /usr/lib/libthunarx-2.so.0 (0x00007f35fcd23000)
	libexo-1.so.0 => /usr/lib/libexo-1.so.0 (0x00007f35fcadd000)
	libgudev-1.0.so.0 => /usr/lib/libgudev-1.0.so.0 (0x00007f35fc8d3000)
	libnotify.so.4 => /usr/lib/libnotify.so.4 (0x00007f35fc6cb000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x00007f35fc4c3000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x00007f35fc2a7000)
	libxfce4ui-1.so.0 => /usr/lib/libxfce4ui-1.so.0 (0x00007f35fc095000)
	libgtk-x11-2.0.so.0 => /usr/lib/libgtk-x11-2.0.so.0 (0x00007f35fba58000)
	libgdk-x11-2.0.so.0 => /usr/lib/libgdk-x11-2.0.so.0 (0x00007f35fb7a4000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007f35fb57e000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007f35fb25b000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007f35fb037000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007f35fadf0000)
	libxfce4util.so.7 => /usr/lib/libxfce4util.so.7 (0x00007f35fabe2000)
	libxfconf-0.so.2 => /usr/lib/libxfconf-0.so.2 (0x00007f35fa9cf000)
	libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00007f35fa7a8000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007f35fa557000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007f35fa1b7000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007f35f9f63000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007f35f9c4c000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007f35f9a2e000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007f35f9672000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007f35f946e000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007f35f9261000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007f35f904d000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007f35f8e0a000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007f35f8b41000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f35f8802000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007f35f846d000)
	libudev.so.1 => /usr/lib/libudev.so.1 (0x00007f35f824f000)
	libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007f35f8048000)
	libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0x00007f35f7e3e000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007f35f7c38000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007f35f7a2d000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007f35f782a000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00007f35f7619000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007f35f740e000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007f35f7204000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007f35f7001000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007f35f6dfe000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f35f6bec000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007f35f6944000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007f35f670e000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007f35f650a000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f35f62e1000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007f35f60d3000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007f35f5ebc000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007f35f5cb4000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0x00007f35f5aaa000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007f35f588e000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f35f568c000)
	libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007f35f5405000)
	libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007f35f51ee000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x00007f35f4f96000)
	libffi.so.6 => /usr/lib/libffi.so.6 (0x00007f35f4d8d000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007f35f4b1b000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007f35fd1d4000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007f35f4917000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007f35f466b000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007f35f4439000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007f35f4229000)
	libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0x00007f35f4023000)
	libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007f35f3e21000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f35f3c1d000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f35f3a17000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007f35f380f000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007f35f35e9000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007f35f33cc000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007f35f30b0000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007f35f2e60000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007f35f2c34000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007f35f2a14000)

I am running the gtk3 vertex theme listed above. I'll fiddle with that tomorrow evening after work. Hopefully it's that simple.
Seriously appreciate the help here! Will report back.


Arch Linux

Offline

#8 2018-06-16 02:25:39

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Is this result set from Thunar 1.6x? It has gtk2 libraries listed. Thunar 1.8x is gtk3-based.

Can you get the same output for Thunar 1.8.1. If this is from thunar 1.8.1, then it looks like there is an issue with your install files.


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

#9 2018-06-16 10:51:53

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Got up early and tried a few different themes but nothing worked.

Is this result set from Thunar 1.6x? It has gtk2 libraries listed. Thunar 1.8x is gtk3-based.

Can you get the same output for Thunar 1.8.1. If this is from thunar 1.8.1, then it looks like there is an issue with your install files.

ooops..

$ ldd /usr/bin/thunar
	linux-vdso.so.1 (0x00007ffc87b21000)
	libthunarx-3.so.0 => /usr/lib/libthunarx-3.so.0 (0x00007fa64a769000)
	libexo-2.so.0 => /usr/lib/libexo-2.so.0 (0x00007fa64a536000)
	libgudev-1.0.so.0 => /usr/lib/libgudev-1.0.so.0 (0x00007fa64a32c000)
	libnotify.so.4 => /usr/lib/libnotify.so.4 (0x00007fa64a124000)
	libSM.so.6 => /usr/lib/libSM.so.6 (0x00007fa649f1c000)
	libICE.so.6 => /usr/lib/libICE.so.6 (0x00007fa649d00000)
	libxfce4ui-2.so.0 => /usr/lib/libxfce4ui-2.so.0 (0x00007fa649aee000)
	libgtk-3.so.0 => /usr/lib/libgtk-3.so.0 (0x00007fa6491df000)
	libgdk-3.so.0 => /usr/lib/libgdk-3.so.0 (0x00007fa648eea000)
	libpango-1.0.so.0 => /usr/lib/libpango-1.0.so.0 (0x00007fa648ca3000)
	libatk-1.0.so.0 => /usr/lib/libatk-1.0.so.0 (0x00007fa648a7d000)
	libcairo.so.2 => /usr/lib/libcairo.so.2 (0x00007fa64875a000)
	libgdk_pixbuf-2.0.so.0 => /usr/lib/libgdk_pixbuf-2.0.so.0 (0x00007fa648536000)
	libxfce4util.so.7 => /usr/lib/libxfce4util.so.7 (0x00007fa648328000)
	libxfconf-0.so.2 => /usr/lib/libxfconf-0.so.2 (0x00007fa648115000)
	libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0x00007fa647d75000)
	libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0x00007fa647b21000)
	libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0x00007fa64780a000)
	libpthread.so.0 => /usr/lib/libpthread.so.0 (0x00007fa6475ec000)
	libc.so.6 => /usr/lib/libc.so.6 (0x00007fa647230000)
	libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0x00007fa64702c000)
	libpangocairo-1.0.so.0 => /usr/lib/libpangocairo-1.0.so.0 (0x00007fa646e1f000)
	libfribidi.so.0 => /usr/lib/libfribidi.so.0 (0x00007fa646c03000)
	libcairo-gobject.so.2 => /usr/lib/libcairo-gobject.so.2 (0x00007fa6469fa000)
	libX11.so.6 => /usr/lib/libX11.so.6 (0x00007fa6466bb000)
	libm.so.6 => /usr/lib/libm.so.6 (0x00007fa646326000)
	libudev.so.1 => /usr/lib/libudev.so.1 (0x00007fa646108000)
	libuuid.so.1 => /usr/lib/libuuid.so.1 (0x00007fa645f01000)
	libstartup-notification-1.so.0 => /usr/lib/libstartup-notification-1.so.0 (0x00007fa645cf7000)
	libXi.so.6 => /usr/lib/libXi.so.6 (0x00007fa645ae6000)
	libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0x00007fa6458e0000)
	libatk-bridge-2.0.so.0 => /usr/lib/libatk-bridge-2.0.so.0 (0x00007fa6456ae000)
	libepoxy.so.0 => /usr/lib/libepoxy.so.0 (0x00007fa645381000)
	libpangoft2-1.0.so.0 => /usr/lib/libpangoft2-1.0.so.0 (0x00007fa64516d000)
	libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0x00007fa644f2a000)
	libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0x00007fa644d27000)
	libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0x00007fa644b1c000)
	libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0x00007fa644912000)
	libXcomposite.so.1 => /usr/lib/libXcomposite.so.1 (0x00007fa64470f000)
	libXdamage.so.1 => /usr/lib/libXdamage.so.1 (0x00007fa64450c000)
	libxkbcommon.so.0 => /usr/lib/libxkbcommon.so.0 (0x00007fa6442cd000)
	libwayland-cursor.so.0 => /usr/lib/libwayland-cursor.so.0 (0x00007fa6440c5000)
	libwayland-egl.so.1 => /usr/lib/libwayland-egl.so.1 (0x00007fa643ec3000)
	libwayland-client.so.0 => /usr/lib/libwayland-client.so.0 (0x00007fa643cb4000)
	libXext.so.6 => /usr/lib/libXext.so.6 (0x00007fa643aa2000)
	librt.so.1 => /usr/lib/librt.so.1 (0x00007fa64389a000)
	libthai.so.0 => /usr/lib/libthai.so.0 (0x00007fa643690000)
	libpixman-1.so.0 => /usr/lib/libpixman-1.so.0 (0x00007fa6433e8000)
	libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0x00007fa64311f000)
	libpng16.so.16 => /usr/lib/libpng16.so.16 (0x00007fa642ee9000)
	libxcb-shm.so.0 => /usr/lib/libxcb-shm.so.0 (0x00007fa642ce5000)
	libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007fa642abc000)
	libxcb-render.so.0 => /usr/lib/libxcb-render.so.0 (0x00007fa6428ae000)
	libXrender.so.1 => /usr/lib/libXrender.so.1 (0x00007fa6426a3000)
	libz.so.1 => /usr/lib/libz.so.1 (0x00007fa64248c000)
	libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007fa64228a000)
	libdbus-glib-1.so.2 => /usr/lib/libdbus-glib-1.so.2 (0x00007fa642063000)
	libdbus-1.so.3 => /usr/lib/libdbus-1.so.3 (0x00007fa641e12000)
	libresolv.so.2 => /usr/lib/libresolv.so.2 (0x00007fa641bfb000)
	libmount.so.1 => /usr/lib/libmount.so.1 (0x00007fa6419a3000)
	libffi.so.6 => /usr/lib/libffi.so.6 (0x00007fa64179a000)
	libpcre.so.1 => /usr/lib/libpcre.so.1 (0x00007fa641528000)
	/lib64/ld-linux-x86-64.so.2 => /usr/lib64/ld-linux-x86-64.so.2 (0x00007fa64ac27000)
	libdl.so.2 => /usr/lib/libdl.so.2 (0x00007fa641324000)
	libxcb-util.so.1 => /usr/lib/libxcb-util.so.1 (0x00007fa64111e000)
	libX11-xcb.so.1 => /usr/lib/libX11-xcb.so.1 (0x00007fa640f1c000)
	libatspi.so.0 => /usr/lib/libatspi.so.0 (0x00007fa640cea000)
	libharfbuzz.so.0 => /usr/lib/libharfbuzz.so.0 (0x00007fa640a3e000)
	libexpat.so.1 => /usr/lib/libexpat.so.1 (0x00007fa64080c000)
	libdatrie.so.1 => /usr/lib/libdatrie.so.1 (0x00007fa640604000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0x00007fa6403f4000)
	libXau.so.6 => /usr/lib/libXau.so.6 (0x00007fa6401f0000)
	libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007fa63ffea000)
	libsystemd.so.0 => /usr/lib/libsystemd.so.0 (0x00007fa63fd63000)
	libblkid.so.1 => /usr/lib/libblkid.so.1 (0x00007fa63fb13000)
	libgraphite2.so.3 => /usr/lib/libgraphite2.so.3 (0x00007fa63f8e7000)
	liblzma.so.5 => /usr/lib/liblzma.so.5 (0x00007fa63f6c1000)
	liblz4.so.1 => /usr/lib/liblz4.so.1 (0x00007fa63f4a4000)
	libgcrypt.so.20 => /usr/lib/libgcrypt.so.20 (0x00007fa63f188000)
	libgpg-error.so.0 => /usr/lib/libgpg-error.so.0 (0x00007fa63ef68000)

For completeness I also removed:
thunar-media-tags-plugin
thunar-volman
thunar-archive-plugin

no difference

Last edited by akovia (2018-06-16 11:07:17)


Arch Linux

Offline

#10 2018-06-16 12:53:37

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Hrm. Everything looks okay.

Can you try to get an strace to see if it shows something?

strace -o thunar.strace /usr/bin/thunar

...and post back the contents of the thunar.strace file.

Another thing you could try is to install "thunar-git" from the AUR (this package will be the same as 1.8.1 with only a couple of translation additions). Since you use yaourt, during the process say "Yes" to "Edit PKGBUILD" and make 2 changes:

1. in the prepare() function change "--disable-debug" to "--enable-debug=full"
2. in the build() function, change "make" to "make CFLAGS=-Wno-error"

Once completed, run "thunar -q && thunar" and see if anything interesting gets displayed in the terminal window.


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

#11 2018-06-16 21:10:38

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Back again with some good news.
I remembered this problem that I thought might be related to a config file problem so
I decided to back up my .config/Thunar folder to start clean and it opened fine.

Turns out it was in the uca.xml file. The file is huge so it took a while to nail down the bad action.

<action>
	<icon>/home/akovia/bin/FontRename4/FontRename4_48x.png</icon>
	<name>FontRename4</name>
	<unique-id>1449505078303158-7</unique-id>
	<command>xfce4-terminal --tab --drop-down -H -x  java -jar /home/akovia/bin/FontRename4.jar  -h1 -m3 -s %F | tee -a fontrename4.log</command>
	<description>Rename Fonts </description>
	<patterns>*</patterns>
	<directories/>
</action>

I haven't used this action in years so it's no loss, but 1.8 does not like it. I never knew that Thunar parsed the actions on start.

Hopefully this info will be useful to the devs and they can trap problems like this to give some useful error messages. Please let me know if you still want the strace, but I'm hoping you can replicate the problem now.

As always, a serious thanks for helping!!


EDIT:
I just found this. LOL!

Last edited by akovia (2018-06-16 21:17:21)


Arch Linux

Offline

#12 2018-06-16 21:33:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Strange. The action file works on my computer. I don't have the fontrename4.jar file though to test if fully. Where can I get a copy?

EDIT:
I just found this. LOL!

We've come full circle, haven't we? There is a good chance that I am to blame for this mess. lol.


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

#13 2018-06-16 22:46:45

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Wow, I just can't catch a break!

I zipped up the fontrename4 folder to send it to you. It zipped up just fine, but when I clicked on the archive, thunar crashed again.

Removed my config files again and I'm back in business. *For now*

Here's some dmesg errors:

[Fri Jun 15 17:27:14 2018] thunar[18181]: segfault at 8 ip 00007f5f05748578 sp 00007ffd4c809b70 error 4 in libgobject-2.0.so.0.5600.1[7f5f0572f000+52000]
[Fri Jun 15 17:36:06 2018] usb 3-2.4.4: reset high-speed USB device number 8 using xhci_hcd
[Fri Jun 15 17:40:59 2018] thunar[22753]: segfault at 8 ip 00007f4c6a55b578 sp 00007ffc9d6851f0 error 4 in libgobject-2.0.so.0.5600.1[7f4c6a542000+52000]
[Fri Jun 15 17:42:29 2018] thunar[23243]: segfault at 8 ip 00007f2bc5d62578 sp 00007ffd8dab07d0 error 4 in libgobject-2.0.so.0.5600.1[7f2bc5d49000+52000]
[Fri Jun 15 19:29:09 2018] traps: thunar[5020] general protection ip:7f398bfb15c6 sp:7fff71bdf880 error:0 in libc-2.27.so[7f398bf2e000+1b3000]
[Fri Jun 15 19:29:38 2018] thunar[25475]: segfault at 70697a ip 00007f49559c616f sp 00007ffe9f32cfc8 error 4 in libgobject-2.0.so.0.56

and from the console:

~ $ thunar
double free or corruption (fasttop)
Aborted (core dumped)

Here's fontrename4

It crashed every time so I should be able to narrow it down again. Will try to find the cuprit after walking the dog.
Was something changed in 1.8 in the way custom actions are handled?


Arch Linux

Offline

#14 2018-06-17 00:01:03

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

I'm sorry but I can not replicate this on either of my Arch systems. The custom action with the actual jar file works fine.

Was something changed in 1.8 in the way custom actions are handled?

Alot was changed between 1.6.15 and 1.8.1 - namely the gtk3 and dbus-glib to GDBus migration. A complete list of changes to the UCA plugin are listed here. 1.6.15 was released in about Feb 2017.

Since you got a core dump, see if you can analyse it to determine cause (https://wiki.archlinux.org/index.php/Co … _core_dump).


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

#15 2018-06-17 15:30:15

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

Well I did find the next problem custom action that allowed me to select that archive, but now I get crashes when selecting other particular files. Some files are just fine, so I think it has to do with accessing metadata from files possibly? Still not sure how that interlocks with custom actions. Here was the last culprit.

<action>
	<icon>terminal</icon>
	<name>Compare</name>
	<unique-id>1449505144320664-10</unique-id>
	<command>xfce4-terminal --tab --drop-down -H -x cmp %F</command>
	<description>Compare files with cmp</description>
	<patterns>*</patterns>
	<audio-files/>
	<image-files/>
	<other-files/>
	<text-files/>
	<video-files/>
</action>

The dmesg error now is this:

traps: Thunar[876] general protection ip:7fb902d135c6 sp:7ffc6f4f3880 error:0 in libc-2.27.so[7fb902c90000+1b3000]

Just poking around google with my error msgs points to a lot of problems with nvidia drivers. My card is a bit old (GeForce GTX 660), but is still supported and I'm using the latest drivers of course. I'm not sure how many packages I'd have to downgrade to go back to an earlier nvidia driver. At least the kernel and vbox drivers I would think.

I just had a problem with not being able to mount my luks drive in thunar out of the blue as well in either version of thunar.
"error storing passphrase in keyring" "the name org.freedesktop.secrets was not provided"
I was able to manually mount it through the terminal, but not thunar. Tracking that down had me install gnome keyring which I removed back in February because it was screwing with chromium.

So I'm not sure wth is going on, but these latest rounds of updates have royally screwed my system up. Not sure if anything is related, but the fact that I can't find others with the same problem makes me think it might just be an nvidia driver problem with my particular card. I am certainly open to more troubleshooting suggestions, but these errors are so general in nature that it's hard to pin down the exact cause.


Arch Linux

Offline

#16 2018-06-17 16:55:05

ToZ
Administrator
From: Canada
Registered: 2011-06-02
Posts: 11,482

Re: [SOLVED]Thunar 1.8.0-1 Segfault

If there was some way to replicate this on another system, it would make sense to create a bug report. This last custom action works for me as well, but I don't have an nvidia card.

The real wildcard is that it works with Thunar 1.6x - and the main difference between the two versions is gtk3 and dbus.

Perhaps you could rule out a profile issue. Create another temporary user on your system and test these there. It will help in determining if its a systemic problem.


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

#17 2018-06-17 17:25:16

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

So I still had a clean profile from troubleshooting this issue.

Everything seems to work fine until I copy over my uca.xml and then the fun starts to happen. Clicking on a jpg file crashes thunar. Here is the corresponding ca that when removed, the crashing stops.

<action>
	<icon>application-pdf</icon>
	<name>JPG to PDF</name>
	<unique-id>1408655656096142-3</unique-id>
	<command>convert -compress jpeg %f cover.pdf</command>
	<description>Concert Image to PDF</description>
	<patterns>*.jpg;*.jpeg</patterns>
	<image-files/>
</action>

At least this ca corresponds to the type of file it filters. The fontrename4 worked on all files which would explain why thunar wouldn't open at all, but the cmp action worked on all files as well and didn't prevent thunar from opening. At least it doesn't appear to be a profile issue.


Arch Linux

Offline

#18 2018-06-19 01:48:14

akovia
Member
Registered: 2011-03-27
Posts: 60

Re: [SOLVED]Thunar 1.8.0-1 Segfault

For anyone ending up here, it appears this will be fixed in 1.8.2
https://bugzilla.xfce.org/show_bug.cgi?id=14464

Thanks ToZ!!


Arch Linux

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 8 queries executed - Memory usage: 698.75 KiB (Peak: 747.59 KiB) ]