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 326942 - Panel crashes at startup
Panel crashes at startup
Status: RESOLVED FIXED
Product: gnome-panel
Classification: Other
Component: panel
2.13.x
Other All
: Normal critical
: ---
Assigned To: Panel Maintainers
Panel Maintainers
Depends on:
Blocks:
 
 
Reported: 2006-01-14 10:38 UTC by Reinout van Schouwen
Modified: 2006-01-21 07:29 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14



Description Reinout van Schouwen 2006-01-14 10:38:58 UTC
Steps to reproduce:
Upgrade to new GNOME 2.13.4 packages


Stack trace:
** CRITICAL **: panel_applet_frame_load: assertion `iid != NULL' failed
aborting...

Program received signal SIGTRAP, Trace/breakpoint trap.

Thread NaN (LWP 4797)

  • #0 g_logv
    from /usr/lib/libglib-2.0.so.0
  • #1 g_log
    from /usr/lib/libglib-2.0.so.0
  • #2 g_return_if_fail_warning
    from /usr/lib/libglib-2.0.so.0
  • #3 panel_applet_frame_change_background
  • #4 panel_applet_frame_load_from_gconf
  • #5 panel_applet_on_load_queue
  • #6 g_child_watch_add
    from /usr/lib/libglib-2.0.so.0
  • #7 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #8 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #9 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #10 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #11 main


Other information:
Comment 1 Vincent Untz 2006-01-16 21:01:07 UTC
Reinout: can you easily reproduce? Can you get a stack trace with debugging symbols?
Comment 2 Reinout van Schouwen 2006-01-16 21:43:09 UTC
It's reproducable 100% of the time (i.e. I'm limping by without a panel now). I'll try if I can build from cvs with debug on...
Comment 3 Reinout van Schouwen 2006-01-17 22:27:40 UTC
Unfortunately it requires cairo 1.0 and that isn't yet available on mandriva cooker, and I don't have the disk space or cpu power to do a full garnome/jhbuild.
Comment 4 Jose M. daLuz 2006-01-18 22:19:44 UTC
I have the same problem. I just recompiled Gnome 2.13.x with debugging info so hopefully the following backtrace will be useful. The problem goes away if I drop gnome-session from 2.13.5 or 2.13.4 to 2.12.0 but happens 100% of the time with either 2.13 version. I'm running Gentoo 2005.1/AMD64/xorg-x11-7.0/2.6.15-ck1.

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

Using host libthread_db library "/lib/tls/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 46912582173984 (LWP 10457)]
[New Thread 1074006368 (LWP 10465)]
0x00002aaaaf2d7eba in waitpid () from /lib/tls/libpthread.so.0

Thread 1 (Thread 46912582173984 (LWP 10457))

  • #0 waitpid
    from /lib/tls/libpthread.so.0
  • #1 libgnomeui_segv_handle
    at gnome-ui-init.c line 784
  • #2 <signal handler called>
  • #3 IA__g_logv
    at gmessages.c line 503
  • #4 IA__g_log
    at gmessages.c line 517
  • #5 recent_documents_tooltip_func
    at panel-recent.c line 206
  • #6 egg_recent_view_gtk_add_to_menu
    at egg-recent-view-gtk.c line 382
  • #7 model_changed_cb
    at egg-recent-view-gtk.c line 422
  • #8 IA__g_closure_invoke
    at gclosure.c line 490
  • #9 signal_emit_unlocked_R
    at gsignal.c line 2438
  • #10 IA__g_signal_emit_valist
    at gsignal.c line 2197
  • #11 IA__g_signal_emit
    at gsignal.c line 2241
  • #12 egg_recent_model_changed
    at egg-recent-model.c line 1856
  • #13 panel_recent_append_documents_menu
    at panel-recent.c line 247
  • #14 panel_place_menu_item_create_menu
    at panel-menu-items.c line 603
  • #15 panel_place_menu_item_new
    at panel-menu-items.c line 942
  • #16 panel_menu_bar_instance_init
    at panel-menu-bar.c line 194
  • #17 IA__g_type_create_instance
    at gtype.c line 1567
  • #18 g_object_constructor
    at gobject.c line 1015
  • #19 IA__g_object_newv
    at gobject.c line 912
  • #20 IA__g_object_new_valist
    at gobject.c line 955
  • #21 IA__g_object_new
    at gobject.c line 793
  • #22 panel_menu_bar_load_from_gconf
    at panel-menu-bar.c line 390
  • #23 panel_applet_load_idle_handler
    at applet.c line 896
  • #24 IA__g_main_context_dispatch
    at gmain.c line 1916
  • #25 g_main_context_iterate
    at gmain.c line 2547
  • #26 IA__g_main_loop_run
    at gmain.c line 2751
  • #27 IA__gtk_main
    at gtkmain.c line 991
  • #28 main
    at main.c line 84
  • #0 waitpid
    from /lib/tls/libpthread.so.0

Comment 5 Christian Kirbach 2006-01-19 19:49:52 UTC
Jose, the last stack trace is a different one (meaning different problem)
please file a seperate report for it.
Comment 6 Jose M. daLuz 2006-01-19 20:01:33 UTC
(In reply to comment #5)
> Jose, the last stack trace is a different one (meaning different problem)
> please file a seperate report for it.

Done. Bug 327748 – gnome-panel-2.13.5 crashes on session startup
Comment 7 Vincent Untz 2006-01-20 22:11:09 UTC
Reinout: I'm quite surprised that cairo 1.0 is not in cooker, but I'm not a mandriva user, so...

The only way that it could happen is that bonobo_iid is not set for an applet in gconf. Could you do the following in gconf-editor, eg:

 * open gconf-editor
 * go to /apps/panel/applets
 * look at all subdirs and see if the bonobo_iid key is set there

Also, the content of /apps/panel/general/applet_id_list can be useful? Does all strings in there match a subdir in /apps/panel/applets?

I'm committing a patch that should avoid a crash caused by this.
Comment 8 Reinout van Schouwen 2006-01-20 22:33:04 UTC
I assume that this is purely a question of time and a newer cairo will be in soon. 

Anyway, I purged my panel configuration (it had gathered a LOT of cruft during the years) and the problem went away. If you have a patch to prevent a crash in this situation, we can close the bug.
Comment 9 Vincent Untz 2006-01-21 07:29:19 UTC
Ok, closing.
Thanks