Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] Re: package_dumb_city: Assertion failed (PR#1266)
Home

[Freeciv-Dev] Re: package_dumb_city: Assertion failed (PR#1266)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: Christian Knoke <ChrisK@xxxxxxxx>
Cc: freeciv-dev@xxxxxxxxxxx, bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: package_dumb_city: Assertion failed (PR#1266)
From: Petr Baudis <pasky@xxxxxxxxxxx>
Date: Tue, 19 Feb 2002 21:44:15 +0100

Dear diary, on Sun, Feb 17, 2002 at 10:13:21PM CET, I got a letter,
where Christian Knoke <ChrisK@xxxxxxxx> told me, that...
> CVS ~15 FEB 2002 GTK+ Linux i386 w/ some small patches
> 
> Don't know what happened, just saved and reloaded and got 
> this after 'start':
> 
> ...
> Alaric is now hard.
> civserver: citytools.c:1308: package_dumb_city: 
> Assertion 'pcity != ((void *)0)' failed.
> Abgebrochen (core dumped)
> 
> Reproducible from savegame:
> 
> http://www.enter.de/~c.knoke/bugs/dump_city.sav.gz
> 
> Login as chris.

Got it here too, during autogame (settings at
http://pasky.ji.cz/~pasky/dev/freeciv/autogame).

civserver: ../../freeciv/server/citytools.c:1308: package_dumb_city: Assertion 
`pcity != ((void *)0)' failed.

#0  0x40087861 in __kill () from /lib/libc.so.6
#1  0x40087545 in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x40088d01 in abort () at ../sysdeps/generic/abort.c:88
#3  0x400819e2 in Letext () at assert.c:59
#4  0x806bfa0 in package_dumb_city (pplayer=0x81919e8, x=63, y=17, 
packet=0xbffff44c) at ../../freeciv/server/citytools.c:1308
#5  0x806c6a3 in send_city_info_at_tile (pviewer=0x81919e8, dest=0x8193f8c, 
pcity=0x0, x=63, y=17)
    at ../../freeciv/server/citytools.c:1507
#6  0x80863e0 in really_give_tile_info_from_player_to_player (pfrom=0x817f448, 
pdest=0x81919e8, x=63, y=17)
    at ../../freeciv/server/maphand.c:1027
#7  0x80864f7 in give_tile_info_from_player_to_player (pfrom=0x817f448, 
pdest=0x81919e8, x=63, y=17)
    at ../../freeciv/server/maphand.c:1050
#8  0x8084075 in give_map_from_player_to_player (pfrom=0x817f448, 
pdest=0x81919e8) at ../../freeciv/server/maphand.c:236
#9  0x808b6c4 in split_player (pplayer=0x817f448) at 
../../freeciv/server/plrhand.c:1627
#10 0x808b80a in civil_war (pplayer=0x817f448) at 
../../freeciv/server/plrhand.c:1724
#11 0x806beb7 in handle_unit_enter_city (punit=0x827ac20, pcity=0x831efb8) at 
../../freeciv/server/citytools.c:1278
#12 0x8064f2e in handle_unit_move_consequences (punit=0x827ac20, src_x=42, 
src_y=21, dest_x=43, dest_y=21)
    at ../../freeciv/server/unittools.c:2796
#13 0x80658d0 in move_unit (punit=0x827ac20, dest_x=43, dest_y=21, 
transport_units=1, take_from_land=1, move_cost=3)
    at ../../freeciv/server/unittools.c:3009
#14 0x805baa2 in handle_unit_move_request (punit=0x827ac20, dest_x=43, 
dest_y=21, igzoc=0, move_diplomat_city=0)
    at ../../freeciv/server/unithand.c:1075
#15 0x80ed9ea in ai_military_attack (pplayer=0x8185628, punit=0x827ac20) at 
../../freeciv/ai/aiunit.c:1732
#16 0x80ee6b5 in ai_manage_military (pplayer=0x8185628, punit=0x827ac20) at 
../../freeciv/ai/aiunit.c:1966
#17 0x80eeba0 in ai_manage_unit (pplayer=0x8185628, punit=0x827ac20) at 
../../freeciv/ai/aiunit.c:2072
#18 0x80eee04 in ai_manage_units (pplayer=0x8185628) at 
../../freeciv/ai/aiunit.c:2123
#19 0x80e58fe in ai_do_first_activities (pplayer=0x8185628) at 
../../freeciv/ai/aihand.c:491
#20 0x804ed3f in ai_start_turn () at ../../freeciv/server/srv_main.c:366
#21 0x8051dab in main_loop () at ../../freeciv/server/srv_main.c:1680
#22 0x80527ff in srv_main () at ../../freeciv/server/srv_main.c:1971
#23 0x804a8ac in main (argc=3, argv=0xbffffc94) at 
../../freeciv/server/civserver.c:147
#24 0x400767d6 in __libc_start_main (main=0x804a224 <main>, argc=3, 
ubp_av=0xbffffc94, init=0x80498fc <_init>,
    fini=0x8102150 <_fini>, rtld_fini=0x4000b5f0 <_dl_fini>, 
stack_end=0xbffffc8c) at ../sysdeps/generic/libc-start.c:129

Short after year 1600, latest savegame is at
http://pasky.ji.cz/~pasky/dev/freeciv/PR1266.sav.gz.

-- 

                                Petr "Pasky" Baudis

* elinks maintainer                * IPv6 guy (XS26 co-coordinator)
* IRCnet operator                  * FreeCiv AI hacker
.
No one can feel as helpless as the owner of a sick goldfish.
.
Public PGP key && geekcode && homepage: http://pasky.ji.cz/~pasky/


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