pra
12-03-2008 20:11:22
i alerady posted this error:

now I got it again, and now it is for some reason debuggable.
here is the call stack:
i'm not really able to understand all the stl stuff... the last line of OgreAL code is
in SoundManager::UpdateSounds()
i haven't done anything special, it seems to occur randomly. maybe fast creation and destruction of sounds affects the probability of this error...
now I got it again, and now it is for some reason debuggable.
here is the call stack:
OgreAL_d.dll!std::_Vector_const_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> >::operator--() Line 133 + 0x3e bytes C++
OgreAL_d.dll!std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> >::operator--() Line 350 C++
OgreAL_d.dll!std::_Insertion_sort<std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> >,OgreAL::SoundManager::SortLowToHigh>(std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> > _First=0x0855c5f8 {mDerivedPosition={...} mDerivedDirection={...} mLastParentOrientation={...} ...}, std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> > _Last=0xfdfdfdfd {mDerivedPosition={...} mDerivedDirection={...} mLastParentOrientation={...} ...}, OgreAL::SoundManager::SortLowToHigh _Pred={...}) Line 3131 + 0x12 bytes C++
OgreAL_d.dll!std::_Sort<std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> >,int,OgreAL::SoundManager::SortLowToHigh>(std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> > _First=0x0855c5f8 {mDerivedPosition={...} mDerivedDirection={...} mLastParentOrientation={...} ...}, std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> > _Last=0xfdfdfdfd {mDerivedPosition={...} mDerivedDirection={...} mLastParentOrientation={...} ...}, int _Ideal=3, OgreAL::SoundManager::SortLowToHigh _Pred={...}) Line 3252 + 0x51 bytes C++
OgreAL_d.dll!std::sort<std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> >,OgreAL::SoundManager::SortLowToHigh>(std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> > _First=0x0855c5f8 {mDerivedPosition={...} mDerivedDirection={...} mLastParentOrientation={...} ...}, std::_Vector_iterator<OgreAL::Sound *,std::allocator<OgreAL::Sound *> > _Last=0xfdfdfdfd {mDerivedPosition={...} mDerivedDirection={...} mLastParentOrientation={...} ...}, OgreAL::SoundManager::SortLowToHigh _Pred={...}) Line 3261 + 0x66 bytes C++
> OgreAL_d.dll!OgreAL::SoundManager::updateSounds() Line 815 + 0x6e bytes C++
OgreAL_d.dll!OgreAL::SoundManager::frameStarted(const Ogre::FrameEvent & evt={...}) Line 401 C++
i'm not really able to understand all the stl stuff... the last line of OgreAL code is
std::sort(mActiveSounds.begin(), mActiveSounds.end(), SortLowToHigh());
in SoundManager::UpdateSounds()
i haven't done anything special, it seems to occur randomly. maybe fast creation and destruction of sounds affects the probability of this error...