(gdb) bt #0 0x00007ffff7b5a5e4 in ?? () from /usr/lib/x86_64-linux-gnu/libSDL-1.2.so.0 #1 0x0000000000cb0a29 in const_surface_lock::~const_surface_lock (this=0x7fffffff67b0, __in_chrg=<optimized out>) at src/sdl_utils.cpp:52 #2 0x0000000000cb5fd4 in cut_surface (surf=..., r=...) at src/sdl_utils.cpp:1505 #3 0x0000000000d1dbdd in image::crop_modification::operator() (this=0x9cbd680, src=...) at src/image_modifications.cpp:195 #4 0x0000000000d10250 in image::locator::load_image_sub_file (this=0x7fffffff6c60) at src/image.cpp:561 #5 0x0000000000d107dd in image::locator::load_from_disk (this=0x7fffffff6c60) at src/image.cpp:611 #6 0x0000000000d11193 in image::get_image (i_locator=..., type=image::UNSCALED) at src/image.cpp:838 #7 0x0000000000d201e8 in image::(anonymous namespace)::parse_BLIT_mod (args=...) at src/image_modifications.cpp:684 #8 0x0000000000d1d3b4 in image::(anonymous namespace)::decode_modification (encoded_mod=...) at src/image_modifications.cpp:112 #9 0x0000000000d1d7eb in image::modification::decode (encoded_mods=...) at src/image_modifications.cpp:142 #10 0x0000000000d10203 in image::locator::load_image_sub_file (this=0x7fffffff71a0) at src/image.cpp:554 #11 0x0000000000d107dd in image::locator::load_from_disk (this=0x7fffffff71a0) at src/image.cpp:611 #12 0x0000000000d11193 in image::get_image (i_locator=..., type=image::UNSCALED) at src/image.cpp:838 #13 0x00000000005186cf in gui2::timage::calculate_best_size (this=0x9c12eb0) at src/gui/widgets/image.cpp:37 #14 0x000000000055b9ab in gui2::twidget::get_best_size (this=0x9c12f88) at src/gui/widgets/widget.cpp:96 #15 0x0000000000563640 in gui2::twindow::layout_linked_widgets (this=0x9be9c70) at src/gui/widgets/window.cpp:1057 #16 0x0000000000562740 in gui2::twindow::layout (this=0x9be9c70) at src/gui/widgets/window.cpp:931 #17 0x00000000005612f6 in gui2::twindow::draw (this=0x9be9c70) at src/gui/widgets/window.cpp:678 #18 0x0000000000570660 in boost::_mfi::mf0<void, gui2::twindow>::operator() (this=0x7fffffff7e38, p=0x9be9c70) at /usr/include/boost/bind/mem_fn_template.hpp:49 #19 0x000000000056f09e in boost::_bi::list1<boost::_bi::value<gui2::twindow*> >::operator()<boost::_mfi::mf0<void, gui2::twindow>, boost::_bi::list4<gui2::event::tdispatcher&, gui2::event::tevent&, bool&, bool&> > (this=0x7fffffff7e48, f=..., a=...) at /usr/include/boost/bind/bind.hpp:253 #20 0x000000000056dcfe in boost::_bi::bind_t<void, boost::_mfi::mf0<void, gui2::twindow>, boost::_bi::list1<boost::_bi::value<gui2::twindow*> > >::operator()<gui2::event::tdispatcher, gui2::event::tevent, bool, bool> (this=0x7fffffff7e38, a1=..., a2=@0x7fffffff7c9c: gui2::event::DRAW, a3=@0x7fffffff7ddf: false, a4=@0x7fffffff7dde: false) at /usr/include/boost/bind/bind_template.hpp:145 #21 0x000000000056c86f in boost::detail::function::void_function_obj_invoker4<boost::_bi::bind_t<void, boost::_mfi::mf0<void, gui2::twindow>, boost::_bi::list1<boost::_bi::value<gui2::twindow*> > >, void, gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&>::invoke (function_obj_ptr=..., a0=..., a1=gui2::event::DRAW, a2=@0x7fffffff7ddf: false, a3=@0x7fffffff7dde: false) at /usr/include/boost/function/function_template.hpp:153 #22 0x00000000009306ea in boost::function4<void, gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&>::operator() (this=0x7fffffff7e30, a0=..., a1=gui2::event::DRAW, a2=@0x7fffffff7ddf: false, a3=@0x7fffffff7dde: false) at /usr/include/boost/function/function_template.hpp:760 #23 0x000000000092fe89 in gui2::event::ttrigger::operator()(boost::function<void (gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&)>, gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&) (this=0x7fffffff7ed0, functor=..., dispatcher=..., event=gui2::event::DRAW, handled=@0x7fffffff7ddf: false, halt=@0x7fffffff7dde: false) at src/gui/auxiliary/event/dispatcher.cpp:136 #24 0x0000000000932885 in gui2::event::implementation::fire_event<boost::function<void (gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&)>, gui2::event::ttrigger>(gui2::event::tevent, std::vector<std::pair<gui2::twidget*, gui2::event::tevent>, std::allocator<std::pair<gui2::twidget*, gui2::event::tevent> > >&, gui2::twidget*, gui2::twidget*, gui2::event::ttrigger) (event=gui2::event::DRAW, event_chain=..., dispatcher=0x9bea0d0, widget=0x9bea0d0, functor=...) at src/gui/auxiliary/event/dispatcher_private.hpp:478 #25 0x0000000000930e46 in gui2::event::fire_event<boost::function<void (gui2::event::tdispatcher&, gui2::event::tevent, bool&, bool&)>, gui2::event::ttrigger>(gui2::event::tevent, gui2::twidget*, gui2::twidget*, gui2::event::ttrigger) (event=gui2::event::DRAW, dispatcher=0x9bea0d0, widget=0x9bea0d0, functor=...) at src/gui/auxiliary/event/dispatcher_private.hpp:562 #26 0x000000000092f732 in gui2::event::tdispatcher::fire (this=0x9bea140, event=gui2::event::DRAW, target=...) at src/gui/auxiliary/event/dispatcher.cpp:181 #27 0x00000000004e0a92 in gui2::event::thandler::draw (this=0x182a4c0, force=false) at src/gui/auxiliary/event/handler.cpp:489 #28 0x00000000004dfee6 in gui2::event::thandler::handle_event (this=0x182a4c0, event=...) at src/gui/auxiliary/event/handler.cpp:332 #29 0x0000000000d00d53 in events::pump () at src/events.cpp:378 #30 0x0000000000560eba in gui2::twindow::show (this=0x9be9c70, restore=true, auto_close_timeout=0) at src/gui/widgets/window.cpp:619 #31 0x00000000004f0f63 in gui2::tdialog::show (this=0x9b83a40, video=..., auto_close_time=0) at src/gui/dialogs/dialog.cpp:52 #32 0x00000000009b4fa8 in gui2::show_wml_message (left_side=true, video=..., title=..., message=..., portrait=..., mirror=false, has_input=false, input_caption=..., input_text=0x7fffffff8460, maximum_length=256, option_list=..., chosen_option=0x7fffffff845c) at src/gui/dialogs/wml_message.cpp:191 #33 0x00000000009161d4 in message_user_choice::query_user (this=0x7fffffff8870) at src/game_events.cpp:2686 #34 0x000000000063f70b in mp_sync::get_user_choice (name=..., uch=..., side=1, force_sp=true) at src/replay.cpp:1276 #35 0x000000000090b125 in wml_func_message (event_info=..., cfg=...) at src/game_events.cpp:2822 #36 0x000000000066ac4e in cfun_wml_action (L=0x3fc2ae0) at src/scripting/lua.cpp:3935 #37 0x0000000000bfcaf5 in luaD_precall (L=0x3fc2ae0, func=0x5dbeb10, nresults=0) at src/lua/ldo.c:323 ---Type <return> to continue, or q <return> to quit--- #38 0x0000000000c0a95a in luaV_execute (L=0x3fc2ae0, nexeccalls=6) at src/lua/lvm.c:590 #39 0x0000000000bfcdc5 in luaD_call (L=0x3fc2ae0, func=0x5dbe930, nResults=0) at src/lua/ldo.c:381 #40 0x0000000000bf93b7 in f_call (L=0x3fc2ae0, ud=0x7fffffff9350) at src/lua/lapi.c:800 #41 0x0000000000bfbc8d in luaD_rawrunprotected (L=0x3fc2ae0, f=0xbf9382 <f_call(lua_State*, void*)>, ud=0x7fffffff9350) at src/lua/ldo.c:120 #42 0x0000000000bfd1e9 in luaD_pcall (L=0x3fc2ae0, func=0xbf9382 <f_call(lua_State*, void*)>, u=0x7fffffff9350, old_top=32, ef=16) at src/lua/ldo.c:467 #43 0x0000000000bf945f in lua_pcall (L=0x3fc2ae0, nargs=1, nresults=0, errfunc=-3) at src/lua/lapi.c:821 #44 0x0000000000658e45 in luaW_pcall (L=0x3fc2ae0, nArgs=1, nRets=0, allow_wml_error=true) at src/scripting/lua.cpp:457 #45 0x000000000066adea in LuaKernel::run_wml_action (this=0x197e310, cmd=..., cfg=..., ev=...) at src/scripting/lua.cpp:3973 #46 0x000000000090fe22 in game_events::handle_event_commands (event_info=..., cfg=...) at src/game_events.cpp:3149 #47 0x000000000090fd7b in game_events::event_handler::handle_event (this=0x3f7c9b0, event_info=...) at src/game_events.cpp:3144 #48 0x000000000090f506 in process_event (handler=..., ev=...) at src/game_events.cpp:3108 #49 0x0000000000912f39 in game_events::pump () at src/game_events.cpp:3471 #50 0x00000000009120e9 in game_events::fire (event=..., loc1=..., loc2=..., data=...) at src/game_events.cpp:3379 #51 0x0000000000acfab7 in play_controller::execute_command (this=0x7fffffffb8e0, command=hotkey::HOTKEY_NULL, index=0) at src/play_controller.cpp:788 #52 0x0000000000d0acfd in hotkey::execute_command (disp=..., command=hotkey::HOTKEY_NULL, executor=0x7fffffffb8e0, index=0) at src/hotkeys.cpp:1159 #53 0x0000000000d0ba84 in hotkey::command_executor::show_menu (this=0x7fffffffb8e0, items_arg=..., xloc=1584, yloc=173, context_menu=true, gui=...) at src/hotkeys.cpp:1267 #54 0x0000000000ad27f7 in play_controller::show_menu (this=0x7fffffffb8e0, items_arg=..., xloc=1584, yloc=173, context_menu=true) at src/play_controller.cpp:1212 #55 0x00000000008adc6a in controller_base::handle_event (this=0x7fffffffb8e0, event=...) at src/controller_base.cpp:95 #56 0x0000000000d00d53 in events::pump () at src/events.cpp:378 #57 0x00000000008ae47a in controller_base::play_slice (this=0x7fffffffb8e0, is_delay_enabled=true) at src/controller_base.cpp:198 #58 0x0000000000627cbf in playsingle_controller::play_human_turn (this=0x7fffffffb8e0) at src/playsingle_controller.cpp:714 #59 0x00000000006275b6 in playsingle_controller::play_side (this=0x7fffffffb8e0, side_number=1, save=false) at src/playsingle_controller.cpp:642 #60 0x0000000000627197 in playsingle_controller::play_turn (this=0x7fffffffb8e0, save=false) at src/playsingle_controller.cpp:592 #61 0x0000000000625a07 in playsingle_controller::play_scenario (this=0x7fffffffb8e0, story=..., skip_replay=false) at src/playsingle_controller.cpp:392 #62 0x0000000000617a3b in playsingle_scenario (game_config=..., level=0x16bd028, disp=..., state_of_game=..., story=..., skip_replay=false, end_level=...) at src/playcampaign.cpp:131 #63 0x000000000061a4c7 in play_game (disp=..., gamestate=..., game_config=..., io_type=IO_NONE, skip_replay=false) at src/playcampaign.cpp:366 #64 0x000000000048ad20 in game_controller::launch_game (this=0x16bcdc0, reload=game_controller_abstract::NO_RELOAD_DATA) at src/game_controller.cpp:1270 #65 0x0000000000422475 in do_gameloop (argc=1, argv=0x7fffffffe178) at src/game.cpp:578 #66 0x0000000000422976 in main (argc=1, argv=0x7fffffffe178) at src/game.cpp:642
Comments
0 B
|👍
/👎
0 B
|👍
/👎