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

Forwarded from a posting to freeciv-dev:

On 12/27/08, Piotr Budny <piotr.bu...@gmail.com> wrote:
> After starting the game, I move my pawns, when the turn ends,
> and starting new, the server hangs up.
> I'm using PLD Linux, 2.1.8 freeciv.

#0  0xf7fda430 in __kernel_vsyscall ()
#1  0x4b60e7a7 in *__GI_raise (sig=<value optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x4b60fed8 in *__GI_abort () at abort.c:88
#3  0x4b6072fa in *__GI___assert_fail (assertion=Could not find the 
frame base
for "*__GI___assert_fail".
) at assert.c:78
#4  0x080724e0 in auto_arrange_workers (pcity=0x84f94b0) at 
#5  0x0806f238 in create_city (pplayer=0x829e11c, ptile=0x8a40558,
name=0x877ebc0 "Timbuktu")
   at citytools.c:1039
#6  0x080aea6d in city_build (pplayer=0x829e11c, punit=0x8aa41b8,
name=0x877ebc0 "Timbuktu")
   at unithand.c:555
#7  0x080ac216 in auto_settler_findwork (pplayer=0x829e11c, 
state=0xff8d2530, recursion=1)
   at settlers.c:94
#8  0x080aba4b in auto_settler_findwork (pplayer=0x829e11c, 
state=0xff8d2530, recursion=0)
   at settlers.c:1158
#9  0x080ac7ce in auto_settlers_player (pplayer=0x829e11c) at 
#10 0x080544c5 in srv_main () at srv_main.c:786
#11 0x0804a735 in main (argc=8, argv=0xff8da5a4) at civserver.c:258

>> civserver: cityturn.c:276: auto_arrange_workers: Assertion
> `cmr.found_a_valid' failed.

I'm starting to suspect that it might be a compiler bug (we've
had problems before due to code not working when compiled
with gcc 4.x optimizations). What version of gcc are you using,
and do you know if the freeciv binary you are using was
compiled with -O2 (or more)?

If you have some time it would help my debugging too if you
could confirm whether the 2.1.8 sources in


when compiled with with or without --enable-debug and with
or without optimizations (-O0 that's big oh, zero) or with an
earlier gcc (e.g. 3.x).


Freeciv-dev mailing list

Reply via email to