Skip to content

Instantly share code, notes, and snippets.

@cbeck88
Created November 6, 2014 01:26
Show Gist options
  • Select an option

  • Save cbeck88/3043c240cca4e5fef743 to your computer and use it in GitHub Desktop.

Select an option

Save cbeck88/3043c240cca4e5fef743 to your computer and use it in GitHub Desktop.
backtrace to frozen test scenario, from ./wesnoth-debug -t (at current master revision e0c7bc5)
Battle for Wesnoth v1.13.0-dev (e0c7bc5-Clean)
Started on Wed Nov 5 20:24:27 2014
Automatically found a possible data directory at /home/chris/wesnoth-src/.a-a-áÇØßÜ/wesnoth
Data directory: /home/chris/wesnoth-src/.a-a-áÇØßÜ/wesnoth
User configuration directory: /home/chris/.config/wesnoth
User data directory: /home/chris/.local/share/wesnoth/1.13
Cache directory: /home/chris/.cache/wesnoth
[New Thread 0x7fffe5659700 (LWP 7826)]
[Thread 0x7fffe5659700 (LWP 7826) exited]
[New Thread 0x7fffe5659700 (LWP 7827)]
Checking video mode: 1366x718x32...
setting mode to 1366x718x32
^C
Program received signal SIGINT, Interrupt.
__gnu_cxx::__normal_iterator<config**, std::vector<config*, std::allocator<config*> > >::operator++ (this=0x7fffffff8368)
at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_iterator.h:750
750 {
(gdb) bt
#0 __gnu_cxx::__normal_iterator<config**, std::vector<config*, std::allocator<config*> > >::operator++ (this=0x7fffffff8368)
at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_iterator.h:750
#1 0x000000000049b129 in config::child_iterator::operator++ (
this=0x7fffffff8368) at src/config.hpp:129
#2 0x00000000008b06b1 in std::__advance<config::child_iterator, int> (
__i=..., __n=-1360246379)
at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_iterator_base_funcs.h:129
#3 0x00000000008b066b in std::advance<config::child_iterator, int> (__i=...,
__n=-1)
at /usr/bin/../lib/gcc/x86_64-linux-gnu/4.9/../../../../include/c++/4.9/bits/stl_iterator_base_funcs.h:177
#4 0x00000000008ac272 in (anonymous namespace)::variable_as_array_h<(variable_info_3_detail::variable_info_3_type)2>::operator() (this=0x7fffffff83e8,
child=..., key=..., startindex=2, endindex=1) at src/variable_info.cpp:361
#5 0x00000000008ac1db in (anonymous namespace)::replace_range_h::operator() (
this=0x7fffffff8658, child=..., key=..., startindex=2, endindex=2)
at src/variable_info.cpp:395
#6 0x00000000008ac3b6 in (anonymous namespace)::insert_range_h::operator() (
this=0x7fffffff8658, child=..., key=..., startindex=2)
at src/variable_info.cpp:410
---Type <return> to continue, or q <return> to quit---
#7 0x00000000008ac51c in (anonymous namespace)::append_range_h::operator() (
this=0x7fffffff8658, child=..., key=...) at src/variable_info.cpp:423
#8 0x00000000008acba8 in (anonymous namespace)::as_range_visitor_base2<(variable_info_3_detail::variable_info_3_type)1, (anonymous namespace)::append_range_h>::from_named (this=0x7fffffff8660, state=...) at src/variable_info.cpp:308
#9 0x00000000008aa8b5 in (anonymous namespace)::apply_visitor<(anonymous namespace)::as_range_visitor_base<(variable_info_3_detail::variable_info_3_type)1, (anonymous namespace)::append_range_h> > (visitor=..., state=...)
at src/variable_info.cpp:126
#10 0x00000000008b0218 in non_const_variable_info_3<(variable_info_3_detail::variable_info_3_type)1>::append_array (this=0x7fffffff86f0, childs=...)
at src/variable_info.hpp:632
#11 0x0000000000bef727 in game_data::add_variable_cfg (this=0x7fffffffb7f0,
key=..., value=...) at src/game_data.cpp:149
#12 0x00000000010e48ef in get_global_variable (ctx=..., pcfg=...)
at src/persist_var.cpp:76
#13 0x00000000010e410f in verify_and_get_global_variable (pcfg=...)
at src/persist_var.cpp:159
#14 0x0000000001058069 in game_events::wml_func_get_global_variable (pcfg=...)
at src/game_events/action_wml.cpp:765
#15 0x000000000074e3e2 in cfun_wml_action (L=0x4f5d9c0)
at src/scripting/lua.cpp:4279
#16 0x0000000001110656 in luaD_precall (L=0x4f5d9c0, func=0x7bf5460,
---Type <return> to continue, or q <return> to quit---
nresults=0) at src/lua/ldo.cpp:341
#17 0x0000000001123e09 in luaV_execute (L=0x4f5d9c0) at src/lua/lvm.cpp:708
#18 0x0000000001110e6a in luaD_call (L=0x4f5d9c0, func=0x7bf53b0, nResults=0,
allowyield=0) at src/lua/ldo.cpp:424
#19 0x000000000110d2e4 in f_call (L=0x4f5d9c0, ud=0x7fffffff95a0)
at src/lua/lapi.cpp:917
#20 0x000000000110fd40 in luaD_rawrunprotected (L=0x4f5d9c0,
f=0x110d2b0 <f_call(lua_State*, void*)>, ud=0x7fffffff95a0)
at src/lua/ldo.cpp:153
#21 0x0000000001111609 in luaD_pcall (L=0x4f5d9c0,
func=0x110d2b0 <f_call(lua_State*, void*)>, u=0x7fffffff95a0, old_top=32,
ef=16) at src/lua/ldo.cpp:625
#22 0x000000000110d1a1 in lua_pcallk (L=0x4f5d9c0, nargs=1, nresults=0,
errfunc=-3, ctx=0, k=0x0) at src/lua/lapi.cpp:943
#23 0x0000000000763009 in luaW_pcall (L=0x4f5d9c0, nArgs=1, nRets=0,
allow_wml_error=true) at src/scripting/lua_api.cpp:322
#24 0x000000000074e4e3 in LuaKernel::run_wml_action (this=0x4f5b610, cmd=...,
cfg=..., ev=...) at src/scripting/lua.cpp:4317
#25 0x0000000000c13d39 in game_events::handle_event_commands (event_info=...,
cfg=...) at src/game_events/pump.cpp:435
#26 0x0000000000c09c85 in game_events::event_handler::handle_event (
this=0x31cea60, event_info=..., handler_p=...)
at src/game_events/handlers.cpp:479
---Type <return> to continue, or q <return> to quit---
#27 0x0000000000c15d53 in game_events::(anonymous namespace)::process_event (
handler_p=..., ev=...) at src/game_events/pump.cpp:268
#28 0x0000000000c15199 in game_events::pump () at src/game_events/pump.cpp:540
#29 0x0000000000c14142 in game_events::fire (event=..., loc1=..., loc2=...,
data=...) at src/game_events/pump.cpp:461
#30 0x0000000000eaac2d in play_controller::fire_start (this=0x7fffffffb778,
execute=true) at src/play_controller.cpp:443
#31 0x00000000006dd1e9 in playsingle_controller::play_scenario_init (
this=0x7fffffffb778, past_prestart=@0x7fffffffb3e7: true)
at src/playsingle_controller.cpp:382
#32 0x00000000006dfec8 in playsingle_controller::play_scenario (
this=0x7fffffffb778, story=..., skip_replay=false)
at src/playsingle_controller.cpp:473
#33 0x00000000006ca152 in playsingle_scenario (game_config=..., disp=...,
state_of_game=..., story=..., skip_replay=false, end_level=...)
at src/game_initialization/playcampaign.cpp:194
#34 0x00000000006c862a in play_game (disp=..., gamestate=..., game_config=...,
io_type=IO_SERVER, skip_replay=false, network_game=false,
blindfold_replay=false, is_unit_test=false)
at src/game_initialization/playcampaign.cpp:294
#35 0x00000000004fd6ab in game_launcher::play_test (this=0x2053620)
at src/game_launcher.cpp:468
#36 0x0000000000459d2b in do_gameloop (args=...) at src/wesnoth.cpp:641
---Type <return> to continue, or q <return> to quit---
#37 0x0000000000458048 in main (argc=2, argv=0x7fffffffe398)
at src/wesnoth.cpp:914
(gdb)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment