[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freeciv-dev
Subject:    [Freeciv-Dev] (PR#37210) Memory problems in danger pathfinding
From:       "Marko Lindqvist" <cazfi74 () domain ! hid>
Date:       2007-02-28 20:48:50
Message-ID: xed7813ad0702281248y1fd26ebdwbd9cd9a02d44e34f () domain ! hid
[Download RAW message or body]


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

 Valgrind reported a lot of different errors. I try to select good subset here.

Conditional jump or move depends on uninitialised value(s)
==25454==    at 0x81342DB: amphibious_extra_cost (pf_tools.c:453)
==25454==    by 0x813203C: init_node (path_finding.c:256)
==25454==    by 0x813332D: danger_iterate_map (path_finding.c:960)
==25454==    by 0x8133885: pf_next (path_finding.c:347)
==25454==    by 0x8133F91: pf_get_path (path_finding.c:1264)
==25454==    by 0x811C644: ai_amphibious_goto_constrained (aiferry.c:498)
==25454==    by 0x811C8D8: aiferry_goto_amphibious (aiferry.c:568)
==25454==    by 0x811DADE: aiferry_gobyboat (aiferry.c:693)
==25454==    by 0x8127348: ai_gothere (aitools.c:303)
==25454==    by 0x80FFEA7: auto_settler_findwork (settlers.c:987)
==25454==    by 0x80FFC01: auto_settler_findwork (settlers.c:1131)
==25454==    by 0x81007EB: auto_settlers_player (settlers.c:1268)

==25454== Conditional jump or move depends on uninitialised value(s)
==25454==    at 0x8131867: pq_insert (pqueue.c:89)
==25454==    by 0x8133C69: pf_next (path_finding.c:426)
==25454==    by 0x8133F3D: pf_get_path (path_finding.c:739)
==25454==    by 0x8126F2F: ai_unit_goto_constrained (aitools.c:450)
==25454==    by 0x8127065: ai_unit_goto (aitools.c:784)
==25454==    by 0x811BEBE: ai_manage_explorer (aiexplorer.c:298)
==25454==    by 0x811D1D9: ai_manage_ferryboat (aiferry.c:1042)
==25454==    by 0x812DC4C: ai_manage_unit (aiunit.c:2190)
==25454==    by 0x812E22F: ai_manage_units (aiunit.c:2308)
==25454==    by 0x811E901: ai_do_first_activities (aihand.c:425)
==25454==    by 0x80B0715: main_loop (srv_main.c:536)
==25454==    by 0x80B1353: srv_main (srv_main.c:2007)

==25454== Conditional jump or move depends on uninitialised value(s)
==25454==    at 0x8131A30: pq_remove (pqueue.c:126)
==25454==    by 0x8133D9A: pf_next (path_finding.c:435)
==25454==    by 0x8133F3D: pf_get_path (path_finding.c:739)
==25454==    by 0x8126F2F: ai_unit_goto_constrained (aitools.c:450)
==25454==    by 0x8127065: ai_unit_goto (aitools.c:784)
==25454==    by 0x811BEBE: ai_manage_explorer (aiexplorer.c:298)
==25454==    by 0x811D1D9: ai_manage_ferryboat (aiferry.c:1042)
==25454==    by 0x812DC4C: ai_manage_unit (aiunit.c:2190)
==25454==    by 0x812E22F: ai_manage_units (aiunit.c:2308)
==25454==    by 0x811E901: ai_do_first_activities (aihand.c:425)
==25454==    by 0x80B0715: main_loop (srv_main.c:536)
==25454==    by 0x80B1353: srv_main (srv_main.c:2007)

==25454== Conditional jump or move depends on uninitialised value(s)
==25454==    at 0x81318A2: pq_insert (pqueue.c:89)
==25454==    by 0x8133C69: pf_next (path_finding.c:426)
==25454==    by 0x8133F3D: pf_get_path (path_finding.c:739)
==25454==    by 0x8126F2F: ai_unit_goto_constrained (aitools.c:450)
==25454==    by 0x8127065: ai_unit_goto (aitools.c:784)
==25454==    by 0x811D188: ai_manage_ferryboat (aiferry.c:1033)
==25454==    by 0x812DC4C: ai_manage_unit (aiunit.c:2190)
==25454==    by 0x812E22F: ai_manage_units (aiunit.c:2308)
==25454==    by 0x811E901: ai_do_first_activities (aihand.c:425)
==25454==    by 0x80B0715: main_loop (srv_main.c:536)
==25454==    by 0x80B1353: srv_main (srv_main.c:2007)
==25454==    by 0x804AC25: main (civserver.c:262)

==25454== Conditional jump or move depends on uninitialised value(s)
==25454==    at 0x81337BF: danger_iterate_map (path_finding.c:1005)
==25454==    by 0x813324D: danger_iterate_map (path_finding.c:1093)
==25454==    by 0x813324D: danger_iterate_map (path_finding.c:1093)
==25454==    by 0x813324D: danger_iterate_map (path_finding.c:1093)
==25454==    by 0x813324D: danger_iterate_map (path_finding.c:1093)
==25454==    by 0x813324D: danger_iterate_map (path_finding.c:1093)
==25454==    by 0x8133885: pf_next (path_finding.c:347)
==25454==    by 0x8133F91: pf_get_path (path_finding.c:1264)
==25454==    by 0x811C644: ai_amphibious_goto_constrained (aiferry.c:498)
==25454==    by 0x811C8D8: aiferry_goto_amphibious (aiferry.c:568)
==25454==    by 0x811DADE: aiferry_gobyboat (aiferry.c:693)
==25454==    by 0x8127348: ai_gothere (aitools.c:303)



 - ML




[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic