XFCE 4.8 panel fails to load old config and crashes

Bug #760939 reported by Denis Rut'kov
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Xfce4 Panel
Unknown
Unknown
xfce4-panel (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Binary package hint: xfce4-panel

The XFCE panel migrating assistant does not change xfce-applications.menu file location in /home/user/.config/xfce4 files, when converting old config.

This leads to panel crashing right after trying to open the menu.

Related branches

Revision history for this message
Denis Rut'kov (dendron2000) wrote :

This is xsession output:

garcon-Message: Could not load menu file data from file:///etc/xdg/xubuntu/menus/xfce-applications.menu: Error opening file: No such file or directory
/usr/lib/xfce4/panel/plugins/libapplicationsmenu.so(+0x4e4d)[0xed1e4d]
00ecd000-00ed9000 r-xp 00000000 08:01 140898 /usr/lib/xfce4/panel/plugins/libapplicationsmenu.so
00ed9000-00eda000 ---p 0000c000 08:01 140898 /usr/lib/xfce4/panel/plugins/libapplicationsmenu.so
00eda000-00edb000 r--p 0000c000 08:01 140898 /usr/lib/xfce4/panel/plugins/libapplicationsmenu.so
00edb000-00edc000 rw-p 0000d000 08:01 140898 /usr/lib/xfce4/panel/plugins/libapplicationsmenu.so

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

Could you provide your old panel config please? IIRC, it's not deleted when it's migrated, so it should still be available. Without that, I can't reproduce. Thanks.

Changed in xfce4-panel (Ubuntu):
status: New → Incomplete
importance: Undecided → Low
Revision history for this message
Denis Rut'kov (dendron2000) wrote :
Revision history for this message
Denis Rut'kov (dendron2000) wrote :
Changed in xfce4-panel (Ubuntu):
status: Incomplete → New
Revision history for this message
Denis Rut'kov (dendron2000) wrote :

Sorry it took so long. It'd be great if Xubuntu started using environment variables in config files to avoid issues like this.

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

> use_default_menu=false
> menu_file=/etc/xdg/xubuntu/menus/xfce-applications.menu

If you use this config on lucid (10.04) or later, you don't have any menu because this file doesn't exist anymore... So I don't expect the migration to fix that.

Anyway, there's a bug in xfce4-panel that doesn't check if the menu file exist before passing it to garcon.

Changed in xfce4-panel (Ubuntu):
status: New → Triaged
Changed in xfce4-panel (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package xfce4-panel - 4.8.6-0ubuntu1

---------------
xfce4-panel (4.8.6-0ubuntu1) oneiric; urgency=low

  * Upload pkg-xfce trunk (r6047) to oneiric, remaining Ubuntu changes:
    - debian/patches:
      + xubuntu_support-multiple-vendor-default-configs.patch: search for
        the default.xml default config in XDG_CONFIG_DIRS as well, and do
        not display the chooser dialog in this case. lp: #747137
      + series: refreshed.

xfce4-panel (4.8.6-1) UNRELEASED; urgency=low

  * New upstream release:
    - Fix segfault with not-existing menu. lp: #760939
    - Fix typo in fr.po for the directory menu plugin. lp: #846386
  * debian/xfce4-panel.1: fix path to upstream docs. Closes: #638204
 -- Lionel Le Folgoc <email address hidden> Thu, 22 Sep 2011 20:49:42 +0200

Changed in xfce4-panel (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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