1
0
Fork 1
mirror of https://github.com/TES3MP/openmw-tes3mp.git synced 2025-01-29 04:15:31 +00:00
openmw-tes3mp/apps/openmw/mwrender
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
..
.gitignore directory structure reorganisation (still missing the mangle stuff) 2010-06-25 22:28:59 +02:00
actors.cpp Issue #225: Deallocate memory used by actors animations. 2012-03-27 00:31:15 +02:00
actors.hpp Issue #225: Deallocate memory used by actors animations. 2012-03-27 00:31:15 +02:00
animation.cpp Fix for segfault when doing 'coc "seyda neen"'. 2012-03-31 21:34:40 +02:00
animation.hpp Issue #225: Initialize all class members in constructor. 2012-03-26 19:09:55 +02:00
cell.hpp implemented take action 2010-08-07 20:25:17 +02:00
creatureanimation.cpp Merging in master 2012-02-19 15:39:12 -05:00
creatureanimation.hpp Fixed a few more non-virtual destructor warnings 2012-03-15 17:40:42 +01:00
debugging.cpp fixed the physics debug rendering now activates/deactivates properly 2012-03-30 16:02:41 +02:00
debugging.hpp Debugging file renamed 2011-10-25 14:06:44 -04:00
localmap.cpp use vector instead of array 2012-03-27 00:18:09 +02:00
localmap.hpp use vector instead of array 2012-03-27 00:18:09 +02:00
npcanimation.cpp Bug 210 fix 2012-03-03 18:26:11 -05:00
npcanimation.hpp Fixed a few more non-virtual destructor warnings 2012-03-15 17:40:42 +01:00
objects.cpp Merge remote branch 'scrawl/renderingdistance' 2012-03-29 21:27:25 +02:00
objects.hpp lower rendering distance for small objects (reduce batch count) 2012-03-27 00:45:25 +02:00
player.cpp Player handle changed;Interior removed;Exterior removed;Cellimp removed; Probe fixed 2011-11-16 21:15:49 -05:00
player.hpp Player handle changed;Interior removed;Exterior removed;Cellimp removed; Probe fixed 2011-11-16 21:15:49 -05:00
renderinginterface.hpp Changing to Actors;NPCAnimation;CreatureAnimation 2011-11-24 01:48:54 -05:00
renderingmanager.cpp Merge remote branch 'scrawl/terrain18' into terrain 2012-03-30 15:38:14 +02:00
renderingmanager.hpp Merge remote branch 'scrawl/terrain18' into terrain 2012-03-30 15:38:14 +02:00
sky.cpp Issue #225: Initialize class members in constructor. 2012-03-27 00:34:06 +02:00
sky.hpp more fixes 2012-03-16 19:02:33 +01:00
terrain.cpp fixed a terrain-related Redemption crash 2012-03-30 15:52:09 +02:00
terrain.hpp Removed memory leak, allocated more on the stack 2012-03-27 13:58:12 +01:00
terrainmaterial.cpp fixed terrain regions without vertexcolours, tweaked maxPixelError 2012-03-02 23:36:48 +01:00
terrainmaterial.hpp ogre 1.8 fixes 2012-03-24 14:46:48 +01:00
water.cpp implemented toggleWater (twa); formatting again 2012-03-29 18:33:08 +02:00
water.hpp implemented toggleWater (twa); formatting again 2012-03-29 18:33:08 +02:00