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 99205 - Panel crash
Panel crash
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: libpanel-applet
unspecified
Other other
: High critical
: ---
Assigned To: Mark McLoughlin
Panel Maintainers
: 96197 99725 100404 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-11-21 14:06 UTC by Jules Colding
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Jules Colding 2002-11-21 16:15:37 UTC
Package: gnome-panel
Severity: blocker
Version: 2.0.6
Synopsis: Panel crash
Bugzilla-Product: gnome-panel
Bugzilla-Component: libpanel-applet
BugBuddy-GnomeVersion: 2.0 (2.0.3)

Description:
Description of Problem:
Panel crashed immidiately after the batt stat applet crashed

Steps to reproduce the problem:
1. Boot
2. Make batt stat crash while booting 
3. 

Actual Results:
Panel crash

Expected Results:
No crash

How often does this happen?
Only happened once

Additional Information:




Debugging Information:

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

(no debugging symbols found)...(no debugging symbols found)...[New
Thread 8192 (LWP 1075)]

0x420ae169 in wait4 () from /lib/i686/libc.so.6

Thread 1 (Thread 8192 (LWP 1075))

  • #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_module_info_get
    from /usr/lib/libgnomeui-2.so.0
  • #4 __pthread_sighandler
    from /lib/i686/libpthread.so.0
  • #5 <signal handler called>
  • #6 Bonobo_Unknown_queryInterface
    from /usr/lib/libbonobo-activation.so.4
  • #7 panel_applet_frame_get_applet_shell
  • #8 panel_applet_frame_construct
  • #9 panel_applet_frame_new
  • #10 panel_applet_frame_load
  • #11 panel_applet_frame_load_from_gconf
  • #12 panel_applet_load_idle_handler
  • #13 g_idle_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #14 g_main_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #15 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #16 g_main_context_iterate
    from /usr/lib/libglib-2.0.so.0
  • #17 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #18 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #19 main
  • #20 __libc_start_main
    from /lib/i686/libc.so.6
  • #0 wait4
    from /lib/i686/libc.so.6




------- Bug moved to this database by unknown@bugzilla.gnome.org 2002-11-21 11:15 -------

The original reporter (JuBColding@yorkref.com) of this bug does not have an account here.
Reassigning to the exporter, unknown@bugzilla.gnome.org.
Reassigning to the default owner of the component, mark@skynet.ie.

Comment 1 Vincent Untz 2002-11-22 23:37:53 UTC
Can you reproduce this bug reliably ?
Comment 2 Vincent Untz 2002-11-22 23:38:29 UTC
*** Bug 96197 has been marked as a duplicate of this bug. ***
Comment 3 Elijah Newren 2002-11-25 06:29:22 UTC
Note that the reporter also filed bug 99206 and referenced this bug in
that one.  He also gave information in 99206 about how he got the batt
stat applet to crash.
Comment 4 Jules Colding 2002-11-25 08:47:11 UTC
As to the first comment - No, I can not reproduce this. The batt stat
applet crash is probably very depending on the timing of when I switch
AC power on. I have tried to duplicate it with no luck.
Comment 5 Elijah Newren 2002-12-02 19:02:33 UTC
I've experienced a crash with similar behavior--the battstat applet
crashes (and bug-buddy is unable to get a stack trace) and the panel
crashes immediately after it.  Bug-buddy was able to get a stack trace
of the panel crash and I filed it (as bug 99725).  It has a fairly
similar stack trace, but levels 6-7 here are different than levels 6-9
there.

If the crash I got (bug 99725) is in fact the same as the one here,
then I believe this bug is repeatable, but quite rare.  I was trying
to duplicate bug 94422 and repeatedly logged in, removed the redhat
update icon, and logged out.  Out of a couple hundred times of that,
the battery applet crashed around 10-15 times or so (and did so
immediately upon log in, before I even tried to remove the redhat
update icon), and one or two of those times was followed by an
immediate panel crash.

Also, I think that the switching of the AC Power on as Jules reports
was probably just coincidental.  Of course, it's hard to tell with a
fairly rare bug like this.
Comment 6 Vincent Untz 2002-12-05 20:27:14 UTC
Mark/Arvind: there are some bugs like this one. E.g. bug #100404, bug
#100197, bug #99725. An applet crashes when starting, and the last
call from the applet is panel_applet_frame_*.
Could it be only one bug ?
Comment 7 Arvind S N 2002-12-09 06:28:14 UTC
Vincent :bug #100404 and  bug #99725 are dups of this but not sure on
bug #100197.
Mark, your fix to background stuff would fix 100197 ?
Comment 8 Vincent Untz 2002-12-15 19:22:16 UTC
*** Bug 100404 has been marked as a duplicate of this bug. ***
Comment 9 Vincent Untz 2002-12-15 19:22:30 UTC
*** Bug 99725 has been marked as a duplicate of this bug. ***
Comment 10 Mark McLoughlin 2002-12-15 20:52:10 UTC
Okay, this should fix this:

2002-12-16  Mark McLoughlin  <mark@skynet.ie>

        Be more robust in the face of applet crashes
        during loading. Should fix #99205.

        * panel-applet-frame.c: Keep a ref to the PanelWidget
        so that we can reload an applet even when it hasn't
        been fully loaded.
        (popup_handle_move),
        (panel_applet_frame_constrain_size),
        (panel_applet_frame_button_changed): use that ref here.
        (panel_applet_frame_reload_response): fix up to work even
        when an applet hasn't fully loaded.
        (panel_applet_frame_cnx_broken): don't require the applet
        to have been registered.
        (panel_applet_frame_construct): check for failure of
        vairious remote bonobo operations.