! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Xfdesktop crashes when DnD "File System"-icon from Thunar
Status:
RESOLVED: FIXED
Severity:
critical
Product:
Xfdesktop
Component:
General

Comments

Description Harold Aling 2006-10-25 07:18:59 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier: 

Xfdesktop crashes when DnD "File System" from Thunar's pathbar to the the desktop...

Backtrace:

(xfdesktop:13152): thunar-vfs-CRITICAL **: thunar_vfs_path_relative: assertion `strchr (name, '/') == NULL' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1208617296 (LWP 13152)]
0x46154439 in g_atomic_int_add () from /usr/lib/libglib-2.0.so.0
(gdb) backtrace
#0  0x46154439 in g_atomic_int_add () from /usr/lib/libglib-2.0.so.0
#1  0x42c78bef in thunar_vfs_path_list_copy () from /usr/lib/libthunar-vfs-1.so.2
#2  0x00000034 in ?? ()
#3  0x462126d0 in ?? () from /usr/lib/libgobject-2.0.so.0
#4  0x00000014 in ?? ()
#5  0x08098c98 in ?? ()
#6  0x461e0b52 in g_closure_get_type () from /usr/lib/libgobject-2.0.so.0
#7  0x42c7a749 in thunar_vfs_path_list_from_string () from /usr/lib/libthunar-vfs-1.so.2
#8  0x08103b58 in ?? ()


Reproducible: Always

Steps to Reproduce:
1. Open Thunar
2. Drag and drop the "File System" icon from the pathbar to the the desktop
3. Xfdesktop crashes



Expected Results:  
Create a symlink/shortcut to "/"
Comment 1 Brian J. Tarricone (not reading bugmail) 2006-11-04 10:54:27 CET
Well, I quasi-fixed this, but thunar-vfs itself disallows linking '/' to anything, and that's causing a new crash.  Going to see if Benny has a reason for this.  If he 'fixes' thunar-vfs to allow such a link, this will be fixed; otherwise I'll have to add a workaround to refuse to try to link '/' anywhere.
Comment 2 Brian J. Tarricone (not reading bugmail) 2006-11-04 12:27:44 CET
I just put the workaround in for now; Benny doesn't seem to think it's worth changing.  At least it won't crash for RC2.

Bug #2470

Reported by:
Harold Aling
Reported on: 2006-10-25
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
0 users

Version

Attachments

Additional information