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 327748 - [recent_documents_tooltip_func] gnome-panel-2.13.5 crashes on session startup
[recent_documents_tooltip_func] gnome-panel-2.13.5 crashes on session startup
Status: RESOLVED FIXED
Product: libegg
Classification: Other
Component: recent-files
unspecified
Other All
: Normal critical
: ---
Assigned To: Emmanuele Bassi (:ebassi)
Libegg maintenance
: 329274 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2006-01-19 20:00 UTC by Jose M. daLuz
Modified: 2006-02-04 08:26 UTC
See Also:
GNOME target: ---
GNOME version: 2.13/2.14


Attachments
.recently-used (112.44 KB, text/plain)
2006-01-20 21:59 UTC, Jose M. daLuz
Details

Description Jose M. daLuz 2006-01-19 20:00:05 UTC
Steps to reproduce:
1. Login to a Gnome session (with gnome-session-2.13.4 or 2.13.5)
2. Panel will crash and restarting it just causes it to crash repeatedly
3. 


Stack trace:
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


Other information:
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.
Comment 1 Christian Kirbach 2006-01-19 21:06:41 UTC
good trace, confirming.
Comment 2 Vincent Untz 2006-01-20 21:40:54 UTC
Jose: can you attach your ~/.recently-used file here?
Comment 3 Vincent Untz 2006-01-20 21:45:26 UTC
Really looks like a bug in libegg, in egg-recent-view-gtk.c: in egg_recent_view_gtk_add_to_menu(), we should check if the menu_item we get is NULL. It's probably some kind of broken ~/.recently-used file causing this, but hey, we have to not break :-)
Comment 4 Jose M. daLuz 2006-01-20 21:59:24 UTC
Created attachment 57756 [details]
.recently-used
Comment 5 Jose M. daLuz 2006-01-20 22:12:31 UTC
After uploading it, I renamed .recently-used, updated gnome-session from 2.12.0 to 2.13.5 and restarted my session -- no more gnome-panel crashes. Thanks!

And yes, it looks like the .recently-used file was broken -- files going back for months were listed in there, but not in Places->Recent Documents.
Comment 6 Emmanuele Bassi (:ebassi) 2006-01-21 00:47:33 UTC
thanks jose, thanks vincent. should be fixed in recent-files HEAD.

2006-01-21  Emmanuele Bassi  <ebassi@cvs.gnome.org>

	* libegg/recent-files/egg-recent-view-gtk.c
	(egg_recent_view_gtk_add_menu): check whether we've got a menu item
	or not, before actually using it.
Comment 7 Vincent Untz 2006-01-21 07:27:08 UTC
FWIW, the bug happened because the URI for cdda:///dev/hdc was NULL (since cdda: is not supported anymore)
Comment 8 Vincent Untz 2006-02-04 08:26:50 UTC
*** Bug 329274 has been marked as a duplicate of this bug. ***