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

                 Summary: pf_normal_map_move_cost crash
                 Project: Freeciv
            Submitted by: cazfi
            Submitted on: Sun 22 Jun 2014 01:17:30 AM EEST
                Category: general
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 
         Discussion Lock: Any
        Operating System: None
         Planned Release: 2.6.0

    _______________________________________________________

Details:

Though bug #22217 / bug #22224 has been fixed, autogames still crash.
Backtrace is a bit different from bug #22224 so opening new ticket instead of
reopening old bug.

Program received signal SIGSEGV, Segmentation fault.
pf_normal_map_move_cost (pfm=0x24b8450, ptile=0x0)
    at common/aicore/path_finding.c:722
722       } else if (pf_normal_map_iterate_until(pfnm, ptile)) {
(gdb) bt
#0  pf_normal_map_move_cost (pfm=0x24b8450, ptile=0x0)
    at common/aicore/path_finding.c:722
#1  0x000000000052b323 in find_nearest_safe_city (punit=0x1ae2fb0)
    at ai/default/aiunit.c:1560
#2  0x000000000052bac8 in dai_military_attack (ait=0x9ba1c0 <ai_types>,
pplayer=0x0, 
    punit=0x1ae2fb0) at ai/default/aiunit.c:1765
#3  0x000000000052d082 in dai_manage_military (ait=0x9ba1c0 <ai_types>,
pplayer=0x2796850, 
    punit=0x1ae2fb0) at ai/default/aiunit.c:2348
#4  0x000000000052eb4e in dai_manage_unit (ait=0x9ba1c0 <ai_types>,
pplayer=0x2796850, 
    punit=0x1ae2fb0) at ai/default/aiunit.c:2546
#5  0x00000000005312ae in dai_manage_units (ait=ait@entry=0x9ba1c0 <ai_types>,

    pplayer=pplayer@entry=0x2796850) at ai/default/aiunit.c:2677
#6  0x0000000000518177 in dai_do_first_activities (ait=0x9ba1c0 <ai_types>, 
    pplayer=pplayer@entry=0x2796850) at ai/default/aihand.c:736
#7  0x00000000004e3993 in cai_do_first_activities (pplayer=0x2796850)
    at ai/classic/classicai.c:389
#8  0x0000000000435d4f in ai_start_phase () at
../../../src.patched/server/srv_main.c:816
#9  begin_phase (is_new_phase=true) at server/srv_main.c:979
#10 0x000000000043a1e4 in srv_running () at server/srv_main.c:2369
#11 srv_main () at server/srv_main.c:2903
#12 0x0000000000432559 in main (argc=6, argv=0x7fffffffe2d8)
    at server/civserver.c:452





    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


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

Reply via email to