Closed wzdev-ci closed 14 years ago
Per edited the issue description
Per commented
Infinite loop while copying something in another game:
(gdb) bt
#0 0x00000039656841dc in _wordcopy_fwd_aligned () from /lib64/libc.so.6
#1 0x00000039656828d2 in memmove () from /lib64/libc.so.6
#2 0x0000000000485649 in __copy_m<Vector2i> (__first=<value optimized out>, __last=<value optimized out>, __result=0x7ffee9ff9010)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_algobase.h:378
#3 std::__copy_move_a<false, Vector2i*, Vector2i*> (__first=<value optimized out>, __last=<value optimized out>, __result=0x7ffee9ff9010)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_algobase.h:397
#4 0x0000000000483ee6 in __copy_move_a2<false, Vector2i*, Vector2i*> (__position=..., __x=<value optimized out>, this=0x96e400)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_algobase.h:436
#5 copy<Vector2i*, Vector2i*> (__position=..., __x=<value optimized out>, this=0x96e400)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_algobase.h:468
#6 uninitialized_copy<Vector2i*, Vector2i*> (__position=..., __x=<value optimized out>, this=0x96e400)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_uninitialized.h:93
#7 uninitialized_copy<Vector2i*, Vector2i*> (__position=..., __x=<value optimized out>, this=0x96e400)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_uninitialized.h:117
#8 __uninitialized_copy_a<Vector2i*, Vector2i*, Vector2i> (__position=..., __x=<value optimized out>, this=0x96e400)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_uninitialized.h:257
#9 __uninitialized_move_a<Vector2i*, Vector2i*, std::allocator<Vector2i> > (__position=..., __x=<value optimized out>, this=0x96e400)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_uninitialized.h:267
#10 std::vector<Vector2i, std::allocator<Vector2i> >::_M_insert_aux (__position=..., __x=<value optimized out>, this=0x96e400)
at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/vector.tcc:338
#11 0x0000000000484dcd in push_back (psMove=0x7fffefa01d48, psJob=0x7fffefa01dc0) at /usr/lib/gcc/x86_64-redhat-linux/4.4.4/../../../../include/c++/4.4.4/bits/stl_vector.h:741
#12 fpathAStarRoute (psMove=0x7fffefa01d48, psJob=0x7fffefa01dc0) at astar.cpp:394
#13 0x00000000004cc5c0 in fpathExecute (psJob=0x7fffefa01dc0, psResult=0x7fffefa01d40) at fpath.c:623
#14 0x00000000004cb48f in fpathThreadFunc (data=0x0) at fpath.c:180
Cyp cyp@... commented
(In https://github.com/Warzone2100/warzone2100/commit/0dc1a58cd1f42a1a9140cbe2b1bc6229d18ed9b0) Fix infinite loop in pathfinding to nearest point when destination is not reachable.
Hopefully closes #1983.
cypr changed status from new
to closed
cypr set resolution to fixed
cypr commented
(In [11173]) Fix infinite loop in pathfinding to nearest point when destination is not reachable.
Hopefully closes #1983.
From: Cyp cyp@example.com
Cyp cyp@... commented
In https://github.com/Warzone2100/warzone2100/commit/0dc1a58cd1f42a1a9140cbe2b1bc6229d18ed9b0:
#CommitTicketReference repository="" revision="0dc1a58cd1f42a1a9140cbe2b1bc6229d18ed9b0"
Fix infinite loop in pathfinding to nearest point when destination is not reachable.
Hopefully closes #1983.
Cyp cyp@... commented
In https://github.com/Warzone2100/warzone2100/commit/0dc1a58cd1f42a1a9140cbe2b1bc6229d18ed9b0:
#CommitTicketReference repository="" revision="0dc1a58cd1f42a1a9140cbe2b1bc6229d18ed9b0"
Fix infinite loop in pathfinding to nearest point when destination is not reachable.
Hopefully closes #1983.
cybersphinx changed milestone from 3.0
to unspecified
cybersphinx commented
Milestone 3.0 deleted
resolution_fixed
type_bug
| by PerIssue migrated from trac:1983 at 2022-04-15 22:06:27 -0700