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



On Mon, 24/01/2011 at 20.00 +0100, Julien Puydt wrote:
Le 24/01/2011 12:21, g trentalancia libero it a écrit :
> > Hello Julien !
> >
> >> Le 24/01/2011 11:13, g trentalancia libero it a écrit :
> >>> 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...
> >
> >> This is very interesting.
> >>
> >> Could you add something like :
> >> g_printf ("here we have id=%d\n", id);
> >> just before the line :
> >> gtk_statusbar_remove_all (GTK_STATUSBAR (statusbar), id);
> >> and report on what it says?
> >
> > But you have the context in the stack backtrace (from the called 
function):
> >
> > #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
> 
> Indeed! So it doesn't look that bad... you should probably report it as 
> a bug to gtk+, since it pretty much looks like this. Give them the code 
> of the calling function, so they see where the parameters come from.

Fixed in http://git.gnome.org/browse/gtk+/patch/?
id=30958ea8ad1a60449eb6ad47eb679a2de70d96ed

But apparently not released yet (does not appear in latest gtk+ version 
2.24.0).

Basically, a pointer consistency check has been added.

Regards,

Guido


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