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



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.

Thanks,

Snark


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