! 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 crashed with SIGSEGV in common_desktop_menu()
Status:
RESOLVED: WONTFIX
Product:
Xfdesktop
Component:
General

Comments

Description Jérôme Guelfucci editbugs 2007-08-11 14:33:27 CEST
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en; rv:1.8.1.6) Gecko/20061201 Epiphany/2.18 Firefox/2.0.0.6 (Ubuntu-feisty)
Build Identifier: 

This was reported on Launchpad : https://bugs.launchpad.net/ubuntu/+source/xfdesktop4/+bug/99040
by : https://bugs.launchpad.net/~tomer-ha

I used trackerd to index my files. Firefox, thunar and Terminal were open too. Then I right clicked my desktop to change my wallpaper. I got no popup for the right click and instead xfdesktop4 crashed. I'm using xubuntu Feisty.

Reproducible: Couldn't Reproduce




Crash report : http://launchpadlibrarian.net/7132024/_usr_bin_xfdesktop.1000.crash

Stacktrace : http://launchpadlibrarian.net/7543181/%3Cfdopen%3E

Threadstacktrace : http://launchpadlibrarian.net/7543182/%3Cfdopen%3E
Comment 1 Brian J. Tarricone (not reading bugmail) 2007-10-20 01:54:36 CEST
I'll need to know the contents of the ~/Templates/ directory.  Not sure what's going on here.  Can you tell me what's on line 1463 of xfdesktop-file-icon-manager.c?  I don't know what sources you're using.
Comment 2 Jérôme Guelfucci editbugs 2007-10-20 10:58:30 CEST
Someone else added : 

"

I have run into this bug as well. It seems that this bug only occurs in the following scenario:

- You have "Allow Xfce to manage the desktop" turned on in "Desktop Preferences"
- You have the "Desktop Icons" option set to "None" (don't display desktop icons)
- xfdesktop was started with these settings

Interestingly, if you turn "Desktop Icons" to "None" after xfdesktop has already loaded,
right clicking will work. This suggests that some internal state necessary for the right
click menu to work is only getting set up when configured to display icons on the desktop.
"

I'll ask about the templates and have a look at the code.
Comment 3 Jérôme Guelfucci editbugs 2007-10-20 11:02:51 CEST
Code :

1463   item = gtk_image_menu_item_new_with_label (info->display_name);
Comment 4 Brian J. Tarricone (not reading bugmail) 2007-10-20 14:19:28 CEST
With icons set to 'none', that code isn't called at all.  Not sure what's going on, but there's zero way that could be happening.  Either the backtrace provided is corrupt somehow, or the other person is triggering this via a different mechanism.  I can't reproduce the problem on svn trunk, at least, and I don't have an installed copy of the 4.4 branch installed to test atm.
Comment 5 Jérôme Guelfucci editbugs 2007-10-20 14:52:01 CEST
I can't reproduce this either as I told in the bug report.
Comment 6 Brian J. Tarricone (not reading bugmail) 2007-11-02 17:19:34 CET
Regarding the bug summary - 'common_desktop_menu()' doesn't exist in stock xfdesktop.  This sounds like this is due to an Ubuntu-specific patch.  Please ask the reporter to try to reproduce the bug with vanilla xfdesktop sources from xfce.org.  If it's still there, reopen this bug.
Comment 7 Jérôme Guelfucci editbugs 2007-11-04 13:16:41 CET
Ok thank you.

Bug #3455

Reported by:
Jérôme Guelfucci
Reported on: 2007-08-11
Last modified on: 2009-07-14

People

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

Version

Attachments

Additional information