← Back to team overview

dx-packages team mailing list archive

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

 

> #0  0xb57208f9 in window_menu_get_entries (wm=0x943b668) at window-menu.c:141
>        class = 0x0

> window_menu_get_entries (WindowMenu * wm)
> {
> 	WindowMenuClass * class = WINDOW_MENU_GET_CLASS(wm);
> 
> 	if (class->get_entries != NULL) {

So at a basic level, we could prevent this crash by adding input-
sanitize safeguards (eg,  g_return_val_if_fail (IS_WINDOW_MENU(wm))) to
WindowMenu's public-facing functions.

I'd like to know where this bad WindowMenu pointer is coming from
though...

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