After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 108656 - Gnome panel crash
Gnome panel crash
Status: RESOLVED NOTGNOME
Product: gnome-panel
Classification: Other
Component: panel
2.2.x
Other Linux
: High critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
: 106857 108722 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2003-03-18 08:30 UTC by Chris Williams
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.1/2.2



Description Chris Williams 2003-03-18 08:30:39 UTC
Description of Problem:

Menu panel crashes when changing windows.
Im using a fresh install of GARNOME 0.22 (gnome 2.2.1) using Redhat 8.0 on
an Athlon.


Steps to reproduce the problem:
1.  Have multiple windows open	
2.  Changed windows by using the builtin window list applet on a menu panel	


Actual Results:  gnome-panel crashes (see trace below)


How often does this happen?: Every time


Debugging Information:

Backtrace was generated from '/achilles/gnome/bin/gnome-panel'

[New Thread 8192 (LWP 27458)]
0x420ae169 in wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 8192 (LWP 27458))

  • #0 wait4
    from /lib/i686/libc.so.6
  • #1 __DTOR_END__
    from /lib/i686/libc.so.6
  • #2 waitpid
    from /lib/i686/libpthread.so.0
  • #3 libgnomeui_segv_handle
    at gnome-ui-init.c line 646
  • #4 __pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 g_type_check_instance_is_a
    at gtype.c line 2743
  • #7 gtk_widget_get_toplevel
    at gtkwidget.c line 5356
  • #8 gtk_main_get_window_group
    at gtkmain.c line 1569
  • #9 gtk_main_do_event
    at gtkmain.c line 1394
  • #10 gdk_event_dispatch
    at gdkevents-x11.c line 2018
  • #11 g_main_dispatch
    at gmain.c line 1653
  • #12 g_main_context_dispatch
    at gmain.c line 2197
  • #13 g_main_context_iterate
    at gmain.c line 2278
  • #14 g_main_loop_run
    at gmain.c line 2498
  • #15 gtk_main
    at gtkmain.c line 1092
  • #16 main
    at main.c line 216
  • #17 __libc_start_main
    from /lib/i686/libc.so.6
  • #0 wait4
    from /lib/i686/libc.so.6

Comment 1 Elijah Newren 2003-03-18 16:37:59 UTC
Looks like the stack trace in bug 84082, which was using May 30th 2002
CVS code and was later closed as not being reproducable.  Instead of
marking this as a duplicate and reopening that bug, I'll just leave
this note here.

I'm marking priority->high & severity->critical (it's a crasher), and
adding the bugsquad keyword.
Comment 2 Elijah Newren 2003-03-19 14:45:19 UTC
*** Bug 108722 has been marked as a duplicate of this bug. ***
Comment 3 Elijah Newren 2003-03-19 14:46:34 UTC
The reporter of bug 108722 said he used the following steps to obtain
this crash (although he didn't test reproducability):
  Steps to reproduce the problem:
  1. Create a new panel (floating one)
  2. Right-click on it and chose supress
Comment 4 Elijah Newren 2003-03-19 14:58:50 UTC
I'm starting to suspect this is a gtk+ problem.  This bug and a few
others I've recently seen have the following two functions (even with
matchine line numbers) at the top of their stack traces:
  gtk_widget_get_toplevel at gtkwidget.c:5356
  gtk_main_get_window_group at gtkmain.c:1569
(Note that this bug, 108656 is unique to have the
g_type_check_instance_is_a function call above those other two--even
bug 108722 which has been marked as a duplicate of this one doesn't
have that function in the stack trace)  Half of these bugs were
gnome-panel crashes, the other half are nautilus ones.  See bug 108205
for the ones tracked against nautilus.  I believe either this should
be a duplicate of that one, or that one should be a duplicate of this
bug (so long as the product is changes)--but I'm not completely sure.
Comment 5 Elijah Newren 2003-03-19 15:02:28 UTC
Sorry for the spam...forgot to add myself to the cc list and I'd like
to know whether I was right about this and 108205 being dups...
Comment 6 Vincent Untz 2003-03-19 21:27:55 UTC
I looked at the FIXED bugs that had gtk_widget_get_toplevel() in their
trace. It seems that bug #78764 (a nautilus one) was due to a GTK+
bug. On the other hand, bug #88427 was due to a bug in gnome-panel.
They both have this typical stack trace.

Chris : can you give us more information about the configuration of
your panel(s) ? IIRC, bug #98274 (still the same trace) happened when
the code for transparent panels was checked in. Mark rewrote some
stuff and it then became unreproducable. Maybe it is returning now...

Arvind : do you have any idea ? Could it be a bug in GTK+ ?
Comment 7 Chris Williams 2003-03-19 23:47:17 UTC
I've tried many panel configs, but it doesn't seem to make a
difference. At the moment I'm using a plain menu panel by itself with
nothing on it.

My original setup also had a sliding transparent panel at the bottom,
but I removed it, and the problem still remains.

Sometimes you can get away with selecting a window  without it
crashing, but I've tried looking for some kind of pattern (relating to
number of items in the window list etc) but there's nothing. One of
those yukky random segfault bugs....
Comment 8 Arvind S N 2003-03-22 07:06:58 UTC
Vincent, Newren: crazy bug heh ? ;)
When Luis reported it originally in bug #98274, he did not talk about
any transparent panel. And the scerario where he got the crash was
after closing  bug-buddy. He probably had tasklist on his panel which
got updated when bug-buddy was closed which caused the panel to crash.
If you look at  bug #88427, you could say, the fix could be in panel
itself. Since nautilus bugs #108719 and #108205 have also reported 
similar traces, it could well be a gtk+ bug. Just wondering if Owen 
is aware of these nautilus and panel crashes. He could throw some
light on it.
Comment 9 Chris Williams 2003-03-22 10:13:57 UTC
Something else, don't know if it helps..

The window selected from the list does get the focus before the crash
occurs.
Comment 10 Elijah Newren 2003-03-22 17:57:13 UTC
Owen: I'm adding you to the cc list (as Arvind suggested might be a
good idea) so you can take a look at this and perhaps provide some
insight as to whether this might be a gtk+ problem or not.  Note that
this bug is almost identical (if not identical) to the stack traces
being tracked in bug 108205 (which is recording nautilus crashes
instead of gnome-panel ones).
Comment 11 Chris Williams 2003-03-23 04:06:33 UTC
Ok guys - bug nailed

GARNOME 0.22.0 uses a patched version of GTK+ to add pretty (albeit
buggy) drop shadow eyecandy and the like - installing a clean version
of GTK+ fixes the problem. I've informed the list so hopefully an
updated version will be released.

I can't speak for the other bugs with the similar trace - but it fixes
it at my end - sorry for wasting your time.

Marking bug as NOTGNOME
Comment 12 mwehner 2003-09-27 12:02:52 UTC
*** Bug 106857 has been marked as a duplicate of this bug. ***