I'm using Ogre 1.4.3 and Plugin_TheoraVideoSystem (WindowsXP, mingw). Videoplugin works great,but my application crashes with segfault on exit. There is gdb report:
#0 00000000 ??() (??:??)
#1 65389F19 Ogre::Root::unloadPlugins(this=0x374bc80) (E:/OgreCVS/ogrenew/OgreMain/src/OgreRoot.cpp:835)
#2 65386F93 Ogre::Root::~Root(this=0x374bc80) (E:/OgreCVS/ogrenew/OgreMain/src/OgreRoot.cpp:276)
#3 00401D7C GameManager::~GameManager(this=0x3747e60) (D:/MyApp/src/GameManager.cpp:56)
#4 0040F4E0 WinMain(hInst=0x400000, strCmdLine=0x241efc "") (D:/MyApp/src/main.cpp:28)
#5 0042041A main() (C:/mingw/bin/../lib/gcc/mingw32/3.4.5/../../../../include/c++/3.4.5/iostream:77)
and part of Ogre.log:
...
17:12:51: Parsing script Shadows.overlay
17:12:51: Finished parsing scripts for resource group General
17:12:51: Parsing scripts for resource group Internal
17:12:51: Finished parsing scripts for resource group Internal
17:12:51: Creating viewport on target 'Test', rendering from camera 'IntroCamera', relative dimensions L: 0.00 T: 0.00 W: 1.00 H: 1.00 ZOrder: 0
17:12:51: Viewport for camera 'IntroCamera', actual dimensions L: 0 T: 0 W: 1024 H: 768
17:12:51: Loading library FMOD_MOD
17:12:52: Vorbis Headers: 3 Theora Headers : 3
17:12:52: Texture: Europe.ogg: Loading 1 faces(PF_B8G8R8,352x240x1) with hardware generated mipmaps from Image. Internal format is PF_X8R8G8B8,352x240x1.
17:12:58: Unloading library FMOD_MOD
17:12:58: Unregistering ResourceManager for type BspLevel
17:12:58: *-*-* OGRE Shutdown
17:12:58: Unregistering ResourceManager for type Compositor
17:12:58: Unregistering ResourceManager for type Font
17:12:58: Unregistering ResourceManager for type Skeleton
17:12:58: Unregistering ResourceManager for type Mesh
17:12:58: Unregistering ResourceManager for type HighLevelGpuProgram
It seems that there is something wrong with my Plugin_TheoraVideoSystem.dll. What can cause this segfault? Could anyone upload debug and release version of this dll ?