Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] (PR#10386) Civserver segfaults on consider_settler_action(
Home

[Freeciv-Dev] (PR#10386) Civserver segfaults on consider_settler_action(

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] (PR#10386) Civserver segfaults on consider_settler_action()
From: "Egor Vyscrebentsov via RT" <evyscr@xxxxxxxxx>
Date: Wed, 29 Sep 2004 10:54:56 -0700
Reply-to: RT_CorrespondAddressNotSet@xxxxxxxxxxxxxx

<URL: http://RT::WebBaseURL.not.configured:80/Ticket/Display.html?id=10386 >

CVS 2004-09-29 21:07 +0400, Xaw client.

Civserver segfaults in both saved and new games.
Reproduced often. For this backtrace it was end of second turn of new game.

#0  0x08091b4a in consider_settler_action (pplayer=0x8250d8c,
act=ACTIVITY_IRRIGATE, extra=-1, 
    new_tile_value=3468, old_tile_value=42, in_use=32, delay=6,
best_value=0xbffff700, 
    best_old_tile_value=0xbffff704, best_act=0xd8c,
best_tile=0xbffff758, ptile=0x3d16c8)
    at /home/freeciv/freeciv-devel/server/settlers.c:850
850         freelog(LOG_DEBUG,

(gdb) bt
#0  0x08091b4a in consider_settler_action (pplayer=0x8250d8c,
act=ACTIVITY_IRRIGATE, extra=-1, 
    new_tile_value=3468, old_tile_value=42, in_use=32, delay=6,
best_value=0xbffff700, 
    best_old_tile_value=0xbffff704, best_act=0xd8c,
best_tile=0xbffff758, ptile=0x3d16c8)
    at /home/freeciv/freeciv-devel/server/settlers.c:850
#1  0x08092060 in evaluate_improvements (punit=0x84c0470,
best_act=0xbffff754, best_tile=0xbffff758)
    at /home/freeciv/freeciv-devel/server/settlers.c:961
#2  0x08093556 in contemplate_terrain_improvements (pcity=0x84b7568)
    at /home/freeciv/freeciv-devel/server/settlers.c:1522
#3  0x08104ad0 in ai_manage_cities (pplayer=0x8250d8c) at
/home/freeciv/freeciv-devel/ai/aicity.c:974
#4  0x080f6e10 in ai_do_last_activities (pplayer=0x8250d8c) at
/home/freeciv/freeciv-devel/ai/aihand.c:384
#5  0x0804ec79 in end_phase () at
/home/freeciv/freeciv-devel/server/srv_main.c:581
#6  0x0805072c in main_loop () at
/home/freeciv/freeciv-devel/server/srv_main.c:1549
#7  0x080508d2 in srv_main () at
/home/freeciv/freeciv-devel/server/srv_main.c:1626
#8  0x0804a444 in main (argc=1, argv=0xbffff8a4) at
/home/freeciv/freeciv-devel/server/civserver.c:170
#9  0x001ad682 in __libc_start_main () from /lib/libc.so.6
(gdb)


Thanks, evyscr.


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