Follow-up Comment #7, bug #14830 (project wesnoth):
Still reproducible in 1.9, backtrace from VS:
> wesnoth.exe!lua::luaW_pcall(lua_State * L=0x122556b8, int nArgs=1, int
nRets=0, bool allow_wml_error=true) Zeile 398 + 0x1f Bytes C++
wesnoth.exe!lua::LuaKernel::run_wml_action(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
cmd="command", const vconfig & cfg={...}, const game_events::queued_event &
ev={...}) Zeile 3042 + 0xf Bytes C++
wesnoth.exe!game_events::handle_event_commands(const
game_events::queued_event & event_info={...}, const vconfig & cfg={...})
Zeile 3123 + 0x32 Bytes C++
wesnoth.exe!game_events::event_handler::handle_event(const
game_events::queued_event & event_info={...}) Zeile 3117 + 0x2e Bytes C++
wesnoth.exe!process_event(game_events::event_handler & handler={...},
const
game_events::queued_event & ev={...}) Zeile 3083 C++
wesnoth.exe!game_events::pump() Zeile 3423 + 0x13 Bytes C++
wesnoth.exe!game_events::fire(const
std::basic_string<char,std::char_traits<char>,std::allocator<char> > &
event="start", const game_events::entity_location & loc1={...}, const
game_events::entity_location & loc2={...}, const config & data={...}) Zeile
3359 C++
wesnoth.exe!play_controller::fire_start(bool execute=true) Zeile 491 +
0x78 Bytes C++
wesnoth.exe!playsingle_controller::play_scenario(const
std::pair<config::const_child_iterator,config::const_child_iterator> &
story=({i_=... },{i_=... }), upload_log & log={...}, bool skip_replay=false)
Zeile 338 C++
wesnoth.exe!playsingle_scenario(const config & game_config={...}, const
config * level=0x0296e9d0, display & disp={...}, game_state &
state_of_game={...}, const
std::pair<config::const_child_iterator,config::const_child_iterator> &
story=({i_=... },{i_=... }), upload_log & log={...}, bool skip_replay=false,
end_level_data & end_level={...}) Zeile 127 + 0x18 Bytes C++
wesnoth.exe!play_game(display & disp={...}, game_state &
gamestate={...},
const config & game_config={...}, upload_log & log={...}, io_type_t
io_type=IO_NONE, bool skip_replay=false) Zeile 359 + 0x2c Bytes C++
wesnoth.exe!`anonymous
namespace'::game_controller::launch_game(`anonymous-namespace'::game_controller::RELOAD_GAME_DATA
reload=RELOAD_DATA) Zeile 1626 + 0x43 Bytes C++
wesnoth.exe!do_gameloop(int argc=1, char * * argv=0x0296feb0) Zeile
2312 C++
wesnoth.exe!SDL_main(int argc=1, char * * argv=0x0296feb0) Zeile 2348 +
0xd Bytes C++
wesnoth.exe!_main() + 0xf5 Bytes C
wesnoth.exe!_winm...@16() + 0xae Bytes C
wesnoth.exe!__tmainCRTStartup() Zeile 578 + 0x35 Bytes C
wesnoth.exe!WinMainCRTStartup() Zeile 403 C
Code in question is in lua.cpp line 394 following.
int res = lua_pcall(L, nArgs, nRets, -2 - nArgs);
results to res=-1 what it should not I suppose.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?14830>
_______________________________________________
Nachricht geschickt von/durch Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs