> #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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1294545

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/indicator-appmenu/+bug/1294545/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to