Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2003:
[Freeciv-Dev] SDL Client Segfaults
Home

[Freeciv-Dev] SDL Client Segfaults

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] SDL Client Segfaults
From: wjr@xxxxxxxxxxxxxxxxxxxxxx
Date: Fri, 16 May 2003 15:30:24 -0400

Hi folks,

I've been trying out the latest CVS snapshots because I wanted to give
the SDL client a gander.  Using the May 14 CVS tarball, I managed to
compile with --enable-client=sdl (I have libsdl 1.2.5 installed).  The
client starts up (using tileset deluxe), but as soon as I move a unit,
it segfaults.

Here is the output from gdb:

(gdb) set args -t deluxe
(gdb) run
Starting program: /home/wjr/local/bin/civclient -t deluxe
[New Thread 16384 (LWP 26322)]
2: Using Video Output: x11
1: warning: already have a sprite for cd.occupied
1: warning: already have a sprite for city.european_occupied
1: warning: already have a sprite for city.classical_occupied
1: warning: already have a sprite for city.industrial_occupied
1: warning: already have a sprite for city.modern_occupied
1: warning: already have a sprite for city.postmodern_occupied
1: warning: already have a sprite for cd.occupied
2: No real audio plugin present, proceeding with sound support disabled
2: For sound support, install either esound or SDL_mixer
2: Esound: http://www.tux.org/~ricdude/EsounD.html
2: SDL_mixer: http://www.libsdl.org/projects/SDL_mixer/index.html

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 26322)]
0x40029f1d in RLEClipBlit () from /usr/lib/libSDL-1.2.so.0
(gdb) bt
#0  0x40029f1d in RLEClipBlit () from /usr/lib/libSDL-1.2.so.0
#1  0x4002687a in SDL_RLEBlit () from /usr/lib/libSDL-1.2.so.0
#2  0x400427c8 in SDL_LowerBlit () from /usr/lib/libSDL-1.2.so.0
#3  0x40042a0c in SDL_UpperBlit () from /usr/lib/libSDL-1.2.so.0
#4  0x0808ded0 in put_unit_pixmap_draw (pUnit=0x6, pDest=0x8386320,
map_x=0, map_y=0) at mapview.c:1488
#5  0x0808f00f in real_blink_active_unit () at mapview.c:1913
#6  0x0808038e in game_focused_unit_anim () at gui_main.c:480
#7  0x08080265 in gui_main_loop () at gui_main.c:410
#8  0x08080842 in ui_main (argc=1, argv=0xbffff694) at gui_main.c:679
#9  0x0804c993 in main (argc=1, argv=0xbffff694) at civclient.c:238
#10 0x40191dc4 in __libc_start_main () from /lib/libc.so.6

Am I doing something wrong in terms of compilation or library versions,
or is the client just broken/unfinished right now?

Thanks!

-- 
Will Rogers
wjr@xxxxxxxxxxxx
http://wjr.fastgems.org/



[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] SDL Client Segfaults, wjr <=