gnome-panel crashes with empty applications.menu
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
gnome-panel (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
having a blank applications.menu in ~/.config/menus causes gnome-panel to segfault.
I expect this not to happen, for it to fail silently or just with a log note, not crash my entire panel.
Program received signal SIGSEGV, Segmentation fault.
0x00000000004375a1 in create_
menu_path=0x0, always_
1243 menu.c: No such file or directory.
(gdb) bt
#0 0x00000000004375a1 in create_
menu_path=0x0, always_
#1 0x000000000043fbc6 in panel_menu_bar_init (menubar=0x6de200)
at panel-menu-
#2 0x00007ffff577d957 in g_type_
at /build/
#3 0x00007ffff57620b9 in g_object_
n_construct
at /build/
#4 0x00007ffff5763c02 in g_object_newv (object_
parameters=0x0) at /build/
#5 0x00007ffff57641ec in g_object_new (object_
first_
at /build/
#6 0x000000000043fdb5 in panel_menu_bar_load (panel=0x6e4200,
id=0xa8e210 "object-0", settings=
#7 0x000000000045d24e in panel_object_
dummy=
#8 0x00007ffff549fd53 in g_main_dispatch (context=0x6a9ab0)
at /build/
#9 g_main_
at /build/
#10 0x00007ffff54a00a0 in g_main_
block=
at /build/
#11 g_main_
dispatch=1, self=<optimised out>)
at /build/
#12 0x00007ffff54a049a in g_main_loop_run (loop=0xa70210)
at /build/
#13 0x00007ffff707d42d in gtk_main ()
from /usr/lib/
#14 0x000000000042233f in main (argc=1, argv=0x7fffffff
Alacarte also refuses to start with a xml parse error
$ lsb_release -rd
Description: Ubuntu 12.04.1 LTS
Release: 12.04
$ apt-cache policy gnome-panel
gnome-panel:
Installed: 1:3.4.1-0ubuntu1.1
Candidate: 1:3.4.1-0ubuntu1.1
Version table:
*** 1:3.4.1-0ubuntu1.1 0
500 http://
100 /var/lib/
1:
500 http://
Status changed to 'Confirmed' because the bug affects multiple users.