eats up all CPU time and still refuses to load after switch from a dual screen setup

Bug #427619 reported by Adam Petaccia
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
GNOME Panel
Expired
Medium
gnome-panel (Ubuntu)
Fix Released
Medium
Ubuntu Desktop Bugs
Karmic
Fix Released
Medium
Ubuntu Desktop Bugs

Bug Description

Binary package hint: gnome-panel

Gnome panel had issues when I moved to using a dual monitor set up. It would half load, then fail. I would kill it, and then it would load correctly. Eventually, I removed the second monitor and now my system is unusable. On log in, gnome panel quickly monopolizes my quad core machine (CPU: 75%, from top) and grinds the entire GUI to a halt. If I switch VTs though, my console session is completely responsive. Killing gnome panel from the console (I have to because Gnome is too busy locking up) quickly spikes X to 50% CPU usage, although the panel eventually respawns and just doesn't do anything, although the GUI is responsive again.

Stack trace grabbed from GDB:

#0 0x00000033c240de20 in __write_nocancel () from /lib/libpthread.so.0
#1 0x00000033c4043df4 in IA__g_log_default_handler (log_domain=<value optimized out>, log_level=<value optimized out>, message=<value optimized out>, unused_data=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmessages.c:959
#2 0x00000033c4044109 in IA__g_logv (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>, args1=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmessages.c:483
#3 0x00000033c40444c3 in IA__g_log (log_domain=<value optimized out>, log_level=<value optimized out>, format=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmessages.c:526
#4 0x000000000045c8a1 in panel_multiscreen_height (screen=<value optimized out>, monitor=1) at panel-multiscreen.c:217
#5 0x00000000004513b8 in panel_toplevel_get_monitor_geometry (toplevel=0x22682a0, x=0x7fffecfd5c80, y=0x7fffecfd5c84, width=0x7fffecfd5c88, height=0x7fffecfd5c8c) at panel-toplevel.c:298
#6 0x0000000000459b7e in panel_toplevel_size_request (widget=0x22682a0, requisition=0x22682d8) at panel-toplevel.c:1063
#7 0x00000033c480d27d in IA__g_closure_invoke (closure=<value optimized out>, return_value=<value optimized out>, n_param_values=<value optimized out>, param_values=<value optimized out>, invocation_hint=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:767
#8 0x00000033c4822723 in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3177
#9 0x00000033c4824432 in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:2980
#10 0x00000033c482474c in IA__g_signal_emit_by_name (instance=<value optimized out>, detailed_signal=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3074
#11 0x0000003de7ba1588 in _gtk_size_group_compute_requisition (widget=<value optimized out>, requisition=<value optimized out>) at /build/buildd/gtk+2.0-2.16.1/gtk/gtksizegroup.c:820
#12 0x000000000045533d in panel_toplevel_check_resize (container=<value optimized out>) at panel-toplevel.c:3024
#13 0x00000033c480d27d in IA__g_closure_invoke (closure=<value optimized out>, return_value=<value optimized out>, n_param_values=<value optimized out>, param_values=<value optimized out>, invocation_hint=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gclosure.c:767
#14 0x00000033c4822b1e in signal_emit_unlocked_R (node=<value optimized out>, detail=<value optimized out>, instance=<value optimized out>, emission_return=<value optimized out>, instance_and_params=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3285
#15 0x00000033c4824432 in IA__g_signal_emit_valist (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>, var_args=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:2980
#16 0x00000033c4824953 in IA__g_signal_emit (instance=<value optimized out>, signal_id=<value optimized out>, detail=<value optimized out>) at /build/buildd/glib2.0-2.20.1/gobject/gsignal.c:3037
#17 0x0000003de7ab7d30 in gtk_container_idle_sizer (data=<value optimized out>) at /build/buildd/gtk+2.0-2.16.1/gtk/gtkcontainer.c:1350
#18 0x0000003de881e04b in gdk_threads_dispatch (data=<value optimized out>) at /build/buildd/gtk+2.0-2.16.1/gdk/gdk.c:498
#19 0x00000033c403a20a in IA__g_main_context_dispatch (context=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:1814
#20 0x00000033c403d8e0 in g_main_context_iterate (context=<value optimized out>, block=<value optimized out>, dispatch=<value optimized out>, self=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2448
#21 0x00000033c403ddad in IA__g_main_loop_run (loop=<value optimized out>) at /build/buildd/glib2.0-2.20.1/glib/gmain.c:2656
#22 0x0000003de7b35bc7 in IA__gtk_main () at /build/buildd/gtk+2.0-2.16.1/gtk/gtkmain.c:1205
#23 0x00000000004221d0 in main (argc=1, argv=<value optimized out>) at main.c:147

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
ExecutablePath: /usr/bin/gnome-panel
NonfreeKernelModules: nvidia
Package: gnome-panel 1:2.26.0-0ubuntu7 [modified: usr/bin/gnome-panel usr/bin/gnome-desktop-item-edit usr/bin/panel-test-applets usr/lib/gnome-panel/gnome-clock-applet-mechanism]
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/zsh
SourcePackage: gnome-panel
Uname: Linux 2.6.28-15-generic x86_64

Related branches

Revision history for this message
Adam Petaccia (mighmos) wrote :
Revision history for this message
Adam Petaccia (mighmos) wrote :

When run from the command line, it prints the following reatedly (nonstop):

** (gnome-panel:12617): CRITICAL **: panel_multiscreen_x: assertion `monitor >= 0 && monitor < monitors [n_screen]' failed

** (gnome-panel:12617): CRITICAL **: panel_multiscreen_y: assertion `monitor >= 0 && monitor < monitors [n_screen]' failed

** (gnome-panel:12617): CRITICAL **: panel_multiscreen_width: assertion `monitor >= 0 && monitor < monitors [n_screen]' failed

** (gnome-panel:12617): CRITICAL **: panel_multiscreen_height: assertion `monitor >= 0 && monitor < monitors [n_screen]' failed

Revision history for this message
Adam Petaccia (mighmos) wrote :

I'm not sure where gnome-panel is getting its settings, but this patch totally releaves all of my symptoms and allows gnome-panel to load, and then not chew up all my CPU (works as before).

Adam Petaccia (mighmos)
summary: - gnome panel eats up all CPU time and still refuses to load.
+ [PATCH] gnome panel eats up all CPU time and still refuses to load after
+ switch from a dual screen setup
Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report and work there. The issue is an upstream one and it would be nice if somebody having it could send the bug the to the people writting the software (https://wiki.ubuntu.com/Bugs/Upstream/GNOME)

summary: - [PATCH] gnome panel eats up all CPU time and still refuses to load after
- switch from a dual screen setup
+ eats up all CPU time and still refuses to load after switch from a dual
+ screen setup
Changed in gnome-panel (Ubuntu):
assignee: nobody → Ubuntu Desktop Bugs (desktop-bugs)
importance: Undecided → Low
Revision history for this message
Adam Petaccia (mighmos) wrote :

I've opened the bug on gnome's bugzilla, bug 595722

Changed in gnome-panel:
importance: Undecided → Unknown
status: New → Unknown
Changed in gnome-panel:
status: Unknown → New
Changed in gnome-panel (Ubuntu):
status: New → Triaged
Changed in gnome-panel (Ubuntu):
importance: Low → Medium
Changed in gnome-panel (Ubuntu Karmic):
milestone: none → ubuntu-9.10
Revision history for this message
Sebastien Bacher (seb128) wrote :
Changed in gnome-panel (Ubuntu Karmic):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package gnome-panel - 1:2.28.0-0ubuntu4

---------------
gnome-panel (1:2.28.0-0ubuntu4) karmic; urgency=low

  * debian/patches/90_git_change_fix_xrandr_issue.patch:
    - git change to fix gnome-panel hanging sometime on xrand changes
      (lp: #427619)

 -- Sebastien Bacher <email address hidden> Thu, 08 Oct 2009 21:49:52 +0200

Changed in gnome-panel (Ubuntu Karmic):
status: Fix Committed → Fix Released
Changed in gnome-panel:
status: New → Invalid
Changed in gnome-panel:
importance: Unknown → Medium
status: Invalid → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.