Follow-up Comment #2, bug #13256 (project wesnoth):
an example backtrace (the bug triggers not every time, but it is possible to
reproduce by moving a unit and move it to (10,10). then it is killed by WML
event, and then the bug may trigger
====
Program received signal SIGABRT, Aborted.
0xb7f85424 in __kernel_vsyscall ()
(gdb) bt
#0 0xb7f85424 in __kernel_vsyscall ()
#1 0xb786e640 in raise () from /lib/i686/cmov/libc.so.6
#2 0xb7870018 in abort () from /lib/i686/cmov/libc.so.6
#3 0xb78675be in __assert_fail () from /lib/i686/cmov/libc.so.6
#4 0x08463a6f in apply_shroud_changes (und...@0xbfa9e0bc, disp=0xb6bfd20,
m...@0xbfa9dfac, uni...@0xbfa9e084, tea...@0xbfa9df70, team=0)
at src/actions.cpp:2588
#5 0x0846af2d in move_unit (disp=0xb6bfd20, m...@0xbfa9dfac,
uni...@0xbfa9e084, tea...@0xbfa9df70, route=
{<std::_Vector_base<map_location, std::allocator<map_location> >> =
{_M_impl = {<std::allocator<map_location>> =
{<__gnu_cxx::new_allocator<map_location>> = {<No data fields>}, <No data
fields>}, _M_start = 0xbfa9cfc8, _M_finish = 0x8979920, _M_end_of_storage =
0xbfa9e0bc}}, <No data fields>},
move_recorder=0x8979920, undo_stack=0xbfa9e0bc, next_unit=0xbfa9deac,
continue_move=false, should_clear_shroud=true, is_replay=false)
at src/actions.cpp:2419
#6 0x085623a0 in events::mouse_handler::move_unit_along_current_route (
this=0xbfa9de50, check_shroud=true, attackmove=false)
at src/mouse_events.cpp:506
#7 0x08564703 in events::mouse_handler::left_click (this=0xbfa9de50, x=334,
y=444, browse=false) at src/mouse_events.cpp:420
#8 0x081b1330 in events::mouse_handler_base::mouse_press (this=0xbfa9de50,
eve...@0xa1796c0, browse=false) at src/mouse_handler_base.cpp:134
---Type <return> to continue, or q <return> to quit---
#9 0x08561776 in events::mouse_handler::mouse_press (this=0xbfa9de50,
eve...@0xa1796c0, browse=false) at src/mouse_events.cpp:332
#10 0x084ca1f5 in controller_base::handle_event (this=0xbfa9de10,
eve...@0xa1796c0) at src/controller_base.cpp:79
#11 0x086cf765 in events::pump () at src/events.cpp:382
#12 0x084c9e4b in controller_base::play_slice (this=0xbfa9de10)
at src/controller_base.cpp:185
#13 0x082125dc in playsingle_controller::play_human_turn (this=0xbfa9de10)
at src/playsingle_controller.cpp:710
#14 0x082128dd in playsingle_controller::play_side (this=0xbfa9de10,
team_index=1, save=false) at src/playsingle_controller.cpp:611
#15 0x08213497 in playsingle_controller::play_turn (this=0xbfa9de10,
save=false) at src/playsingle_controller.cpp:565
#16 0x082159eb in playsingle_controller::play_scenario (this=0xbfa9de10,
sto...@0xbfa9e69c, l...@0xbfa9ef24, skip_replay=false,
end_level_result=0xab3f7b0) at src/playsingle_controller.cpp:316
#17 0x08202954 in playsingle_scenario (game_conf...@0xbfa9f078,
level=0xbfa9f1cc, di...@0xa1871a0, state_of_ga...@0xbfa9f0d4,
sto...@0xbfa9e69c, l...@0xbfa9ef24, skip_replay=false,
end_level=0xab3f7b0)
at src/playcampaign.cpp:132
#18 0x08206c34 in play_game (di...@0xa1871a0, gamesta...@0xbfa9f0d4,
game_conf...@0xbfa9f078, l...@0xbfa9ef24, io_type=IO_NONE,
skip_replay=false) at src/playcampaign.cpp:367
---Type <return> to continue, or q <return> to quit---
#19 0x0805cdd7 in launch_game (this=0xbfa9f02c,
reload=(anonymous namespace)::game_controller::NO_RELOAD_DATA)
at src/game.cpp:1635
#20 0x0806b244 in do_gameloop (argc=4, argv=0xbfa9f4e4) at src/game.cpp:2154
#21 0x0806b72a in main (argc=4, argv=0xbfa9f4e4) at src/game.cpp:2210
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?13256>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs