1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-02-19 04:39:42 +00:00
openmw-tes3mp/apps/openmw
Lukasz Gromanowski bdc4c79b4e Fix for segfault when doing 'coc "seyda neen"'.
This is a fix for segfault:

==8683== Process terminating with default action of signal 11 (SIGSEGV)
==8683==  Access not within mapped region at address 0x0
==8683==    at 0x59DFE4: MWRender::Animation::handleShapes(std::vector<Nif::NiTriShapeCopy, std::allocator<Nif::NiTriShapeCopy> >*, Ogre::Entity*, Ogre::SkeletonInstance*) (animation.cpp:503)
==8683==    by 0x5A4ECE: MWRender::Actors::update(float) (actors.cpp:134)
==8683==    by 0x5937A9: MWRender::RenderingManager::update(float) (renderingmanager.cpp:168)
==8683==    by 0x629AD6: MWWorld::World::update(float) (world.cpp:705)
==8683==    by 0x68B022: OMW::Engine::frameRenderingQueued(Ogre::FrameEvent const&) (engine.cpp:157)
==8683==    by 0x51F9574: Ogre::Root::_fireFrameRenderingQueued(Ogre::FrameEvent&) (in /usr/lib/libOgreMain.so.1.8.0)
==8683==    by 0x51F964F: Ogre::Root::_fireFrameRenderingQueued() (in /usr/lib/libOgreMain.so.1.8.0)
==8683==    by 0x51F9681: Ogre::Root::_updateAllRenderTargets() (in /usr/lib/libOgreMain.so.1.8.0)
==8683==    by 0x51F98CF: Ogre::Root::renderOneFrame() (in /usr/lib/libOgreMain.so.1.8.0)
==8683==    by 0x51F990C: Ogre::Root::startRendering() (in /usr/lib/libOgreMain.so.1.8.0)
==8683==    by 0x68A669: OMW::Engine::go() (engine.cpp:408)
==8683==    by 0x51CECB: main (main.cpp:254)
==8683==  If you believe this happened as a result of a stack
==8683==  overflow in your program's main thread (unlikely but
==8683==  possible), you can try to increase the size of the
==8683==  main thread stack using the --main-stacksize= flag.
==8683==  The main thread stack size used in this run was 8388608.

when doing 'coc "seyda neen"' when animations are enabled
(Animation::animate member variable is set to 1).
2012-03-31 21:34:40 +02:00
..
mwclass Use a set of flags instead of separate booleans 2012-03-31 07:31:55 -07:00
mwdialogue silenced some warnings 2012-03-20 10:30:21 +01:00
mwgui made all dialogs semi transparent (like in morrowind) 2012-03-30 14:01:43 +02:00
mwinput minor fix 2012-02-10 21:24:33 +01:00
mwmechanics Empty npcs 2011-12-09 00:08:30 -05:00
mwrender Fix for segfault when doing 'coc "seyda neen"'. 2012-03-31 21:34:40 +02:00
mwscript Remove the Play_Single flag. It's not correct. 2012-03-31 07:41:26 -07:00
mwsound Pass the mode flags to the sound output play methods 2012-03-31 08:14:39 -07:00
mwworld implemented toggleWater (twa); formatting again 2012-03-29 18:33:08 +02:00
CMakeLists.txt Merge remote branch 'scrawl/terrain18' into terrain 2012-03-30 15:38:14 +02:00
config.hpp.cmake another minor correction (fixing the previous one) 2011-07-08 16:16:06 +02:00
doc.hpp first set of additional doxygen comments 2010-09-25 15:03:53 +02:00
engine.cpp Merge remote branch 'ace/fs-fix' 2012-03-31 11:37:18 +02:00
engine.hpp implemented dialogue scripts 2012-03-05 16:56:14 +01:00
main.cpp temporarily disabled multi data path support in OpenMW 2012-02-28 09:27:35 +01:00