URL:
  <http://gna.org/bugs/?16657>

                 Summary: Server segfault in pf_fuel_map_get_path()
                 Project: Freeciv
            Submitted by: pepeto
            Submitted on: mardi 07.09.2010 à 12:46
                Category: general
                Severity: 4 - Important
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: S2_2
         Discussion Lock: Any
        Operating System: None
         Planned Release: 

    _______________________________________________________

Details:

Back trace:

#0  tile_index (ptile=0x0) at tile.c:34
No locals.
#1  0x000000000051b083 in pf_fuel_map_get_path (pfm=0xbed2a0, ptile=0x0)
    at path_finding.c:2385
        node = <value optimised out>
#2  0x000000000042c13e in immediate_destination (punit=0x12c9c80, 
    dest_tile=0xb61190) at aitools.c:384
        parameter = {start_tile = 0xb65a50, moves_left_initially = 36, 
          fuel_left_initially = 1, move_rate = 36, fuel = 1, owner =
0x8e2c40, 
          uclass = 0x8d92e0, unit_flags = {vec = " \002\000\000 \000\000"}, 
          omniscience = true, turn_mode = TM_WORST_TIME, 
          get_MC = 0x51ef40 <airmove>, unknown_MC = 3, get_TB = 0, get_EC =
0, 
          can_invade_tile = 0x4fb800 <player_can_invade_tile>, get_zoc = 0, 
          is_pos_dangerous = 0, 
          get_moves_left_req = 0x51e720 <get_fuel_moves_left_req>, 
          get_costs = 0, data = 0x7fffffffd770}
        pfm = <value optimised out>
        path = <value optimised out>
        i = <value optimised out>
#3  0x000000000042c2ab in ai_unit_goto_constrained (punit=0x12c9c80, 
    ptile=0xb61190, parameter=0x7fffffffd770) at aitools.c:482
        alive = <value optimised out>
        pfm = <value optimised out>
        path = <value optimised out>
#4  0x000000000042c47b in ai_unit_goto (punit=0x12c9c80, ptile=0xb61190)
    at aitools.c:834
        parameter = {start_tile = 0xb65a50, moves_left_initially = 36, 
          fuel_left_initially = 1, move_rate = 36, fuel = 1, owner =
0x8e2c40, 
          uclass = 0x8d92e0, unit_flags = {vec = " \002\000\000 \000\000"}, 
          omniscience = true, turn_mode = TM_WORST_TIME, 
          get_MC = 0x51ef40 <airmove>, unknown_MC = 3, get_TB = 0, get_EC =
0, 
          can_invade_tile = 0x4fb800 <player_can_invade_tile>, get_zoc = 0, 
          is_pos_dangerous = 0, 
          get_moves_left_req = 0x51e720 <get_fuel_moves_left_req>, 
          get_costs = 0, data = 0x1357b30}
        risk_cost = {base_value = 1.2351641146031164e-322, 
          fearfulness = 2.6132006504736669e-317, 
          enemy_zoc_cost = 6.1786663911356274e-317}
#5  0x0000000000496cdd in ai_hunter_try_launch (pplayer=0x8e2c40, 
    punit=<value optimised out>, target=<value optimised out>) at
aihunt.c:333
        sucker = <value optimised out>
        myiter = <value optimised out>
        missile = 0x12c9c80
        target_sanity = 4124
        parameter = {start_tile = 0xb65a50, moves_left_initially = 18, 
          fuel_left_initially = 1, move_rate = 18, fuel = 1, owner =
0x8e2c40, 
          uclass = 0x8d9380, unit_flags = {vec = "\000\020 \000\b\000\000"},

          omniscience = true, turn_mode = TM_CAPPED, 
          get_MC = 0x51f000 <seamove_no_bombard>, unknown_MC = 6, get_TB = 0,

          get_EC = 0, can_invade_tile = 0x4fb800 <player_can_invade_tile>, 
          get_zoc = 0, is_pos_dangerous = 0, get_moves_left_req = 0, 
          get_costs = 0, data = 0xb2fe90}
        pfm = 0xbed2a0
#6  0x000000000049750b in ai_hunter_manage (pplayer=<value optimised out>, 
    punit=<value optimised out>) at aihunt.c:502
        dist1 = 15
        stackcost = 119
        aplayer = <value optimised out>
        dist2 = 15
        stackthreat = 143
        sanity_target = 4124
        path = <value optimised out>
        target = 0xb2fe90
        target_index = <value optimised out>
        target_size = <value optimised out>
        ptile = 0xb65ff0
        move_cost = <value optimised out>
        is_virtual = false
        parameter = {start_tile = 0xb65a50, moves_left_initially = 18, 
          fuel_left_initially = 1, move_rate = 18, fuel = 1, owner =
0x8e2c40, 
          uclass = 0x8d9380, unit_flags = {vec = "\000\020 \000\b\000\000"},

          omniscience = true, turn_mode = TM_CAPPED, 
          get_MC = 0x51f000 <seamove_no_bombard>, unknown_MC = 6, get_TB = 0,

          get_EC = 0, can_invade_tile = 0x4fb800 <player_can_invade_tile>, 
          get_zoc = 0, is_pos_dangerous = 0, get_moves_left_req = 0, 
          get_costs = 0, data = 0x0}
        pfm = 0x13f0250
        original_target = 0xb2fe90
        original_threat = 6600
        original_cost = 120
        __PRETTY_FUNCTION__ = "ai_hunter_manage"
#7  0x000000000043132b in ai_manage_military (pplayer=0x8e2c40, 
    punit=0x13c7aa0) at aiunit.c:2054
        result = <value optimised out>
        sanity = 3508
        id = 3508
        __PRETTY_FUNCTION__ = "ai_manage_military"
#8  0x0000000000433277 in ai_manage_unit (pplayer=0x8e2c40, punit=0x13c7aa0)
    at aiunit.c:2275
        bodyguard = <value optimised out>
        is_ferry = false
        __PRETTY_FUNCTION__ = "ai_manage_unit"
#9  0x0000000000433a19 in ai_manage_units (pplayer=<value optimised out>)
    at aiunit.c:2381
        punit = 0x51b040
        punit_index = 51
        punit_size = 225
#10 0x0000000000423dd9 in ai_do_first_activities (pplayer=0x8e2c40)
    at aihand.c:436
No locals.
#11 0x000000000040a08f in ai_start_phase (is_new_phase=true) at
srv_main.c:656
        MY_i = 5
        pplayer = 0x8e2c40
#12 begin_phase (is_new_phase=true) at srv_main.c:809
No locals.
#13 0x000000000040a781 in srv_running () at srv_main.c:2021
        eot_timer = 0xae30f0
        save_counter = 1
        is_new_turn = false
        need_send_pending_events = false
        __PRETTY_FUNCTION__ = "srv_running"
#14 0x000000000040bd2f in srv_main () at srv_main.c:2437
No locals.
#15 0x0000000000403905 in main (argc=<value optimised out>, 
    argv=0x7fffffffe308) at civserver.c:359
        inx = 5
        showhelp = false
        showvers = false
        option = 0x9080d0 ""






    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?16657>

_______________________________________________
  Message posté via/par Gna!
  http://gna.org/


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

Reply via email to