Page 1 of 1

[SOLVED[ : OD Segfault : unkown room ty;e

PostPosted: 15 Oct 2014, 23:45
by paul424
Hi , I tried the newest OD , but I get :

{l Code}: {l Select All Code}
ERROR: Trying to create a room of unknown type.
Sourcefile: /home/tom/Opendungeons_github/OpenDungeons/source/Room.cpp   Line: 139
signal 11 (Segmentation fault), address is 0x40 from 0x546d1f

[bt]: (1) ./OpenDungeons.bin : GameMap::addRoom(Room*)+0x3f [0x546d1f]
[bt]: (2) ./OpenDungeons.bin : GameMap::addRoom(Room*)+0x3f [0x546d1f]
[bt]: (3) ./OpenDungeons.bin : MapLoader::readGameMapFromFile(std::string const&, GameMap&)+0xb8b [0x56acab]
[bt]: (4) ./OpenDungeons.bin : GameMap::loadLevel(std::string const&)+0x2f [0x544a4f]
[bt]: (5) ./OpenDungeons.bin : ODServer::startServer(std::string const&, bool, ODServer::ServerMode)+0xfb [0x58e52b]
[bt]: (6) ./OpenDungeons.bin : MenuModeSkirmish::launchSelectedButtonPressed()+0x3df [0x57213f]
[bt]: (7) ./OpenDungeons.bin : Gui::mSKMLoadButtonPressed(CEGUI::EventArgs const&)+0x54 [0x552aa4]
[bt]: (8) /usr/lib64/libCEGUIBase-0.so.2 : CEGUI::Event::operator()(CEGUI::EventArgs&)+0x2c [0x7fd6532792ac]
[bt]: (9) /usr/lib64/libCEGUIBase-0.so.2 : CEGUI::PushButton::onMouseButtonUp(CEGUI::MouseEventArgs&)+0xcf [0x7fd65330a64f]
[bt]: (10) /usr/lib64/libCEGUIBase-0.so.2 : CEGUI::GUIContext::injectMouseButtonUp(CEGUI::MouseButton)+0xf5 [0x7fd6531d42a5]
[bt]: (11) ./OpenDungeons.bin : MenuModeSkirmish::mouseReleased(OIS::MouseEvent const&, OIS::MouseButtonID)+0x3c [0x571b7c]
[bt]: (12) /usr/lib64/libOIS-1.3.0.so : OIS::LinuxMouse::_processXEvents()+0xd5 [0x7fd6536f3355]
[bt]: (13) /usr/lib64/libOIS-1.3.0.so : OIS::LinuxMouse::capture()+0x22 [0x7fd6536f3652]
[bt]: (14) ./OpenDungeons.bin : ODFrameListener::frameStarted(Ogre::FrameEvent const&)+0xe6 [0x58d066]
[bt]: (15) /usr/lib64/libOgreMain.so.1.9.0 : Ogre::Root::_fireFrameStarted(Ogre::FrameEvent&)+0x44 [0x7fd654a1d524]
[bt]: (16) /usr/lib64/libOgreMain.so.1.9.0 : Ogre::Root::_fireFrameStarted()+0x20 [0x7fd654a1f970]
[bt]: (17) /usr/lib64/libOgreMain.so.1.9.0 : Ogre::Root::renderOneFrame()+0x9 [0x7fd654a1f989]
[bt]: (18) /usr/lib64/libOgreMain.so.1.9.0 : Ogre::Root::startRendering()+0x2d [0x7fd654a1f9dd]
[bt]: (19) ./OpenDungeons.bin : ODApplication::ODApplication()+0x38c [0x5792ec]
[bt]: (20) ./OpenDungeons.bin : main+0x12 [0x473c82]
[bt]: (21) /lib64/libc.so.6 : __libc_start_main+0xf5 [0x7fd651269a15]
[bt]: (22) ./OpenDungeons.bin() [0x4751f5]

Re: OD Segfault : unkown room ty;e

PostPosted: 16 Oct 2014, 09:52
by paul424
Strange , after restarting the system , that works .... hmm ...

Re: [SOLVED[ : OD Segfault : unkown room ty;e

PostPosted: 16 Oct 2014, 10:27
by Akien
Welcome back paul :-)

That's not the newest OD sine your binary is still named "OpenDungeons.bin" when it should be "opendungeons". Make sure you have an up-to-date clone of the development branch.

Re: [SOLVED[ : OD Segfault : unkown room ty;e

PostPosted: 17 Oct 2014, 15:24
by Bertram
I'd even say a clone of the github development branch:
https://github.com/OpenDungeons/OpenDungeons