** Also affects: garcon (Ubuntu)
   Importance: Undecided
       Status: New

** Changed in: xfce4-panel (Ubuntu)
       Status: Confirmed => Invalid

** Changed in: xfdesktop4 (Ubuntu)
       Status: Confirmed => Invalid

** Bug watch added: Xfce Bugzilla #10381
   https://bugzilla.xfce.org/show_bug.cgi?id=10381

** Also affects: garcon via
   https://bugzilla.xfce.org/show_bug.cgi?id=10381
   Importance: Unknown
       Status: Unknown

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alacarte in Ubuntu.
https://bugs.launchpad.net/bugs/1217916

Title:
  While editing main menu, xfce4-panel crashed with SIGSEGV in
  fast_validate()

Status in Garçon:
  Unknown
Status in “alacarte” package in Ubuntu:
  Confirmed
Status in “garcon” package in Ubuntu:
  New
Status in “xfce4-panel” package in Ubuntu:
  Invalid
Status in “xfdesktop4” package in Ubuntu:
  Invalid
Status in “alacarte” package in Fedora:
  Unknown

Bug description:
  To reproduce:

  1. Open the main menu properties.
  2. Click "Edit" to open the menu editor.
  3. Disable some launchers: mail reader, system settings, log out and/or 
launcher directories such as Accessories.
  4. Attempt to reenable them - this does not work.
  5. Disable a different launcher - notice that any launcher you tried to 
previously reenable (possibly an odd number of times) is now enabled.
  6. Click on the main menu on the panel. The whole panel crashes.

  Your panel is now totally broken. No amount of changes in the main
  menu editor will fix it. The only way to recover is to rm
  ~/.local/share/applications/*, then open the menu editor and click
  "restore system defaults".

  Alacarte spits out this error when trying to reenable the disabled
  launcher items:

  Traceback (most recent call last):
    File "/usr/share/alacarte/Alacarte/MainWindow.py", line 343, in 
on_item_tree_show_toggled
      self.editor.setVisible(item, True)
    File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 182, in setVisible
      self.writeItem(item, NoDisplay=False)
    File "/usr/share/alacarte/Alacarte/MenuEditor.py", line 408, in writeItem
      f.write(contents)
    File "/usr/lib/python2.7/codecs.py", line 691, in write
      return self.writer.write(data)
    File "/usr/lib/python2.7/codecs.py", line 351, in write
      data, consumed = self.encode(object, self.errors)
  UnicodeDecodeError: 'ascii' codec can't decode byte 0xd9 in position 262: 
ordinal not in range(128)

  A quicker way to reproduce the xfce crashes:

  "truncate --size 0 ~/.local/share/desktop-directories/xfce-
  accessories.directory"

  This causes xfdesktop to instantly segfault, and xfce4-panel to
  segfault the next time you open the main menu.

  ProblemType: Crash
  DistroRelease: Ubuntu 13.10
  Package: xfce4-panel 4.10.1-1ubuntu1
  ProcVersionSignature: Ubuntu 3.11.0-4.9-generic 3.11.0-rc7
  Uname: Linux 3.11.0-4-generic x86_64
  NonfreeKernelModules: nvidia
  ApportVersion: 2.12.1-0ubuntu2
  Architecture: amd64
  Date: Wed Aug 28 15:29:27 2013
  ExecutablePath: /usr/bin/xfce4-panel
  InstallationDate: Installed on 2013-08-27 (0 days ago)
  InstallationMedia: Xubuntu 13.10 "Saucy Salamander" - Alpha amd64 (20130827)
  MarkForUpload: True
  ProcCmdline: xfce4-panel --display :0.0 --sm-client-id 
2d7a344e9-88a4-4aeb-bbde-215467583950
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  SegvAnalysis:
   Segfault happened at: 0x7fecdca51260 <g_utf8_validate+464>:  movzbl 
(%rdi),%eax
   PC (0x7fecdca51260) ok
   source "(%rdi)" (0x00000000) not located in a known VMA region (needed 
readable region)!
   destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: xfce4-panel
  StacktraceTop:
   g_utf8_validate () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
   garcon_menu_directory_set_name () from 
/usr/lib/x86_64-linux-gnu/libgarcon-1.so.0
   ?? () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   g_object_new_valist () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
   g_object_new () from /usr/lib/x86_64-linux-gnu/libgobject-2.0.so.0
  Title: xfce4-panel crashed with SIGSEGV in g_utf8_validate()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/garcon/+bug/1217916/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to