<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39459 >

> [EMAIL PROTECTED] - Tue Jul 17 19:56:51 2007]:
> 
> <URL: http://bugs.freeciv.org/Ticket/Display.html?id=39459 >
> 
> Some debugging says that the faulty place is
> client/gui-gtk-2.0/wldlg.c
> function cell_render_func
> line 1008 (this might change because of commits to SVN):
>     column = GPOINTER_TO_INT(g_object_get_data(G_OBJECT(rend), 
"column"));
> column is set to -1 and this makes this code segfault:
>     g_object_set(rend, "text", row[column], NULL);
> It might be that my GTK2 is bad..  How to check?
> 
> 
> 

gcc 4.x miscompiles gtk producing strange crashes that seem to originate
in libc (strlen). I don't know if there are some special compiler
switches one can use to make gcc 4 compile without this bug; the
problem goes away if you compile gtk (and glib, etc.) with gcc 3.x
(tested with gcc 3.4.6 gtk 2.10.13 glib 2.12.12). Hope that helps.

_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to