<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39634 >

 Server crash in S2_1 using magic ruleset. Cannot reproduce.

 Program received signal SIGSEGV, Segmentation fault.
unit_owner (punit=0xffffffff0125a001) at ../../src.patched/common/unit.c:1100
1100    {
(gdb) bt full
#0  unit_owner (punit=0xffffffff0125a001) at
../../src.patched/common/unit.c:1100
No locals.
#1  0x000000000043803b in maybe_make_contact (ptile=0xa14318, pplayer=0x86b368)
    at ../../src.patched/server/plrhand.c:1215
        myiter = (struct genlist_link *) 0xacfaa0
        pcity = <value optimized out>
        tile1 = <value optimized out>
        _y_itr = 20
        _max_dist = <value optimized out>
        _x_itr = 18
        dummy_y = <value optimized out>
        _index = 7
#2  0x000000000041a9cf in move_unit (punit=0xbb37e0,
pdesttile=0xa14318, move_cost=3)
    at ../../src.patched/server/unittools.c:2890
        tile1 = (struct tile *) 0xa17f18
        _y_itr = 22
        _max_dist = <value optimized out>
        _x_itr = 17
        dummy_y = <value optimized out>
        _index = 9
        pplayer = (struct player *) 0x86b368
        psrctile = (struct tile *) 0xa160a0
        pcity = <value optimized out>
        ptransporter = <value optimized out>
        old_vision = (struct vision *) 0xacfab0
#3  0x000000000045b5e3 in handle_unit_move_request (punit=0xbb37e0,
pdesttile=0xa14318, igzoc=false,
    move_diplomat_city=<value optimized out>) at
../../src.patched/server/unithand.c:1162
        move_cost = 0
        pplayer = <value optimized out>
        pcity = <value optimized out>
        __PRETTY_FUNCTION__ = "handle_unit_move_request"
#4  0x00000000004cbab4 in ai_unit_attack (punit=0xbb37e0, ptile=0xa14318)
    at ../../src.patched/ai/aitools.c:957
        bodyguard = (struct unit *) 0x0
        sanity = 397
        __PRETTY_FUNCTION__ = "ai_unit_attack"
#5  0x00000000004cbc7a in ai_unit_execute_path (punit=0xbb37e0, path=0x122a870)
    at ../../src.patched/ai/aitools.c:192
        ptile = (struct tile *) 0xa14318
        id = 397
        is_ai = true
        i = 1
#6  0x00000000004cc894 in ai_follow_path (punit=0xbb37e0,
path=0x122a870, ptile=<value optimized out>)
    at ../../src.patched/ai/aitools.c:386
        old_tile = (struct tile *) 0xa14318
        activity = ACTIVITY_IDLE
        alive = <value optimized out>
#7  0x00000000004ccb7f in ai_unit_goto_constrained (punit=0xbb37e0,
ptile=0xa14318,
    parameter=0x7fffb5cc0ca0) at ../../src.patched/ai/aitools.c:460
        alive = <value optimized out>
        map = (struct pf_map *) 0x127c900
        path = (struct pf_path *) 0x122a870
#8  0x00000000004ccc87 in ai_unit_goto (punit=0xbb37e0, ptile=0xa14318)
    at ../../src.patched/ai/aitools.c:791
        parameter = {start_tile = 0xa160a0, moves_left_initially = 9,
fuel_left_initially = 1,
  move_rate = 9, fuel = 1, owner = 0x86b368, unit_flags = {vec =
"\000\000\004\000\000\000\000"},
  omniscience = true, turn_mode = TM_WORST_TIME, get_MC = 0x4d80f0
<sea_overlap_move>, unknown_MC = 6,
  get_TB = 0x4d84b0 <no_fights>, get_EC = 0x4cc610
<prefer_short_stacks>, get_zoc = 0,
  is_pos_dangerous = 0x4d89e0 <trireme_is_pos_dangerous>, get_costs =
0, data = 0x7fffb5cc0d10}
        risk_cost = {base_value = 40, fearfulness =
606.81481481481478, ocean_cost = 20,
  unsafe_terrain_cost = 6, enemy_zoc_cost = 1310720}
#9  0x00000000004c2079 in ai_manage_explorer (punit=0xbb37e0) at
../../src.patched/ai/aiexplorer.c:345
        _y_itr = 21
        _dx = 1
        ptile1 = (struct tile *) 0x12
        _x_itr = 18
        _dy = 1
        _index = 9
        _sq_radius = 1
        desirable = 14940
        log_desirable = <value optimized out>
        pos = {tile = 0xa14318, turn = 0, moves_left = 6, fuel_left =
1, total_MC = 3, total_EC = 0,
  dir_to_next_pos = 4294967295, dir_to_here = DIR8_NORTHEAST}
        pplayer = (struct player *) 0x86b368
        init_moves = 9
        log_most_desirable = 9.6117974586868087
        max_dist = 7
        best_tile = (struct tile *) 0xa14318
        best_MC = <value optimized out>
        map = (struct pf_map *) 0x127c900
        parameter = {start_tile = 0xa160a0, moves_left_initially = 9,
fuel_left_initially = 1,
  move_rate = 9, fuel = 1, owner = 0x86b368, unit_flags = {vec =
"\000\000\004\000\000\000\000"},
  omniscience = false, turn_mode = TM_WORST_TIME, get_MC = 0x4d8410
<seamove>, unknown_MC = 6,
  get_TB = 0x4d8500 <no_fights_or_unknown>, get_EC = 0, get_zoc = 0,
  is_pos_dangerous = 0x4d89e0 <trireme_is_pos_dangerous>, get_costs =
0, data = 0x2b8cf5a2f980}
        logDF = -0.51082562376599072
        logBPS = 11.71015205448437
        __PRETTY_FUNCTION__ = "ai_manage_explorer"
#10 0x00000000004c2a6c in ai_manage_ferryboat (pplayer=0x86b368, punit=0xbb37e0)
    at ../../src.patched/ai/aiferry.c:1010
        cargo = <value optimized out>
        pcity = <value optimized out>
        sanity = 397
        __PRETTY_FUNCTION__ = "ai_manage_ferryboat"
#11 0x00000000004d22a2 in ai_manage_unit (pplayer=0x86b368, punit=0xbb37e0)
    at ../../src.patched/ai/aiunit.c:2183
        _x_itr = <value optimized out>
        _y_itr = <value optimized out>
        dummy_y = <value optimized out>
        _index = <value optimized out>
        last_tile = <value optimized out>
        bodyguard = (struct unit *) 0x0
        __PRETTY_FUNCTION__ = "ai_manage_unit"
#12 0x00000000004d2fb2 in ai_manage_units (pplayer=0x86b368) at
../../src.patched/ai/aiunit.c:2301
        punit = (struct unit *) 0x0
        _size = 11
#13 0x00000000004c4579 in ai_do_first_activities (pplayer=0x86b368) at
../../src.patched/ai/aihand.c:425
No locals.
#14 0x000000000040b609 in main_loop () at
../../src.patched/server/srv_main.c:542
        pplayer = <value optimized out>
        i = <value optimized out>
        eot_timer = (struct timer *) 0xb7d220
        save_counter = 49
        is_new_turn = <value optimized out>
        __PRETTY_FUNCTION__ = "main_loop"
#15 0x000000000040c4c2 in srv_main () at
../../src.patched/server/srv_main.c:2020
No locals.
#16 0x000000000040387a in main (argc=5, argv=0x7fffb5cc1378) at
../../src.patched/server/civserver.c:256
        inx = 5
        showhelp = false
        showvers = false
        option = <value optimized out>


 - ML



_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to