Complete.Org: Mailing Lists: Archives: freeciv-dev: April 2002:
[Freeciv-Dev] Re: Assertion fails in get_role_unit() (PR#1364)
Home

[Freeciv-Dev] Re: Assertion fails in get_role_unit() (PR#1364)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Petr Baudis <pasky@xxxxxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: Assertion fails in get_role_unit() (PR#1364)
From: Mike Kaufman <kaufman@xxxxxxxxxxxxxxxxxxxxxx>
Date: Mon, 8 Apr 2002 23:23:57 -0500

On Mon, Apr 08, 2002 at 12:05:36PM -0700, Petr Baudis wrote:
> Hello,
> 
>   I just wanted to test my cleanup patches, so I happily set up autogame..
> 
> Option: seed has been set to 16.
> Option: randseed has been set to 16.
> Option: huts has been set to 0.
> Option: aifill has been set to 4.
> Option: timeout has been set to -1.
> Created new AI player: Caesar.
> Caesar is now hard.
> Setting game.skill_level to 7.
> 
>   ..and started it - but after very short delay..
> 
> Game saved as civgame-3000.sav
> > civserver: ../../freeciv-/common/unittype.c:543: get_role_unit: Assertion 
> > `index>=0 && index<n_with_role[role]' failed.
> Aborted (core dumped)

I cannot reproduce this using CVS. here is the script I used:

set randseed 16       # repeat a particular game (random) sequence
set seed 16       # repeat a particular map generation sequence
set huts 0
set timeout -1          # run a server only autogame
set aifill 4            # fill to 7 players
create Caesar           # first player (with known name) created and
                        # toggled to AI mode
hard                    # make the AI do complex things
start

should be the same as yours.

I ran the game up through 2000. no dumps. Are you sure you were running
CVS?

-mike


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