← Back to team overview

dx-packages team mailing list archive

[Bug 1294545] Re: unity-panel-service crashed with SIGSEGV in window_menu_get_entries()

 

IndicatorAppmenu.desktop_menu is the bad pointer being passed in. It's a
weak reference -- the ref is owned by the IndicatorAppmenu.apps
hashtable.

The user's log shows a lot of bamf errors and 0 window ids being thrown
around. It looks like we could harden indicator-appmenu.c's menu
unregister code: the current logic discards the windowid passed into
register_window and instead returns the one for wm->get_xid(). Also, the
wm is unrefed even if menus_destroyed() hit a g_return_if_fail(). These
work fine when things are sane, but we should fail more gracefully when
we're getting lots of ``Failed to fetch xid'' messages in the log too.

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to indicator-appmenu in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1294545

Title:
  unity-panel-service crashed with SIGSEGV in window_menu_get_entries()

Status in “indicator-appmenu” package in Ubuntu:
  New

Bug description:
  crash occurred immediately after the unlock screen

  ProblemType: Crash
  DistroRelease: Ubuntu 14.04
  Package: indicator-appmenu 13.01.0+14.04.20140318-0ubuntu1
  ProcVersionSignature: Ubuntu 3.13.0-18.38-generic 3.13.6
  Uname: Linux 3.13.0-18-generic i686
  NonfreeKernelModules: nvidia
  ApportVersion: 2.13.3-0ubuntu1
  Architecture: i386
  CurrentDesktop: Unity
  Date: Wed Mar 19 12:49:30 2014
  ExecutablePath: /usr/lib/unity/unity-panel-service
  InstallationDate: Installed on 2014-02-04 (42 days ago)
  InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Alpha i386 (20140203)
  ProcCmdline: /usr/lib/unity/unity-panel-service
  SegvAnalysis:
   Segfault happened at: 0xb57208f9 <window_menu_get_entries+9>:	mov    0x44(%eax),%eax
   PC (0xb57208f9) ok
   source "0x44(%eax)" (0x00000044) not located in a known VMA region (needed readable region)!
   destination "%eax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: indicator-appmenu
  StacktraceTop:
   window_menu_get_entries () from /usr/lib/indicators3/7/libappmenu.so
   ?? () from /usr/lib/indicators3/7/libappmenu.so
   ?? () from /usr/lib/i386-linux-gnu/libindicator3.so.7
   indicator_object_set_visible () from /usr/lib/i386-linux-gnu/libindicator3.so.7
   ?? () from /usr/lib/indicators3/7/libappmenu.so
  Title: unity-panel-service crashed with SIGSEGV in window_menu_get_entries()
  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/ubuntu/+source/indicator-appmenu/+bug/1294545/+subscriptions