Crash in _openImpl()

swifft

15-11-2010 21:40:17

After I call destroyAllSounds and shutdown my game I get a crash in _openImpl() during processQueuedSounds(). Can anyone help?

swifft

15-11-2010 22:59:02

To narrow this down a bit more I have removed all my code for playing a sound. The only thing I do is

m_pSoundManager = OgreOggSound::OgreOggSoundManager::getSingletonPtr();
m_pSoundManager->init();

Thats is. When I exit my app it crashes. If I remove the call to init it does not crash. I have been reading around and searching but it seems there is no way to shutdown sound manager and that we should not call delete on the sound manager either. Anyone know whats going on here?

stickymango

16-11-2010 11:46:49

What platform, what version of lib?

I've just tried: m_pSoundManager = OgreOggSound::OgreOggSoundManager::getSingletonPtr();
m_pSoundManager->init();

And didn't have any issues..

swifft

16-11-2010 14:09:45

WindowsXP
OgreSDK_vc8_v1-7-1
boost_1_42

stickymango

16-11-2010 21:20:35

Can you provide a stack trace or run a debug version?

stickymango

01-12-2010 15:51:21

Should now be fixed.