URL:
<http://gna.org/bugs/?18684>
Summary: [modify_side] can cause a crash
Project: Battle for Wesnoth
Submitted by: alarantalara
Submitted on: Sat 17 Sep 2011 09:21:54 PM EDT
Category: Bug
Severity: 5 - Blocker
Priority: 5 - Normal
Item Group: None of the others
Status: None
Privacy: Public
Assigned to: thonsew
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: r51221
Operating System: OS X
_______________________________________________________
Details:
In the scenario "A subterranean struggle" in the Under the Buring Suns
campaign, choosing to aid the dwarves/trolls causes Wesnoth to crash as the
team side changes.
Stack trace:
#0 0x9a255c5a in __kill
#1 0x9a255c4c in kill$UNIX2003
#2 0x9a2e85a5 in raise
#3 0x9a2fe6e4 in abort
#4 0x9a2eb20f in __assert_rtn
#5 0x0000a680 in shared_object<t_string_base, shared_node<t_string_base>
>::get at shared_object.hpp:79
#6 0x000d527f in t_string::get at tstring.hpp:201
#7 0x00651c73 in t_string::empty at tstring.hpp:186
#8 0x00494439 in wml_func_modify_side at game_events.cpp:1013
#9 0x007940b8 in cfun_wml_action at lua.cpp:3827
#10 0x009feac6 in luaD_precall at ldo.c:323
#11 0x00a174a9 in luaV_execute at lvm.c:590
#12 0x009fec87 in luaD_call at ldo.c:381
#13 0x009f29c6 in f_call at lapi.c:800
#14 0x009fe265 in luaD_rawrunprotected at ldo.c:120
#15 0x009fe391 in luaD_pcall at ldo.c:467
#16 0x009f27a9 in lua_pcall at lapi.c:821
#17 0x0079150d in luaW_pcall at lua.cpp:459
#18 0x00791f95 in LuaKernel::run_wml_action at lua.cpp:3865
#19 0x0046d9e0 in game_events::handle_event_commands at game_events.cpp:3401
#20 0x0049e4e5 in wml_func_message at game_events.cpp:3050
#21 0x007940b8 in cfun_wml_action at lua.cpp:3827
#22 0x009feac6 in luaD_precall at ldo.c:323
#23 0x00a174a9 in luaV_execute at lvm.c:590
#24 0x009fec87 in luaD_call at ldo.c:381
#25 0x009f29c6 in f_call at lapi.c:800
#26 0x009fe265 in luaD_rawrunprotected at ldo.c:120
#27 0x009fe391 in luaD_pcall at ldo.c:467
#28 0x009f27a9 in lua_pcall at lapi.c:821
#29 0x0079150d in luaW_pcall at lua.cpp:459
#30 0x00791f95 in LuaKernel::run_wml_action at lua.cpp:3865
#31 0x0046d9e0 in game_events::handle_event_commands at game_events.cpp:3401
#32 0x0046def5 in game_events::event_handler::handle_event at
game_events.cpp:3394
#33 0x0049be73 in process_event at game_events.cpp:3355
#34 0x0049fa7d in game_events::pump at game_events.cpp:3722
#35 0x005a4985 in move_unit at actions.cpp:2738
#36 0x00359f5b in events::mouse_handler::move_unit_along_route at
mouse_events.cpp:680
#37 0x0035a344 in events::mouse_handler::move_unit_along_current_route at
mouse_events.cpp:642
#38 0x0035bbd7 in events::mouse_handler::left_click at mouse_events.cpp:569
#39 0x0035473a in events::mouse_handler_base::mouse_press at
mouse_handler_base.cpp:143
#40 0x00357a34 in events::mouse_handler::mouse_press at mouse_events.cpp:404
#41 0x005578d0 in controller_base::handle_event at controller_base.cpp:91
#42 0x0052a1f8 in events::pump at events.cpp:380
#43 0x005572a7 in controller_base::play_slice at controller_base.cpp:197
#44 0x002bcd5a in playsingle_controller::play_human_turn at
playsingle_controller.cpp:720
#45 0x002bd0f4 in playsingle_controller::play_side at
playsingle_controller.cpp:645
#46 0x002bd913 in playsingle_controller::play_turn at
playsingle_controller.cpp:599
#47 0x002c0819 in playsingle_controller::play_scenario at
playsingle_controller.cpp:400
#48 0x002ca665 in playsingle_scenario at playcampaign.cpp:130
#49 0x002cdb00 in play_game at playcampaign.cpp:365
#50 0x00aefacc in game_controller::launch_game at game_controller.cpp:1264
#51 0x004ce83f in do_gameloop at game.cpp:567
#52 0x004cece1 in SDL_main at game.cpp:621
#53 0x00083854 in -[SDLMain applicationDidFinishLaunching:] at SDLMain.m:69
#54 0x9204fe53 in _nsnote_callback
#55 0x94619793 in __CFXNotificationPost
#56 0x9461919a in _CFXNotificationPostNotification
#57 0x92044cf0 in -[NSNotificationCenter
postNotificationName:object:userInfo:]
#58 0x920520fd in -[NSNotificationCenter postNotificationName:object:]
#59 0x96237216 in -[NSApplication _postDidFinishNotification]
#60 0x96237126 in -[NSApplication _sendFinishLaunchingNotification]
#61 0x9638e339 in -[NSApplication(NSAppleEventHandling) _handleAEOpen:]
#62 0x9638df59 in -[NSApplication(NSAppleEventHandling)
_handleCoreEvent:withReplyEvent:]
#63 0x92085298 in -[NSAppleEventManager
dispatchRawAppleEvent:withRawReply:handlerRefCon:]
#64 0x9208505c in _NSAppleEventManagerGenericHandler
#65 0x9a0bff5c in aeDispatchAppleEvent
#66 0x9a0bfe5b in dispatchEventAndSendReply
#67 0x9a0bfd65 in aeProcessAppleEvent
#68 0x9a42e197 in AEProcessAppleEvent
#69 0x962077d2 in _DPSNextEvent
#70 0x96206dd6 in -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:]
#71 0x961c91f3 in -[NSApplication run]
#72 0x000839ec in main at SDLMain.m:103
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18684>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs