[Ogre2.0] Segmentation fault

brkpnt

11-02-2015 23:37:55

Hi!
In the context of the MyGUI pass creation i get in the examples and in my program a segmentation fault in the:
targetDef->addPass(Ogre::PASS_CUSTOM, MyGUI::OgreCompositorPassProvider::mPassId );

But the most bugest thing is that in the examples it segmentates only if the ogre.cfg doesn't exist and the default config dialog is displayed.

* Initialise: RenderManager
RenderManager successfully initialized
* Initialise: DataManager
DataManager successfully initialized

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7428ea6 in Ogre::CompositorTargetDef::addPass (this=0x7fffebccc3d8, passType=Ogre::PASS_CUSTOM, customId=...)
at /home/ezequiel/lib/carmesi-dependencies/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPassDef.cpp:85
85 retVal = passProvider->addPassDef( passType, customId, mRtIndex, mParentNodeDef );
(gdb) bt
#0 0x00007ffff7428ea6 in Ogre::CompositorTargetDef::addPass (this=0x7fffebccc3d8, passType=Ogre::PASS_CUSTOM, customId=...)
at /home/ezequiel/lib/carmesi-dependencies/ogre/OgreMain/src/Compositor/Pass/OgreCompositorPassDef.cpp:85
#1 0x000000000043df74 in base::BaseManager::createGui (this=0x68d430) at /home/ezequiel/lib/carmesi-dependencies/mygui/Common/Base/Ogre/BaseManager.cpp:247
#2 0x00000000004330c7 in base::BaseDemoManager::createGui (this=0x68d430) at /home/ezequiel/lib/carmesi-dependencies/mygui/Common/Base/BaseDemoManager.h:68
#3 0x000000000043d861 in base::BaseManager::create (this=0x68d430, _width=1024, _height=768)
at /home/ezequiel/lib/carmesi-dependencies/mygui/Common/Base/Ogre/BaseManager.cpp:146
#4 0x00000000004391b1 in startApp<demo::DemoKeeper> () at /home/ezequiel/lib/carmesi-dependencies/mygui/Common/Base/Main.h:35
#5 0x0000000000430586 in main (argc=1, argv=0x7fffffffd9c8) at /home/ezequiel/lib/carmesi-dependencies/mygui/Demos/Demo_RenderBox/DemoKeeper.cpp:128


Using the Ogree411a480d3aa (v2-0) v2-0-0RC1

This happens in Debug and RelWithDebInfo under Linux. I din't found nothing strange in the mygui code.

Thaks for your time!