! 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 !
renaming a .desktop file sitting on the desktop from a terminal makes xfdeskt...
Status:
RESOLVED: DUPLICATE
Product:
Xfdesktop
Component:
General

Comments

Description Vincent Paeder 2006-04-21 13:44:58 CEST
Steps to reproduce:
1. put a .desktop file on the desktop
2. open a terminal and rename this file

Result:
xfdesktop crashes with a delightful segfault
Comment 1 Vincent Paeder 2006-04-21 13:51:06 CEST
I forgot to mention it only happens sometimes.
Comment 2 Brian J. Tarricone (not reading bugmail) 2006-04-21 16:34:55 CEST
Unable to reproduce.  I'm gonna need a backtrace of the crash.
Comment 3 Vincent Paeder 2006-04-21 17:06:15 CEST
It seems to be a bit more complicated than that, and closely linked to bug 1701.
Example: I open the property dialog for one .desktop file. I select the Launcher tab and change something. For any change I make, I see a new icon appearing on the desktop (some of them are not selectable).
Then, if I sweep a window over them, I'm sure I get a crash with this message:
(xfdesktop:11291): GLib-GObject-WARNING **: gsignal.c:1739: instance `0x82a3200' has no handler with id `596'

sometimes, the crash also happens if I move the pointer over an icon or if I click.

I suppose the crash isn't linked to renaming the files but more generally to any changes that occur on a .desktop file.
I'll post an strace of the crash shortly.
And my gtk+ version is 2.8.16
Comment 4 Vincent Paeder 2006-04-21 18:19:00 CEST
Created attachment 513 
strace
Comment 5 Vincent Paeder 2006-04-21 18:21:06 CEST
here's my strace. In this case, it crashed in the following situation:
- I had changed something in my .desktop file resulting in 3 or 4 copies of the same icon
- I dragged one of the icons and it went mad
Comment 6 Brian J. Tarricone (not reading bugmail) 2006-04-21 23:49:49 CEST
Sorry, not sure what that output is - an strace is just human-readable text.

Regardless, I need a backtrace from gdb, not an strace.

I'm not able to reproduce your issue.  right-click -> properties -> launcher -> change something.  And nothing happens.  From the debug output, I see that the volume manager gets a "changed" event, and then it finds the file in its list of files on the desktop, and does nothing.

Benny, any thoughts here?
Comment 7 Vincent Paeder 2006-04-22 12:02:40 CEST
Created attachment 515 
gdb output

here's the (bare) gdb output. I launched it with the following command:
gdb --tty=~/debug.txt --exec=/usr/bin/xfdesktop -ex run -ex backtrace -ex kill -ex quit > gdb.txt
Comment 8 Vincent Paeder 2006-04-22 12:03:26 CEST
Created attachment 516 
debug output

and here's the debug output
Comment 9 Benedikt Meurer editbugs 2006-04-22 14:26:01 CEST
I've seen the problem of multiple icons for the same file as well some time ago, but I haven't seen that for a while, so I thought it was fixed. I'm unable to reproduce that currently. I'm unable to tell anything from the debug output as I'm not very familar with what xfdesktop does.
Comment 10 Vincent Paeder 2006-05-01 18:53:26 CEST

*** This bug has been marked as a duplicate of 1701 ***

Bug #1702

Reported by:
Vincent Paeder
Reported on: 2006-04-21
Last modified on: 2009-07-14

People

Assignee:
Brian J. Tarricone (not reading bugmail)
CC List:
1 user

Version

Attachments

strace (75.93 KB, application/octet-stream)
2006-04-21 18:19 CEST , Vincent Paeder
no flags
gdb output (1.05 KB, text/plain)
2006-04-22 12:02 CEST , Vincent Paeder
no flags
debug output (69.20 KB, text/plain)
2006-04-22 12:03 CEST , Vincent Paeder
no flags

Additional information