[crossfire] RFC: gtk client with gtk2

Anton Oussik antonoussik at gmail.com
Tue Feb 14 12:54:00 CST 2006


On 09/02/06, Andreas Kirschbaum <kirschbaum at myrealbox.com> wrote:
> Lalo Martins wrote:
> > I've been running the gtk client compiling with gtk2 for about 3
> > months now; it works beautifully (better than with gtk1), sdl and all.
> >
> > The problems I know about seem to be:
> >
> > - SDL doesn't work for some people.  I couldn't find one of those people
> > to comment, though.  It works for me.
>
> If you cannot actually find somebody having these problems, I don't
> think it should prevent you from applying the patch: if there really is
> a problem, "those people" will (hopefully) complain and we can fix the
> bug then.

SDL in CVS gcfclient has been broken for me for a long time now,
producing this crash when connecting to a server with SDL enabled:

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1081633664 (LWP 5070)]
0x403637c6 in SDL_LowerBlit () from /usr/lib/libSDL-1.2.so.0
(gdb) bt
#0  0x403637c6 in SDL_LowerBlit () from /usr/lib/libSDL-1.2.so.0
#1  0x40363ae2 in SDL_UpperBlit () from /usr/lib/libSDL-1.2.so.0
#2  0x0806e342 in display_mapcell (ax=5, ay=7, mx=249, my=251)
    at sdl.c:806
#3  0x0806e4bc in sdl_gen_map (redraw=0) at sdl.c:932
#4  0x0807262b in map1_common (data=0x8477398 "", len=1798,
    rev=1) at commands.c:958
#5  0x08072791 in Map1aCmd (data=0x840c2b8 "", len=138461880)
    at commands.c:973
#6  0x080701f0 in DoClient (csocket=0x83985a0) at client.c:156
#7  0x08054c29 in do_network () at gx11.c:320
#8  0x401a98ce in gdk_get_show_events ()
   from /opt/gnome/lib/libgdk-1.2.so.0
#9  0x083985a0 in style_fixed ()
#10 0x0000000c in ?? ()
#11 0x00000001 in ?? ()
#12 0x401f3130 in ?? () from /opt/gnome/lib/libglib-1.2.so.0
#13 0x00000000 in ?? ()
#14 0x083b1ac0 in ?? ()
#15 0xbfc22b38 in ?? ()
#16 0x401dea36 in g_io_add_watch ()
   from /opt/gnome/lib/libglib-1.2.so.0
#17 0x401dea36 in g_io_add_watch ()
   from /opt/gnome/lib/libglib-1.2.so.0
#18 0x401e03cf in g_get_current_time ()
   from /opt/gnome/lib/libglib-1.2.so.0
#19 0x401e0f69 in g_main_add_poll ()
   from /opt/gnome/lib/libglib-1.2.so.0
#20 0x401e126f in g_main_run ()
   from /opt/gnome/lib/libglib-1.2.so.0
#21 0x400e2b4f in gtk_main ()
   from /opt/gnome/lib/libgtk-1.2.so.0
#22 0x08054d31 in event_loop () at gx11.c:372
#23 0x080648f1 in main (argc=138461880, argv=0x840c2b8)
    at gx11.c:5290

(If you want more info about the crash poke me on IRC or reply to this)



More information about the crossfire mailing list