[xubuntu-only] xfdesktop crashed with SIGSEGV in common_desktop_menu()

Bug #99040 reported by Tomer Haimovich
72
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Desktop
Won't Fix
Unknown
xfdesktop4 (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: xfdesktop4

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.

ProblemType: Crash
Architecture: i386
Date: Fri Mar 30 17:54:36 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/xfdesktop
Package: xfdesktop4 4.4.0-0ubuntu2
PackageArchitecture: i386
ProcCmdline: xfdesktop --sm-client-id 101cd4d30a000117520491300000066860004 --display :0.0
ProcCwd: /home/tomer
ProcEnviron:
 LANGUAGE=en_US:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: xfdesktop4
StacktraceTop:
 common_desktop_menu ()
 popup_desktop_menu ()
 ?? ()
 ?? ()
 ?? ()
Uname: Linux ubuntu 2.6.20-13-386 #2 Sun Mar 25 00:18:53 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner video

WORKAROUND for Ubuntu 7.04: does not crash if "Behaviour/Desktop Icons" set to "File/launcher icons".

ALTERNATIVE WORKAROUND: Settings Manager -> Desktop -> enable "Show desktop menu on right click".

Related branches

Revision history for this message
Tomer Haimovich (tomer-ha) wrote :
Revision history for this message
Brian Murray (brian-murray) wrote : Re: [Bug 99040] [apport] xfdesktop crashed with SIGSEGV in common_desktop_menu()

Thanks for taking the time to report this bug and helping to make Ubuntu
better. However, your crash report is missing. Could you please add
the crash report that you received? You should be able to find it in
'/var/crash/'. This will allow us to better troubleshoot your bug.
Thanks in advance.

 status needsinfo
 assignee <email address hidden>

Changed in xfdesktop4:
assignee: nobody → brian-murray
status: Unconfirmed → Needs Info
Revision history for this message
Tomer Haimovich (tomer-ha) wrote : Re: [apport] xfdesktop crashed with SIGSEGV in common_desktop_menu()

It happened many times, and I think that previous crash files aren't saved, so this crash file might not be compatible with the files I sent before.

Revision history for this message
Apport retracing service (apport) wrote : Symbolic stack trace

StacktraceTop:xfdesktop_file_icon_menu_fill_template_menu (menu=0x80bd000, templates_path=0xb76db0e4, fmanager=0xbf88e968) at xfdesktop-file-icon-manager.c:1463
popup_desktop_menu (gscreen=0x809f120, button=3, time=17224686) at menu.c:96
button_cb (w=0x80bd000, evt=0x80c5cb8, user_data=0x0) at main.c:181
_gtk_marshal_BOOLEAN__BOXED (closure=0x80b6498, return_value=0xbf88eb30, n_param_values=2, param_values=0xbf88ec0c, invocation_hint=0xbf88eb1c,
IA__g_closure_invoke (closure=0x80b6498, return_value=0xbf88eb30, n_param_values=2, param_values=0xbf88ec0c, invocation_hint=0xbf88eb1c) at gclosure.c:490

Revision history for this message
Apport retracing service (apport) wrote : Symbolic threaded stack trace
Changed in xfdesktop4:
assignee: brian-murray → nobody
importance: Undecided → Medium
status: Needs Info → Confirmed
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote : Re: [apport] xfdesktop crashed with SIGSEGV in common_desktop_menu()

Thank you for your bug report. I reported this upstream.

Changed in xfdesktop4:
status: Confirmed → Triaged
Changed in xfdesktop:
status: Unknown → Confirmed
Revision history for this message
Brian Koropoff (bkoropoff) wrote :

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.

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Upstream request :

"I'll need to know the contents of the ~/Templates/ directory."

Changed in xfdesktop4:
status: Triaged → Incomplete
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Could you please give us the exact steps to reproduce this bug ? Upstream needs them.

Changed in xfdesktop:
status: Confirmed → Won't Fix
Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

This seems to be Xubuntu only :

"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."

Lionel could you please have a look ?

Revision history for this message
Lionel Le Folgoc (mrpouit) wrote :

Yes, that's xubuntu-specific: debian/patches/02_show_context_menu.patch contains this function. According to the changelog, it seems that with it xfdesktop context menu will show up if the user right-clicks anywhere on the desktop (versus only on an icon for a vanilla xfdesktop). So this cant' really be disabled without a loss of feature...

Revision history for this message
Jérôme Guelfucci (jerome-guelfucci-deactivatedaccount) wrote :

Marking this as triaged as we now know what cuases the crash.

Changed in xfdesktop4:
status: Incomplete → Triaged
Revision history for this message
Remove Me (remove-me) wrote :

workaround: does not crash if "Behaviour/Desktop Icons" set to "File/launcher icons".

Revision history for this message
davebills (cobogeri) wrote : Re: [Bug 99040] Re: [xubuntu-only] xfdesktop crashed with SIGSEGV in common_desktop_menu()
  • unnamed Edit (771 bytes, text/html; charset=ISO-8859-1)

Thanks - that fixed it!

On Sat, Apr 12, 2008 at 1:30 PM, Alex Riesen <email address hidden> wrote:

> workaround: does not crash if "Behaviour/Desktop Icons" set to
> "File/launcher icons".
>
> --
> [xubuntu-only] xfdesktop crashed with SIGSEGV in common_desktop_menu()
> https://bugs.launchpad.net/bugs/99040
> You received this bug notification because you are a direct subscriber
> of a duplicate bug.
>

Revision history for this message
Malcolm Scott (malcscott) wrote :

I'm also seeing this behaviour.

Alternative workaround: Settings Manager -> Desktop ->enable "Show desktop menu on right click". Looks like the segfault occurs when all the menus which could be displayed have been turned off.

description: updated
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (4.0 KiB)

This bug was fixed in the package xfdesktop4 - 4.5.99.1-0ubuntu1

---------------
xfdesktop4 (4.5.99.1-0ubuntu1) jaunty; urgency=low

  * Merge with Debian pkg-xfce UNRELEASED (r2650). Remaining Ubuntu changes:
    - debian/control:
      + build-depends on quilt
      + use our Vcs-* fields
      + xfdesktop4 suggests: add xubuntu-default-settings (>= 0.10).
  * debian/patches:
    - xubuntu_00_open-xubuntu-docs.patch: make the 'help' menu item open the
      Xubuntu documentation (LP #86244)
    - xubuntu_01_clean-default-menu.patch: drop the first menu entries (run,
      browser, thunar, terminal, separators)
    - series: refreshed.
  * debian/rules: reenable quilt rules.
  * Bugs fixed by this new release:
    - "[xubuntu-only] xfdesktop crashed with SIGSEGV in common_desktop_menu()"
      (LP: #99040)
    - "Can't select multiple files or folders on desktop with left click"
      (LP: #179436)
    - "xfce desktop does not respect freedesktop desktop settings" (LP: #220318)
    - "Right-click on desktop causes Xfce to stop managing desktop when icons
      are disabled" (LP: #311977).

xfdesktop4 (4.5.99.1-1) UNRELEASED; urgency=low

  [ Xfce 4.6 Alpha “Pinkie”]
  * new upstream alpha release.
    - Debian menu is now translatable through menu-xdg. closes: #370712, #254004
    - menu implementation correclty handle Exec= lines . closes: #449077
  * debian/control:
    - update standards version to 3.8.0. No change needed.
    - update build-deps for Xfce 4.6 Alpha.
    - remove useless conflicts.
    - add build-dep on intltool.
    - add Recommends: on xdg-user-dirs to handle XDG folders.
  * debian/rules:
    - don't install useless lintian override file
    - fail if dh_install misses files.
    - stop messing with config.{guess,sub}.
    - rename generic xfce4-terminal.desktop file so it doesnt conflicts with
      Terminal.
    - force configure flags
  * debian/lintian: dropped, now useless
  * debian/patches:
    - 01_show-backdrop-by-default dropped due to upstream changes.
    - 03_fix-memory-leak dropped, included upstream.
    - 04_fix-CRITICAL-register-message-startup too.
    - 05_simplify-free-code as well.
    - 07_fix-italian-typos merged too. closes: #483709
    - 06_fix-size-warning-amd64 added.
  * debian/xfdesktop-data.install:
    - add /usr/share/desktop-directories files.
    - add /usr/share/applications files.
  * debian/xfce4-menueditor.1 dropped, xfce4-menueditor is not part of
    xfdesktop4 anymore.
  * debian/xfdesktop4.menu-method dropped, xfdesktop now supports XDG menus,
    so we can use debian-menu.menu directly if present.
  * debian/README.Debian:
    - remove deprecated comments about user changes to menu files
    - add a note about new menu systems and conffiles handling.
  [ Xfce 4.6 Beta 1 “Fuzzy”]
  * new upstream beta release.
  * debian/control:
    - update build-deps for Fuzzy.
    - drop build-dep on quilt.
    - add conflict for previous xfdesktop4(-data) packages.
  * debian/patches:
    - 02_use_eject_where_needed dropped, merged upstream.
    - 06_fix-size-warning-amd64 as well.
  * debian/rules:
    - remove quilt stuff.
  [ Xfce 4.6 Beta 2 “Hopper”]
  ...

Read more...

Changed in xfdesktop4:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.