Re: [Ekiga-devel-list] Ekiga 3.3.0 crash on selecting menu



Hello Eugen !

On Mon, 24/01/2011 at 14.56 +0100, Eugen Dedu wrote:
>On 24/01/11 11:07, Guido Trentalancia wrote:
> > On Mon, 24/01/2011 at 09.13 +0100, Eugen Dedu wrote:
> >> On 20/01/11 05:44, g trentalancia libero it wrote:
> >>
> >> The crash is strange, it appears at:
> >> #7  0xb7e37dcb in menu_item_selected (w=0x86fd6e0, data=0x0) at
> >> ../lib/gui/gmmenuaddon.c:144
> >>           statusbar = 0x86fd500
> >>           id = 1
> >>
> >> i.e. in the code following from gmmenuaddon.c:
> >>         gtk_statusbar_remove_all (GTK_STATUSBAR (statusbar), id);
> >> however statusbar and id seem right.
> >
> > It's the new Gtk function at line 144 of lib/gui/gmmenuaddon.c that
> > breaks the code:
> >
> > #if GTK_CHECK_VERSION (2, 21, 2) */
> > 	gtk_statusbar_remove_all (GTK_STATUSBAR (statusbar), id); */
> > #else */
> >
> > Reverted back to the old code (commented out #if block) and everything 
goes back to normal...
> >
> > Well, the Modify menu does not exist. It's the Edit menu (I was
> > translating "manually" from the localised version) ! Sorry about that.
> >
> >> Julien, do you have an idea?
> >>
> >> Guido, could you compile manually ekiga if needed, or have you installed
> >> the binary, from a repository?
> >
> > Yes, of course if you have something to propose, I can compile and test
> > easily anytime. You know now the problem is with the call to
> > gtk_statusbar_remove_all()... because I have Gtk>  2.21.2.
> 
> I fear this is a bug in gtk.  Could you install gtk debug package and 
> redo a stack trace?  What version of gtk do you have?  Could you update 
> it easily?

I am using gtk version 2.23.2 and it has debugging information compiled in 
(otherwise we couldn't see much from the stack backtrace).

It seems like there are some problems reading the stack backtrace that I had 
submitted in my original report. Perhaps you have lost it ? I am reattaching 
the part relevant to the thread that caused the crash here for your 
convenience:

0xb7fff424 in __kernel_vsyscall ()
#0  0xb7fff424 in __kernel_vsyscall ()
#1  0x43785cfb in waitpid () at ../sysdeps/unix/syscall-template.S:82
#2  0xb6764f9f in g_spawn_sync (working_directory=0x0, argv=0x8878de8, 
envp=0x0, flags=G_SPAWN_SEARCH_PATH, child_setup=0, user_data=0x0, 
standard_output=0x0, standard_error=0x0, exit_status=0x0, error=0xbfffdd10) at 
gspawn.c:392
#3  0xb676546c in g_spawn_command_line_sync (command_line=0x854ff80 "bug-buddy 
--appname=\"ekiga\" --pid=4257", standard_output=0x0, standard_error=0x0, 
exit_status=0x0, error=0xbfffdd10) at gspawn.c:706
#4  0xb7d575e3 in bugbuddy_segv_handle(int) () from /usr/lib/gtk-2.0
/modules/libgnomebreakpad.so
#5  <signal handler called>
#6  IA__gtk_statusbar_remove_all (statusbar=0x86fd500, context_id=1) at 
gtkstatusbar.c:521
#7  0xb7e37dcb in menu_item_selected (w=0x86fd6e0, data=0x0) at ..
/lib/gui/gmmenuaddon.c:144
#8  0xb67fff85 in g_cclosure_marshal_VOID__VOID (closure=0x86f4280, 
return_value=0x0, n_param_values=1, param_values=0x882fb50, 
invocation_hint=0xbfffe478, marshal_data=0x0) at gmarshal.c:79
#9  0xb67e3eab in g_closure_invoke (closure=0x86f4280, return_value=0x0, 
n_param_values=1, param_values=0x882fb50, invocation_hint=0xbfffe478) at 
gclosure.c:767
#10 0xb67f651b in signal_emit_unlocked_R (node=<value optimized out>, 
detail=0, instance=0x86fd6e0, emission_return=0x0, 
instance_and_params=0x882fb50) at gsignal.c:3252
#11 0xb67ff6a1 in g_signal_emit_valist (instance=0x86fd6e0, signal_id=100, 
detail=0, var_args=0xbfffe63c 
"\350B\001\267\340\326o\b\350B\001\267\250\346\377\277\200\315̶\340\326o\b\240\017\031\b\001") 
at gsignal.c:2983
#12 0xb67ff849 in g_signal_emit (instance=0x86fd6e0, signal_id=100, detail=0) 
at gsignal.c:3040
#13 0xb6c925b0 in IA__gtk_item_deselect (item=0x86fd6e0) at gtkitem.c:115
#14 0xb6cccd80 in IA__gtk_menu_item_deselect (menu_item=0x86fd6e0) at 
gtkmenuitem.c:869
#15 0xb6cd3e9c in IA__gtk_menu_shell_deselect (menu_shell=0x86f7230) at 
gtkmenushell.c:1212
#16 0xb6cd4101 in gtk_menu_shell_leave_notify (widget=0x86f7230, 
event=0x87baf88) at gtkmenushell.c:999
#17 0xb6cbc6e3 in gtk_menu_leave_notify (widget=0x86f7230, event=0x87baf88) at 
gtkmenu.c:3970
#18 0xb6cb124f in _gtk_marshal_BOOLEAN__BOXED (closure=0x8185f68, 
return_value=0xbfffe98c, n_param_values=2, param_values=0x8796990, 
invocation_hint=0xbfffe978, marshal_data=0xb6cbc55c) at gtkmarshalers.c:86
#19 0xb67e2951 in g_type_class_meta_marshal (closure=0x8185f68, 
return_value=0xbfffe98c, n_param_values=2, param_values=0x8796990, 
invocation_hint=0xbfffe978, marshal_data=0xd8) at gclosure.c:878
#20 0xb67e3ddc in g_closure_invoke (closure=0x8185f68, 
return_value=0xbfffe98c, n_param_values=2, param_values=0x8796990, 
invocation_hint=0xbfffe978) at gclosure.c:767
#21 0xb67f631d in signal_emit_unlocked_R (node=<value optimized out>, 
detail=0, instance=0x86f7230, emission_return=0xbfffeadc, 
instance_and_params=0x8796990) at gsignal.c:3290
#22 0xb67ff523 in g_signal_emit_valist (instance=0x86f7230, signal_id=53, 
detail=0, var_args=0xbfffeb40 
"`\353\377\277\340\033\030\b\210\353\377\277\350B\001\267\350B\001\267\060ro\bH\226\215\b`\353\377\277") 
at gsignal.c:2993
#23 0xb67ff849 in g_signal_emit (instance=0x86f7230, signal_id=53, detail=0) 
at gsignal.c:3040
#24 0xb6e86397 in gtk_widget_event_internal (widget=0x86f7230, 
event=0x87baf88) at gtkwidget.c:4980
#25 0xb6cb124f in _gtk_marshal_BOOLEAN__BOXED (closure=0x8185f68, 
return_value=0xbfffed2c, n_param_values=2, param_values=0x879fa00, 
invocation_hint=0xbfffed18, marshal_data=0xb6c9238a) at gtkmarshalers.c:86
#26 0xb67e2951 in g_type_class_meta_marshal (closure=0x8185f68, 
return_value=0xbfffed2c, n_param_values=2, param_values=0x879fa00, 
invocation_hint=0xbfffed18, marshal_data=0xd8) at gclosure.c:878
#27 0xb67e3eab in g_closure_invoke (closure=0x8185f68, 
return_value=0xbfffed2c, n_param_values=2, param_values=0x879fa00, 
invocation_hint=0xbfffed18) at gclosure.c:767
#28 0xb67f631d in signal_emit_unlocked_R (node=<value optimized out>, 
detail=0, instance=0x86fd6e0, emission_return=0xbfffee7c, 
instance_and_params=0x879fa00) at gsignal.c:3290
#29 0xb67ff523 in g_signal_emit_valist (instance=0x86fd6e0, signal_id=53, 
detail=0, var_args=0xbfffeee0 "") at gsignal.c:2993
#30 0xb67ff849 in g_signal_emit (instance=0x86fd6e0, signal_id=53, detail=0) 
at gsignal.c:3040
#31 0xb6e86397 in gtk_widget_event_internal (widget=0x86fd6e0, 
event=0x87baf88) at gtkwidget.c:4980
#32 0xb6caf7c8 in IA__gtk_main_do_event (event=<value optimized out>) at 
gtkmain.c:1679
#33 0xb6a8e7e5 in gdk_event_dispatch (source=0x8170ae8, callback=0, 
user_data=0x0) at gdkevents-x11.c:2377
#34 0xb67170a0 in g_main_dispatch (context=0x8149088) at gmain.c:2440
#35 g_main_context_dispatch (context=0x8149088) at gmain.c:3013
#36 0xb671791c in g_main_context_iterate (context=0x8149088, block=1, 
dispatch=1, self=<value optimized out>) at gmain.c:3091
#37 0xb6717f38 in g_main_loop_run (loop=0x86b97c8) at gmain.c:3299
#38 0xb6cae091 in IA__gtk_main () at gtkmain.c:1238
#39 0x080946f6 in main (argc=141091376, argv=0x1) at gui/main_window.cpp:4655

So it doesn't like the call to gtk_statusbar_remove_all (statusbar=0x86fd500, 
context_id=1) from menu_item_selected (w=0x86fd6e0, data=0x0) at ..
/lib/gui/gmmenuaddon.c:144.

Regards,

Guido


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]