Complete.Org: Mailing Lists: Archives: freeciv-dev: August 2002:
[Freeciv-Dev] Re: Assertion failed in latest CVS
Home

[Freeciv-Dev] Re: Assertion failed in latest CVS

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Assertion failed in latest CVS
From: Christian Knoke <chrisk@xxxxxxxx>
Date: Fri, 9 Aug 2002 12:37:29 +0200

On Fri, Aug 09, 2002 at 12:13:52PM +0200, Pieter J. Kersten wrote:
> On Fri, 9 Aug 2002, Pieter J. Kersten wrote:
> 
> > Hi all,
> > 
> > The latest CVS version crashes so early in the game, I can't make a 
> > savegame. The message is:
> > 
> > civserver: unittype.c:85: get_unit_type: Assertion `id >= 0 && id < 200 && 
> > id < game.num_unit_types' failed.
> > 
> > It is consistently. I can't play beyond a few first hops around.
> > 
> 
> Ok. I've managed to create a savegame using 'set saveturns 1'. Attached.

After 11 turns, I get:

(gdb) bt
#0  0x400b0861 in kill () from /lib/libc.so.6
#1  0x400b0665 in raise () from /lib/libc.so.6
#2  0x400b1c81 in abort () from /lib/libc.so.6
#3  0x400aaa52 in Letext () from /lib/libc.so.6
#4  0x080d6098 in get_unit_type (id=136422344) at unittype.c:85
#5  0x080d60e4 in unit_type (punit=0x830dfe8) at unittype.c:94
#6  0x080d3482 in is_sailing_unit (punit=0x830dfe8) at unit.c:316
#7  0x08078628 in generate_warmap (pcity=0x0, punit=0x830dfe8) at gotohand.c:408
#8  0x080e9727 in ai_manage_explorer (punit=0x830dfe8) at aiunit.c:454
#9  0x080efaac in ai_manage_unit (pplayer=0x8176ef0, punit=0x830dfe8) at 
aiunit.c:2308
#10 0x080efcd4 in ai_manage_units (pplayer=0x8176ef0) at aiunit.c:2356
#11 0x080e6652 in ai_do_first_activities (pplayer=0x8176ef0) at aihand.c:362
#12 0x0804e9dc in ai_start_turn () at srv_main.c:369
#13 0x0805193d in main_loop () at srv_main.c:1675
#14 0x0805207f in srv_loop () at srv_main.c:1908
#15 0x080521c5 in srv_main () at srv_main.c:1962
#16 0x0804a39c in main (argc=3, argv=0xbffff624) at civserver.c:153
#17 0x4009f7ee in __libc_start_main () from /lib/libc.so.6

Christian

-- 
Christian Knoke     * * *      http://www.enter.de/~c.knoke/
* * * * * * * * *  Ceterum censeo Microsoft esse dividendum.


[Prev in Thread] Current Thread [Next in Thread]