Overview: Right-clicking any file/folder, either on the side pane or file/folder list, immediately crashes thunar. Steps to Reproduce: Start thunar, right-click any file or folder. Actual Results: thunar crashed, window closed. Expected Results: file or folder actions menu Build Date & Platform: thunar 1.5.3, 2012-11-25 on Debian Unstable/Sid Linux. Doesn't Occur On Build: thunar 1.5.2, 2012-11-25 on Debian Unstable/Sid Linux. Additional Information: The following is observed on the console: $ thunar (thunar:13401): Gtk-WARNING **: Refusing to add non-unique action 'ThunarUca::manage-actions' to action group 'ThunarWindow' Segmentation fault $ Sorry, don't know how to backtrace this. I may help if you guys tell me how to. Thank you.
Could you attach your uca.xml file (this contains the custom actions you've defined). Its located in ~/.config/Thunar/
Can you check linked libraries? $ ldd `which thunar` I had a similar (same?) problem and the reason was that thunar was linking in distribution's (old) libraries in /usr/lib instead of its newly built libraries in /usr/local/lib. Apparently there is some incompatibility between library versions.
Created attachment 4758 ~/.config/Thunar/uca.xml (custom actions config file)
Created attachment 4759 ldd_which_thunar.txt Result of the console command: ldd `which thunar`.
(In reply to comment #2) > Can you check linked libraries? > > $ ldd `which thunar` > > I had a similar (same?) problem and the reason was that thunar was linking > in distribution's (old) libraries in /usr/lib instead of its newly built > libraries in /usr/local/lib. Apparently there is some incompatibility > between library versions. As you may check on the attached result, all my libs are pointing to /usr/lib/*. It worked fine with thunar 1.5.2 and earlier. I also built (as allways) thunar (and xfce) with ./configure --prefix=/usr. Something wrong?
To create a backtrace, read this: http://wiki.xfce.org/howto/debug. Compile 1.5.3 with debugging symbols first (--enable-debug).
Created attachment 4760 backtrace_thunar_1.5.3.txt (Thunar 1.5.3 right-click crash backtrace) Thunar 1.5.3 right-click crash backtrace with gdb debugger.
Mm the uca plugin shows no debugging symbols, are you sure you have no old uca-plugin on your system (from 1.5.2) and thunar has been restarted properly (log-out or run thunar -q to quit the running instances).
How can I make sure I have no old uca-plugin on my system? I have compiled Thunar and re-installed with: $ ./configure --prefix=/usr --enable-debug $ make $ sudo make install Thunar version gives: $ thunar -V Thunar 1.5.3 (Xfce 4.10) Anyway, I made sure there were no other instances of Thunar running and made a second backtrace.
Created attachment 4761 backtrace_thunar_1.5.3_#2.txt (Thunar 1.5.3 right-click crash backtrace, take 2) Thunar 1.5.3 right-click crash backtrace, take 2, with gdb debugger.
Remove thunar 1.5.2 and make sure /usr/lib/x86_64-linux-gnu/thunarx-2/thunar-uca.so is removed and them install 1.5.3. With the 2nd backtrace there are also no debugging symbols (0x00007fffe17d7f49 in ?? often indicate its an optimized build).
(In reply to comment #11) > Remove thunar 1.5.2 and make sure > /usr/lib/x86_64-linux-gnu/thunarx-2/thunar-uca.so is removed and them > install 1.5.3. With the 2nd backtrace there are also no debugging symbols > (0x00007fffe17d7f49 in ?? often indicate its an optimized build). It works now, Thank you! I have done as you said, uninstalled Thunar, had to manually remove /usr/lib/x86_64-linux-gnu/thunarx-2/thunar-uca.so. Installed again Thunar 1.5.3 and no more issues. Also after install I stil have the following plugins: $ ls /usr/lib/x86_64-linux-gnu/thunarx-2/ thunar-apr.so thunar-sbr.so thunar-archive-plugin.so thunar-wallpaper-plugin.so thunar-media-tags-plugin.so Should I delete any/all of them? Any idea why this problem existed? Shouldn't the 1.5.3 install take care of this plugin incompatibility? Anyway, thank you for your help and excellent work on Thunar 1.5.3. It's way faster! Good Job! :)
Yes, if you install correctly it should overwrite the old plugins, but maybe make install does not have the permission to do so.
(In reply to comment #13) > Yes, if you install correctly it should overwrite the old plugins, but maybe > make install does not have the permission to do so. Was my above install procedure incorrect in some way? How can I be sure that make install has the correct permissions? Regarding the plugins located on /usr/lib/x86_64-linux-gnu/thunarx-2/ what should I do?
Walk through the make install output an look what it does. The apr, sbr and wallpaper .so files should be replaced with 1.5.3 versions (although nothing changed there between the two releases).
(In reply to comment #15) > Walk through the make install output an look what it does. The apr, sbr and > wallpaper .so files should be replaced with 1.5.3 versions (although nothing > changed there between the two releases). Thanks. I'll do that. Please bear with me, I noticed that newer version plugins, and thunar-uca.so were installed on /usr/lib/thunarx-2/ $ ls -la /usr/lib/thunarx-2/ total 1228 drwxr-xr-x 2 root root 4096 Nov 26 15:26 . drwxr-xr-x 183 root root 69632 Nov 26 15:26 .. -rwxr-xr-x 1 root root 1286 Nov 26 15:26 thunar-apr.la -rwxr-xr-x 1 root root 200744 Nov 26 15:26 thunar-apr.so -rwxr-xr-x 1 root root 1293 Nov 26 15:26 thunar-sbr.la -rwxr-xr-x 1 root root 389557 Nov 26 15:26 thunar-sbr.so -rwxr-xr-x 1 root root 1329 Nov 26 15:26 thunar-uca.la -rwxr-xr-x 1 root root 351689 Nov 26 15:26 thunar-uca.so -rw-r--r-- 1 root root 46944 Aug 8 2011 thunar-vcs-plugin.so -rwxr-xr-x 1 root root 1357 Nov 26 15:26 thunar-wallpaper-plugin.la -rwxr-xr-x 1 root root 46664 Nov 26 15:26 thunar-wallpaper-plugin.so -rwxr-xr-x 1 root root 1018 Nov 15 15:50 thunarx-python.la -rwxr-xr-x 1 root root 106651 Nov 15 15:50 thunarx-python.so Where the older are located on /usr/lib/x86_64-linux-gnu/thunarx-2/ $ ls -la /usr/lib/x86_64-linux-gnu/thunarx-2/ total 288 drwxr-xr-x 2 root root 4096 Nov 26 20:29 . drwxr-xr-x 68 root root 69632 Nov 16 14:08 .. -rw-r--r-- 1 root root 38880 May 5 2012 thunar-apr.so -rw-r--r-- 1 root root 30560 Oct 28 2011 thunar-archive-plugin.so -rw-r--r-- 1 root root 59232 Nov 30 2011 thunar-media-tags-plugin.so -rw-r--r-- 1 root root 63456 May 5 2012 thunar-sbr.so -rw-r--r-- 1 root root 14304 May 5 2012 thunar-wallpaper-plugin.so So, these should have been "replaced" or deleted/moved, since the newer plugins directory seems to be in use? Should this directory still exist or be deleted?
:-) in that case you can remove the old location.