[Freeciv-Dev] Re: (PR#14393) yet another server crash
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: |
[Freeciv-Dev] Re: (PR#14393) yet another server crash |
From: |
"Christian Knoke" <chrisk@xxxxxxxxx> |
Date: |
Thu, 20 Oct 2005 04:52:03 -0700 |
Reply-to: |
bugs@xxxxxxxxxxx |
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=14393 >
On Thu, Oct 20, 2005 at 04:26:47AM -0700, Christian Knoke wrote:
>
> Sortly after PR#14392, the server crashed (at turn done AFAIR). Backtrace
> below. Not reproducible.
>
> Core and binary available.
>
> Christian
>
>
> Core was generated by `civserver -f .freeciv/saves/CampoGrande+1500m.sav.gz'.
> Program terminated with signal 11, Segmentation fault.
> #1 0x0806373a in send_unit_info_to_onlookers (dest=0x83a7b28,
> punit=0x85dce00, ptile=0x65726168,
> remove_unseen=false) at unittools.c:1878
Same game, next year, another situation:
Core was generated by `civserver -f .freeciv/saves/campo2.sav.gz'.
Program terminated with signal 11, Segmentation fault.
#0 0x080633ea in package_unit (punit=0x85f5aa8, packet=0xbfff94c0) at
unittools.c:1734
1734 packet->owner = punit->owner->player_no;
(gdb) bt full
#0 0x080633ea in package_unit (punit=0x85f5aa8, packet=0xbfff94c0) at
unittools.c:1734
No locals.
#1 0x0806373a in send_unit_info_to_onlookers (dest=0x83a7b28, punit=0x85f5aa8,
ptile=0x1, remove_unseen=false)
at unittools.c:1878
info = {id = 10, owner = 0, x = 0, y = 136850216, homecity = 122,
veteran = 1, ai = 24,
paradropped = false, transported = false, done_moving = false, type = 11,
transported_by = 136, movesleft = 1,
hp = 0, fuel = 8, activity_count = 0, unhappiness = 3, upkeep = {20, 0, 0, 0,
0, 0}, occupy = 0,
goto_dest_x = 0, goto_dest_y = 0, activity = ACTIVITY_IDLE, activity_target =
S_SPECIAL_1, has_orders = 24,
orders_length = 11, orders_index = 0, orders_repeat = 13, orders_vigilant =
false, orders = {256, ORDER_MOVE,
ORDER_MOVE, 135921664, ORDER_MOVE, 3221222424, 134625241, 136850216,
139820320, 139259668, ORDER_MOVE,
ORDER_MOVE, ORDER_FULL_MP, 65536, 22, 374, ORDER_BUILD_CITY, 20,
ORDER_MOVE, 262, ORDER_ACTIVITY, 35, 22, 22,
ORDER_ACTIVITY, ORDER_MOVE, 20, 15, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, 147358976, ORDER_MOVE,
ORDER_MOVE, 262, ORDER_ACTIVITY, 35, 22, 283, ORDER_ACTIVITY, 16777216, 22,
ORDER_MOVE, ORDER_MOVE, 20,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, 41, 19, 15, 13, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, 16,
ORDER_MOVE, ORDER_TRADEROUTE, 10, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 255, 255, ORDER_HOMECITY,
13, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_BUILD_CITY, 10, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 255, 255,
ORDER_MOVE, 13, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_ACTIVITY, ORDER_MOVE, 18,
ORDER_MOVE, ORDER_MOVE, 20, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 255, 255, ORDER_MOVE, 13,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_BUILD_CITY, 20, ORDER_MOVE, 111, ORDER_ACTIVITY, 28,
ORDER_LAST, ORDER_ACTIVITY,
ORDER_MOVE, ORDER_MOVE, 10, ORDER_DISBAND, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, 4294967040,
ORDER_MOVE, ORDER_MOVE, 111, ORDER_ACTIVITY, 28, ORDER_LAST, ORDER_MOVE,
ORDER_MOVE, ORDER_ACTIVITY,
ORDER_ACTIVITY, ORDER_MOVE, ORDER_BUILD_CITY, 10, ORDER_MOVE, 40,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE,
ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, ORDER_MOVE, 255, 255,
ORDER_DISBAND, 13, 4294967040,
ORDER_MOVE, ORDER_MOVE, 999948288, ORDER_MOVE, 1000000000, 4294967295,
1000000000, 4294967295, 1000000000,
4294967295, 1000000000, 4294967295, 1000000000, 4294967295, 1000000000,
4294967295, 1000000000, 4294967295,
1000000000...}, orders_dirs = {DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHWEST, 16, 16, 16, 8, 8, 8,
DIR8_NORTHWEST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHWEST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHWEST,
DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHWEST,
DIR8_NORTHWEST, 8, 8, 8, 8, 8, 8, DIR8_NORTHWEST, DIR8_NORTHWEST, 8, 8, 8,
8, 8, DIR8_NORTHWEST, 8, 8, 8,
DIR8_NORTHWEST, 8 <repeats 12 times>, DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHEAST <repeats 17 times>, DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHWEST <repeats 14
times>, 8, 8, 8, 8, 8,
DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHWEST, DIR8_NORTHWEST, 8, 8, 8, 8,
8, 8, 8, 8, 8, 8, DIR8_NORTHWEST <repeats 11 times>, DIR8_NORTHEAST
<repeats 11 times>, DIR8_NORTHWEST,
DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_NORTHWEST,
DIR8_NORTHWEST, DIR8_NORTHEAST, DIR8_NORTHEAST, DIR8_NORTHEAST,
DIR8_NORTHEAST, DIR8_SOUTH, DIR8_EAST,
DIR8_EAST, DIR8_NORTHWEST <repeats 11 times>, 8, 8, 8, 8, 8,
DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST,
DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, DIR8_NORTHWEST, 8, 8, 8, 8,
8, 8, 8, 8, 8,
DIR8_NORTHWEST <repeats 13 times>...}, orders_activities = {ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_FALLOUT <repeats 16 times>,
ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IRRIGATE <repeats 11 times>, ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IRRIGATE <repeats 21 times>,
ACTIVITY_IDLE, ACTIVITY_IRRIGATE,
ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_FALLOUT <repeats 13 times>, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE,
ACTIVITY_IRRIGATE, ACTIVITY_IDLE,
ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE,
ACTIVITY_IRRIGATE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IRRIGATE <repeats 26 times>, ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT,
ACTIVITY_FALLOUT, ACTIVITY_FALLOUT,
ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT,
ACTIVITY_FALLOUT,
ACTIVITY_IDLE <repeats 13 times>, ACTIVITY_IRRIGATE, ACTIVITY_IRRIGATE,
135936024, 3221215056, 3221214984,
134984061, 144971592, 3221215088, ACTIVITY_PILLAGE, ACTIVITY_IDLE,
ACTIVITY_IDLE, ACTIVITY_IDLE, 29,
ACTIVITY_IDLE, 139163032, 139163032, 3221214904, 144971592, 39,
ACTIVITY_IDLE, ACTIVITY_IDLE, 139012728,
139012728, 139163032, 3221214952, 134920631, 21, ACTIVITY_IDLE, 139157656,
3221220044, 139012728, 139163032,
3221214984, 134919920, 139012728, 139163032, 3221214984, 134952125,
3221215056, ACTIVITY_ROAD, ACTIVITY_IDLE,
ACTIVITY_PILLAGE, 3221221244, 3221215056, 3221219224, 135079877, 135934336,
3221215088, ACTIVITY_PILLAGE,
ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT, ACTIVITY_FALLOUT,
3221220112, 32, 3221219300,
139163036, 3221219268, ACTIVITY_IDLE, 144576084, 16777216, 139163032,
3221215088, 4096, ACTIVITY_PILLAGE,
ACTIVITY_ROAD, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE, ACTIVITY_IDLE,
136775936...}}
sinfo = {id = 0, owner = 0, x = 0, y = 0, type = 122, veteran = 1,
occupied = 24,
goes_out_of_sight = false, transported = false, hp = 11, activity = 8,
transported_by = 1, packet_use = 0,
info_city_id = 20, serial_num = 0}
#2 0x0806387f in send_unit_info (dest=0x7, punit=0x85f5aa8) at unittools.c:1908
conn_dest = (struct conn_list *) 0x1
#3 0x080a27a4 in handle_unit_move_request (punit=0x85f5aa8,
pdesttile=0x84c27dc, igzoc=false,
move_diplomat_city=false) at unithand.c:1098
move_cost = 7
pplayer = (struct player *) 0x82840e0
pcity = (struct city *) 0x0
#4 0x08119e02 in ai_unit_attack (punit=0x85f5aa8, ptile=0x84c27dc) at
aitools.c:951
bodyguard = (struct unit *) 0x0
sanity = 122
alive = 220
#5 0x081189bc in ai_unit_execute_path (punit=0x85f5aa8, path=0x855bd18) at
aitools.c:191
ptile = (struct tile *) 0x84c27dc
id = 122
is_ai = true
i = 1
#6 0x0811b906 in ai_military_rampage (punit=0x85f5aa8, thresh_adj=1,
thresh_move=1) at aiunit.c:692
count = 3
path = (struct pf_path *) 0x855bd18
#7 0x0811c678 in ai_military_defend (pplayer=0x82840e0, punit=0x85f5aa8) at
aiunit.c:1033
pcity = (struct city *) 0x85554a0
#8 0x0811e34a in ai_manage_military (pplayer=0x82840e0, punit=0x85f5aa8) at
aiunit.c:1988
id = 122
#9 0x0811e9f1 in ai_manage_unit (pplayer=0x82840e0, punit=0x85f5aa8) at
aiunit.c:2148
bodyguard = (struct unit *) 0x10
#10 0x0811ee06 in ai_manage_units (pplayer=0x82840e0) at aiunit.c:2247
punit = (struct unit *) 0x7
_ids = 0xbffff4ac
_i = 17
_size = 87
#11 0x08112e70 in ai_do_first_activities (pplayer=0x82840e0) at aihand.c:427
No locals.
#12 0x0805047b in ai_start_phase () at srv_main.c:449
pplayer = (struct player *) 0x82840e0
i = 6
#13 0x08050646 in begin_phase (is_new_phase=true) at srv_main.c:570
pplayer = (struct player *) 0x82840e0
i = 7
#14 0x08052432 in main_loop () at srv_main.c:1555
eot_timer = (struct timer *) 0x84b5b50
save_counter = 1
is_new_turn = true
#15 0x080525df in srv_main () at srv_main.c:1685
No locals.
#16 0x0804ab69 in main (argc=135603854, argv=0xbffff7a4) at civserver.c:242
inx = 3
showhelp = false
showvers = false
option = 0x5 <Address 0x5 out of bounds>
(gdb) quit
--
Christian Knoke * * * http://cknoke.de
* * * * * * * * * Ceterum censeo Microsoft esse dividendum.
- [Freeciv-Dev] Re: (PR#14393) yet another server crash,
Christian Knoke <=
|
|