Complete.Org: Mailing Lists: Archives: freeciv-dev: February 2002:
[Freeciv-Dev] citytools.c:1306: package_dumb_city: Assertion `pcity != (
Home

[Freeciv-Dev] citytools.c:1306: package_dumb_city: Assertion `pcity != (

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Cc: bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] citytools.c:1306: package_dumb_city: Assertion `pcity != ((void *)0)' failed (PR#1260)
From: jdorje@xxxxxxxxxxxxxxxxxxxxx
Date: Tue, 12 Feb 2002 01:15:16 -0800 (PST)

This happened during a server autogame.

(gdb) bt
#0  0x400eb8d1 in __kill () from /lib/libc.so.6
#1  0x400eb64d in raise (sig=6) at ../sysdeps/posix/raise.c:27
#2  0x400eccb8 in abort () at ../sysdeps/generic/abort.c:88
#3 0x400e4d71 in __assert_fail (assertion=0x80c5aca "pcity != ((void *)0)",
    file=0x80c598c "citytools.c", line=1306,
    function=0x80c5ab8 "package_dumb_city") at assert.c:74
#4  0x08061330 in package_dumb_city (pplayer=0x8145cc8, x=17, y=35,
    packet=0xbffff080) at citytools.c:1306
#5 0x08061846 in send_city_info_at_tile (pviewer=0x8145cc8, dest=0x814826c,
    pcity=0x0, x=17, y=35) at citytools.c:1504
#6  0x0807284a in really_give_tile_info_from_player_to_player (
    pfrom=0x812d548, pdest=0x8145cc8, x=17, y=35) at maphand.c:1027
#7  0x0807290a in give_tile_info_from_player_to_player (pfrom=0x812d548,
    pdest=0x8145cc8, x=17, y=35) at maphand.c:1050
#8  0x08070f7f in give_map_from_player_to_player (pfrom=0x812d548,
    pdest=0x8145cc8) at maphand.c:236
#9  0x08075f97 in split_player (pplayer=0x812d548) at plrhand.c:1627
#10 0x08076091 in civil_war (pplayer=0x812d548) at plrhand.c:1724
#11 0x08061282 in handle_unit_enter_city (punit=0x82b44f8, pcity=0x8208c70)
    at citytools.c:1276
#12 0x0805c843 in handle_unit_move_consequences (punit=0x82b44f8, src_x=1,
    src_y=38, dest_x=0, dest_y=38) at unittools.c:2792
#13 0x0805cef4 in move_unit (punit=0x82b44f8, dest_x=0, dest_y=38,
    transport_units=1, take_from_land=1, move_cost=3) at unittools.c:3005
#14 0x08055b8f in handle_unit_move_request (punit=0x82b44f8, dest_x=0,
    dest_y=38, igzoc=0, move_diplomat_city=0) at unithand.c:1075
#15 0x080b54cb in ai_military_attack (pplayer=0x8130638, punit=0x82b44f8)
    at aiunit.c:1552
#16 0x080b5c32 in ai_manage_military (pplayer=0x8130638, punit=0x82b44f8)
    at aiunit.c:1786
#17 0x080b60d8 in ai_manage_units (pplayer=0x8130638) at aiunit.c:1943
#18 0x0804cc6b in ai_start_turn () at srv_main.c:366
#19 0x0804ed96 in main_loop () at srv_main.c:1680
#20 0x0804f414 in srv_main () at srv_main.c:1971
#21 0x0804a079 in main (argc=5, argv=0xbffff844) at civserver.c:147
#22 0x400d9306 in __libc_start_main (main=0x8049b60 <main>, argc=5,
    ubp_av=0xbffff844, init=0x804947c <_init>, fini=0x80b7140 <_fini>,
    rtld_fini=0x4000d2dc <_dl_fini>, stack_end=0xbffff83c)
    at ../sysdeps/generic/libc-start.c:129

It does not appear to be reproducable from the savegame.

jason




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