Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

About once a day my gnome-panel freezes.

How can I produce some sort of debug information to:

  • Figure out what is causing the freeze or
  • File a bug or see if its an existing bug

When gdb is attached to gnome-panel and the bug occurs I cannot get a stack trace out of gdb.

Reading symbols from /lib/ debugging symbols found)...done.
Loaded symbols for /lib/
0x00007f7cefe10f48 in poll () from /lib/
(gdb) c


The "^C" is to show that once the bug occurs gdb stops responding to Ctrl+c and kill -INT.

share|improve this question

closed as too localized by Luis Alvarado Mar 14 '13 at 16:25

This question is unlikely to help any future visitors; it is only relevant to a small geographic area, a specific moment in time, or an extraordinarily narrow situation that is not generally applicable to the worldwide audience of the internet. For help making this question more broadly applicable, visit the help center.If this question can be reworded to fit the rules in the help center, please edit the question.

You might want to check with this:… – Marco Ceppi Aug 4 '10 at 12:48
This question appears to be abandoned, if you are experiencing a similar issue please ask a new question with details pertaining to your problem. If you feel this question is not abandoned, please flag the question explaining that. I am flagging this for deletion :) – Ringtail Feb 28 '12 at 4:02
Yes, I never learned how to find out what was wrong. And now gnome-panel is not supported by Ubuntu so this question is irrelevant. – Niall Murphy Feb 28 '12 at 10:48
Are you still experiencing this issue? – James Feb 28 '12 at 13:20
I stopped using gnome-panel altogether soon after so no, I don't have that issue any more. I think I remember it still happened even with only the clock applet running. I never got a good stack trace for the panel out of GDB either. – Niall Murphy Feb 28 '12 at 14:48

The comments on this bug report on the same issue first point the reporter to a wiki page entitled Debugging a Program Crash and then to a page describing how to get a backtrace. Perhaps those will help you get the debugging info you need.

I answered a question about a similar problem with a workaround that may help you. It goes like this:

  1. Create a script called in your home directory and mark it as executable.

  2. Edit the script to look like this:

    #! /bin/bash
    sleep 3 && gnome-panel &
  3. Then edit /usr/share/applications/gnome-panel.desktop so that exec=bash /home/<user>/

share|improve this answer
That bug report seems to be related. I would prefer to know what the cause of the problem is and get it fixed permanently rather than adding MORE delay hacks to my desktop startup. – Niall Murphy Aug 5 '10 at 9:42
Did the debugging info in the report not help any? – mac9416 Aug 5 '10 at 16:21
Not really, that is the first article that pops up about debugging. I cant get a stack trace out of gdb for this bug in gnome-panel. Ill put some more detail in the question. – Niall Murphy Aug 6 '10 at 16:29

Attach to the panel after it's frozzen.

$ gdb --pid=`pidof gnome-panel`
(gdb) bt full

Also make sure you have the necessary debugging symbols installed. At least libglib2.0-0-dbg and libgtk2.0-0-dbg.

share|improve this answer

To debug the gnome-panel from the beginning you can try:

$ gnome-session-remove gnome-panel
$ gdb gnome-panel
(gdb) run

You would need the debugging symbols in order to get something readable (ie gnome-panel-dbg).

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.