bradc6/Stratagus — Issue #1: [Stargus] - Opened Map "Killing Fields" - Segfault 
Author: Heart-Strain
Created: 2012-01-12 08:23:56+00:00
State: open

Simply Loaded Killing Fields caused stratagus to crash.

[New Thread 0x7fffec0a4700 (LWP 16595)]
[Thread 0x7fffec0a4700 (LWP 16595) exited]
[New Thread 0x7fffec0a4700 (LWP 16597)]
[New Thread 0x7fffefed0700 (LWP 16598)]
Can't open file 'maps/(8)Station Unrest.smp': No such file or directory
[New Thread 0x7fffdc395700 (LWP 16600)]
2 CPUs detected!
[Thread 0x7fffdc395700 (LWP 16600) exited]
Can't open file 'maps/(8)Killing Fields.smp': No such file or directory

Program received signal SIGSEGV, Segmentation fault.
0x00000000005e45d8 in CUnit::Init(CUnitType&) ()
(gdb) backtrace
#0 0x00000000005e45d8 in CUnit::Init(CUnitType&) ()
#1 0x00000000005e4d74 in MakeUnit(CUnitType&, CPlayer*) ()
#2 0x00000000005cc769 in CclCreateUnit(lua_State*) ()
#3 0x00007ffff7bbdbc1 in ?? () from /usr/lib/liblua5.1.so.0
#4 0x00007ffff7bc8959 in ?? () from /usr/lib/liblua5.1.so.0
#5 0x00007ffff7bbe08d in ?? () from /usr/lib/liblua5.1.so.0
#6 0x00007ffff7bbd737 in ?? () from /usr/lib/liblua5.1.so.0
#7 0x00007ffff7bbd7b2 in ?? () from /usr/lib/liblua5.1.so.0
#8 0x00007ffff7bb91a1 in lua_pcall () from /usr/lib/liblua5.1.so.0
#9 0x0000000000573540 in LuaCall(int, int, bool) ()
#10 0x000000000057388e in LuaLoadFile(std::string const&) ()
#11 0x00000000004ff526 in LoadStratagusMap(std::string const&, std::string const&) ()
#12 0x00000000005001eb in LoadMap(std::string const&, CMap&) ()
#13 0x0000000000500bcc in CreateGame(std::string const&, CMap*) ()
#14 0x0000000000592838 in StartMap(std::string const&, bool) ()
#15 0x0000000000643b28 in tolua_stratagus_StartMap00(lua_State*) ()
#16 0x00007ffff7bbdbc1 in ?? () from /usr/lib/liblua5.1.so.0
#17 0x00007ffff7bc8959 in ?? () from /usr/lib/liblua5.1.so.0
#18 0x00007ffff7bbe08d in ?? () from /usr/lib/liblua5.1.so.0
#19 0x00007ffff7bbd737 in ?? () from /usr/lib/liblua5.1.so.0
#20 0x00007ffff7bbd7b2 in ?? () from /usr/lib/liblua5.1.so.0
#21 0x00007ffff7bb91a1 in lua_pcall () from /usr/lib/liblua5.1.so.0
---Type to continue, or q to quit---
#22 0x0000000000566174 in LuaCallback::run() ()
#23 0x00000000005bd569 in LuaActionListener::action(std::string const&) ()
#24 0x0000000000516e2a in gcn::Widget::generateAction() ()
#25 0x000000000051a41d in gcn::Button::mouseClick(int, int, int, int) ()
#26 0x00000000005168f3 in gcn::Widget::_mouseInputMessage(gcn::MouseInput const&) ()
#27 0x000000000051bef0 in gcn::Container::_mouseInputMessage(gcn::MouseInput const&) ()
#28 0x000000000050caa4 in gcn::Gui::logic() ()
#29 0x00000000005bd34c in handleInput(SDL_Event const*) ()
#30 0x0000000000618feb in WaitEventsOneFrame() ()
#31 0x00000000005c2bfb in MenuScreen::run(bool) ()
#32 0x0000000000639034 in tolua_stratagus_CMenuScreen_run00(lua_State*) ()
#33 0x00007ffff7bbdbc1 in ?? () from /usr/lib/liblua5.1.so.0
#34 0x00007ffff7bc8959 in ?? () from /usr/lib/liblua5.1.so.0
#35 0x00007ffff7bbe08d in ?? () from /usr/lib/liblua5.1.so.0
#36 0x00007ffff7bbd737 in ?? () from /usr/lib/liblua5.1.so.0
#37 0x00007ffff7bbd7b2 in ?? () from /usr/lib/liblua5.1.so.0
#38 0x00007ffff7bb91a1 in lua_pcall () from /usr/lib/liblua5.1.so.0
#39 0x0000000000566174 in LuaCallback::run() ()
#40 0x00000000005bd569 in LuaActionListener::action(std::string const&) ()
#41 0x0000000000516e2a in gcn::Widget::generateAction() ()
#42 0x000000000051a41d in gcn::Button::mouseClick(int, int, int, int) ()
---Type to continue, or q to quit---
#43 0x00000000005168f3 in gcn::Widget::_mouseInputMessage(gcn::MouseInput const&) ()
#44 0x000000000051bef0 in gcn::Container::_mouseInputMessage(gcn::MouseInput const&) ()
#45 0x000000000050caa4 in gcn::Gui::logic() ()
#46 0x00000000005bd34c in handleInput(SDL_Event const*) ()
#47 0x0000000000618feb in WaitEventsOneFrame() ()
#48 0x00000000005c2bfb in MenuScreen::run(bool) ()
#49 0x0000000000639034 in tolua_stratagus_CMenuScreen_run00(lua_State*) ()
#50 0x00007ffff7bbdbc1 in ?? () from /usr/lib/liblua5.1.so.0
#51 0x00007ffff7bc8824 in ?? () from /usr/lib/liblua5.1.so.0
#52 0x00007ffff7bbe08d in ?? () from /usr/lib/liblua5.1.so.0
#53 0x00007ffff7bbd737 in ?? () from /usr/lib/liblua5.1.so.0
#54 0x00007ffff7bbd7b2 in ?? () from /usr/lib/liblua5.1.so.0
#55 0x00007ffff7bb91a1 in lua_pcall () from /usr/lib/liblua5.1.so.0
#56 0x0000000000573540 in LuaCall(int, int, bool) ()
#57 0x000000000057388e in LuaLoadFile(std::string const&) ()
#58 0x00000000005923f1 in MenuLoop() ()
#59 0x000000000059387c in main ()
(gdb)