If I launch thunar and immediately (before another action) try to open a directory, thunar will immediately exit appromixately 60-70% of the time. If I first open a file (a text file in gvim, for instance, or a video in mplayer), and then try to open directories, they always open ok. I am using 0.8.0 with xfce 4.4.0 on Gentoo x86. Thunar seems to work perfectly otherwise. I launched thunar from a terminal to see if there was output, like a segmentation fault, on the shell, but there is nothing. It just exits and returns to the shell. I emerged strace and ran 'strace thunar' and walked through the steps a few times to isolate the output and find the area where it dies. You can see the last few lines from a couple different runs below. I don't know much about these types of things, but it looks like you can see the folders I am trying to open in the output with the write() commands (/home/jrebelo/feb-pics and /home/jrebelo/longcat). So hopefully the following lines are useful to someone. If I can provide anymore information, just let me know. gettimeofday({1172555434, 947892}, NULL) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=8, events=POLLIN}, {fd=6, events=POLLIN}], 4, 0) = 0 statfs64("/home/jrebelo", 84, {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=18265567, f_bfree=17700095, f_bavail=16772241, f_files=9289728, f_ffree=9274634, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 write(6, "\n\0\1\0\7\0\3\0\0\0", 10) = 10 write(6, " \0\1\0\f\0\1\0\26\0/home/jrebelo/feb-pics", 32) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) @ 0 (0) --- +++ killed by SIGPIPE +++ Process 7377 detached jrebelo@hades ~ $ gettimeofday({1172556229, 598374}, NULL) = 0 gettimeofday({1172556229, 598580}, NULL) = 0 poll([{fd=4, events=POLLIN}, {fd=3, events=POLLIN}, {fd=7, events=POLLIN}, {fd=6, events=POLLIN}], 4, 0) = 0 statfs64("/home/jrebelo", 84, {f_type="EXT2_SUPER_MAGIC", f_bsize=4096, f_blocks=18265567, f_bfree=17700086, f_bavail=16772232, f_files=9289728, f_ffree=9274634, f_fsid={0, 0}, f_namelen=255, f_frsize=4096}) = 0 write(6, "\n\0\1\0\7\0\3\0\0\0", 10) = 10 write(6, "\37\0\1\0\f\0\1\0\25\0/home/jrebelo/longcat", 31) = -1 EPIPE (Broken pipe) --- SIGPIPE (Broken pipe) @ 0 (0) --- +++ killed by SIGPIPE +++ Process 7656 detached
Some more information for you guys, I have xfce 4.4 running on my gentoo 64bit box at work without any issues (no thunar crashes). I looked at the USE flags on each system and noticed that the desktop machine is using dbus and plugins (which I am not on the laptop where the thunar issues occur). I recompiled on the laptop with dbus and plugins (and had to install and start dbus) and now thunar seems to run flawlessly all the time. So, stripping dbus support seems to cause the issue.
What happens if you recompile on your work box without dbus?
i can report the same behavior. running gentoo amd64, xfce-base/thunar-0.8.0-r3. crashes silently about 75% of the time when opening local directories. added dbus USE flag; all problems went away.
I can't reproduce this, so someone really needs to send a backtrace.
I cannot reproduce this either, especially not with a more recent version of Thunar. I'll mark this as WORKSFORME. Please re-open if this issue is still present in Thunar 1.1.x.