[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-25 Thread Lambros Lambrou
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Comment:
Those packages did help me get better backtraces.  Here are a few, they
do look very similar to each other.  These were taken at the point of
failure, whilst the process was spinning (i.e. I attached 'gdb' to the
running process, then triggered the bug).

Hope this helps,
Lambros


Program received signal SIGINT, Interrupt.
[Switching to Thread 46912585392912 (LWP 10345)]
gmenu_tree_item_get_type (item=0x898e00) at gmenu-tree.c:898
898 in gmenu-tree.c
#0  gmenu_tree_item_get_type (item=0x898e00) at gmenu-tree.c:898
#1  0x2afa9581 in find_path (directory=0x845850, path=0xb5c130 )
at gmenu-tree.c:770
#2  0x2afa9697 in gmenu_tree_get_directory_from_path (tree=0x83bcb0, 
path=0xb5c120 /Administration/) at gmenu-tree.c:807
#3  0x00446cdd in panel_menu_button_get_icon (button=0xb66ad0)
at panel-menu-button.c:726
#4  0x00446d36 in panel_menu_button_set_icon (button=0xb66ad0)
at panel-menu-button.c:757
#5  0x0044705f in panel_menu_button_parent_set (widget=0xb66ad0, 
previous_parent=0x0) at panel-menu-button.c:313
#6  0x2c9e23c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x2c9f0ab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#8  0x2c9f23ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#9  0x2c9f27a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x2bf4c631 in gtk_widget_set_parent ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0x2be27dba in gtk_fixed_put () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x004274a4 in panel_widget_add (panel=0x675a10, applet=0xb66ad0, 
locked=0, pos=6481584, insert_at_pos=5849192) at panel-widget.c:2523
#13 0x004315ec in panel_applet_register (applet=0xb66ad0, data=0x0, 
data_destroy=0, panel=0x675a10, locked=0, pos=-1, exactpos=1, 
type=PANEL_OBJECT_MENU, id=0x5e8200 object_4) at applet.c:1204
#14 0x004477a4 in panel_menu_button_load_from_gconf (panel=0x675a10, 
locked=0, position=-1, exactpos=1, id=0x5e8200 object_4)
at panel-menu-button.c:678
#15 0x004302d9 in panel_applet_load_idle_handler (dummy=Variable 
dummy is not available.
) at applet.c:860
#16 0x2cb3f4bd in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#17 0x2cb4265f in g_main_context_check ()
   from /usr/lib/libglib-2.0.so.0
#18 0x2cb4290a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0x2be66360 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00423a72 in main (argc=7, argv=0x7fd50f78) at main.c:90
Continuing.

Program received signal SIGINT, Interrupt.
0x2afa991d in gmenu_tree_item_get_type (item=0x898e00)
at gmenu-tree.c:897
897 in gmenu-tree.c
#0  0x2afa991d in gmenu_tree_item_get_type (item=0x898e00)
at gmenu-tree.c:897
#1  0x2afa9581 in find_path (directory=0x845850, path=0xb5c130 )
at gmenu-tree.c:770
#2  0x2afa9697 in gmenu_tree_get_directory_from_path (tree=0x83bcb0, 
path=0xb5c120 /Administration/) at gmenu-tree.c:807
#3  0x00446cdd in panel_menu_button_get_icon (button=0xb66ad0)
at panel-menu-button.c:726
#4  0x00446d36 in panel_menu_button_set_icon (button=0xb66ad0)
at panel-menu-button.c:757
#5  0x0044705f in panel_menu_button_parent_set (widget=0xb66ad0, 
previous_parent=0x0) at panel-menu-button.c:313
#6  0x2c9e23c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#7  0x2c9f0ab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#8  0x2c9f23ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#9  0x2c9f27a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#10 0x2bf4c631 in gtk_widget_set_parent ()
   from /usr/lib/libgtk-x11-2.0.so.0
#11 0x2be27dba in gtk_fixed_put () from /usr/lib/libgtk-x11-2.0.so.0
#12 0x004274a4 in panel_widget_add (panel=0x675a10, applet=0xb66ad0, 
locked=0, pos=6481584, insert_at_pos=5849192) at panel-widget.c:2523
#13 0x004315ec in panel_applet_register (applet=0xb66ad0, data=0x0, 
data_destroy=0, panel=0x675a10, locked=0, pos=-1, exactpos=1, 
type=PANEL_OBJECT_MENU, id=0x5e8200 object_4) at applet.c:1204
#14 0x004477a4 in panel_menu_button_load_from_gconf (panel=0x675a10, 
locked=0, position=-1, exactpos=1, id=0x5e8200 object_4)
at panel-menu-button.c:678
#15 0x004302d9 in panel_applet_load_idle_handler (dummy=Variable 
dummy is not available.
) at applet.c:860
#16 0x2cb3f4bd in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#17 0x2cb4265f in g_main_context_check ()
   from /usr/lib/libglib-2.0.so.0
#18 0x2cb4290a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#19 0x2be66360 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#20 

[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-25 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Comment:
Thank for the backtrace. I've forwarded the bug upstream:
http://bugzilla.gnome.org/show_bug.cgi?id=328644

Vincent: right, at the moment there is no automatic forward. That's fine
because you can make a summary without flooding upstream :)

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-25 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Also affects: gnome-panel (upstream)   Severity: Normal
   Priority: (none set)
 Status: Unconfirmed

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-25 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Task: ubuntu gnome-panel
Sourcepackagename: gnome-panel = gnome-menus
 Status: Unconfirmed = Confirmed

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-25 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Changed in: GNOME Panel (upstream)
Product: GNOME Panel = gnome-menus
   Bugwatch: None = The Gnome Bug Tracker #328644

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-24 Thread Vincent Untz
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Comment:
Looks like a gnome-menus bug.
Sébastien: is there a debug package for it? A better stack trace would help us 
know where it crashes.

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-23 Thread Lambros Lambrou
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Comment:
Oops, sorry, that might have been a red herring.  That third assertion
is printed as soon as I click on the Ubuntu logo to drop down the main
menu, not at the time of triggering the lockup which occurs later after
clicking through the sub-menus.

I can get a stack-trace from the Ctrl-Alt-F1 console running gdb, and
doing Ctrl-C while gnome-panel is spinning.  But I don't know how to
capture it to be able to send it to you.  But it's very similar to the
one I already sent.  And still not many source files and line numbers.
I'm working on this...

Lambros

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-15 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Comment:
Thanks for your bug. It works just fine on my dapper box. Could you get a 
backtrace using gdb?
- gnome-session-remove gnome-panel
- gdb gnome-panel
(gdb) handle SIG33 pass nostop noprint
(gdb) run
 hang
(gdb) thread apply all bt

Better to install gnome-panel-dbg to get a debug backtrace

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-15 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Task: ubuntu gnome-panel
   Assignee: (unassigned) = Ubuntu Desktop Bugs
 Status: Unconfirmed = Needs Info

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-15 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Task: ubuntu gnome-panel
 Status: Needs Info = Unconfirmed

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-15 Thread Sebastien Bacher
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Comment:
Thanks for informations, Ccing Vincent who is upstream for gnome-panel

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-15 Thread Lambros Lambrou
Public bug reported:
https://launchpad.net/malone/bugs/28493

Affects: gnome-panel (Ubuntu)
   Severity: Normal
   Priority: (none set)
 Status: Unconfirmed

Description:
I'm using Ubuntu Breezy 64-bit, with backports enabled.  If you are just
browsing these bug reports and are new to Linux, please DO NOT follow
these directions!  They cause a complete desktop freeze, and a machine
reboot will not recover your desktop!

To reproduce:
(the problem happens every time for me)
Create a new user account, log out then log in as the new user (this is simply 
to recreate the default Ubuntu settings).
Right-click near the middle of the top panel and choose Add to panel
Choose Main Menu with the Ubuntu logo (NOT the Menu Bar next to it) and add 
it.
Click on the newly-added icon on your panel, go to System - Administration and 
right-click on Add Applications.
Go to Entire menu and choose Add this as menu to panel.
My desktop immediately freezes at this point.

Symptoms:
Desktop becomes unresponsive to any mouse-clicks (although the mouse-cursor 
still moves about).  After rebooting the system and logging in, the desktop 
shows blank grey bars at top and bottom, where the panels would have been 
drawn, and an endless series of error dialogs is shown.  The top command 
shows that gnome-panel is consuming 99% CPU, so it is evidently stuck in an 
infinite loop.

The only way that I know how to recover the desktop is to go to init 1.  Then 
cd to /home/user/.gconf/apps/panel/objects
In that directory, there are lots of object_NN directories.  Find the one 
that was most recently created (e.g. with ls -lt) and then delete it.  That 
procedure cures the problem for me.

gnome-panel --version gives Gnome gnome-panel 2.12.1.  The version
according to Synaptic is 2.12.1-0ubuntu7 (breezy)

I can figure out how to get a stack-trace using ddd and attaching to
the spinning gnome-panel process.  Please let me know if you want this
info, but I'd prefer to know if there's a more convenient way to get
this (I'm not very familiar with Linux command-line debugging tools,
sorry :-).

This problem appears to be specific to the Main Menu panel item, and
doesn't seem to happen with the Menu Bar item which is used by default
and looks the same but with the Applications Places System text
showing.

Many thanks,
Lambros

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/desktop-bugs


[Bug 28493] Freeze when adding menu to panel from Ubuntu main menu icon

2006-01-15 Thread Lambros Lambrou
Public bug report changed:
https://launchpad.net/malone/bugs/28493

Comment:
Here's the backtrace.  I installed gnome-panel-dbg but wasn't exactly sure what 
to do with it.  I've also attached my most-recently-created object_xx folder.  
Looking at the xml file, there is an entry with name=position and value=-1. 
 I wonder if gnome-panel got stuck trying to work out where to place the new 
menu item?
HTH,
Lambros

Thread 1 (Thread 46912585372432 (LWP 13386)):
#0  0x2afa7d01 in gmenu_tree_item_get_type ()
   from /usr/lib/libgnome-menu.so.2
#1  0x2afac069 in gmenu_tree_get_directory_from_path ()
   from /usr/lib/libgnome-menu.so.2
#2  0x00446cdd in panel_menu_button_get_icon (button=0x7c1bb0)
at panel-menu-button.c:726
#3  0x00446d36 in panel_menu_button_set_icon (button=0x7c1bb0)
at panel-menu-button.c:757
#4  0x0044705f in panel_menu_button_parent_set (widget=0x7c1bb0,
previous_parent=0x0) at panel-menu-button.c:313
#5  0x2c9dd3c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6  0x2c9ebab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#7  0x2c9ed3ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#8  0x2c9ed7a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9  0x2bf47631 in gtk_widget_set_parent ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x2be22dba in gtk_fixed_put () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x004274a4 in panel_widget_add (panel=0x675660, applet=0x7c1bb0,
locked=0, pos=6480608, insert_at_pos=0) at panel-widget.c:2523
---Type return to continue, or q return to quit---
#12 0x004315ec in panel_applet_register (applet=0x7c1bb0, data=0x0,
data_destroy=0, panel=0x675660, locked=0, pos=-1, exactpos=1,
type=PANEL_OBJECT_MENU, id=0x7b5860 object_19) at applet.c:1204
#13 0x004477a4 in panel_menu_button_load_from_gconf (panel=0x675660,
locked=0, position=-1, exactpos=1, id=0x7b5860 object_19)
at panel-menu-button.c:678
#14 0x004302d9 in panel_applet_load_idle_handler (dummy=Variable 
dummy is not available.
)
at applet.c:860
#15 0x2cb3a4bd in g_main_context_dispatch ()
   from /usr/lib/libglib-2.0.so.0
#16 0x2cb3d65f in g_main_context_check ()
   from /usr/lib/libglib-2.0.so.0
#17 0x2cb3d90a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#18 0x2be61360 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00423a72 in main (argc=1, argv=0x7faa2e68) at main.c:90

--
desktop-bugs mailing list
desktop-bugs@lists.ubuntu.com
http://lists.ubuntu.com/mailman/listinfo/desktop-bugs