Tracking down a freeze bug

Looks like I got the debugger to work and the DLL failed when accessing a memory address. How can I prevent this memory access BUG?

The thread 'Win32 Thread' (0x15bc) has exited with code 0 (0x0).
First-chance exception at 0x03ec38bc (CvGameCoreDLL.dll) in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x7fffffff.
Unhandled exception at 0x03ec38bc (CvGameCoreDLL.dll) in Civ4BeyondSword.exe: 0xC0000005: Access violation reading location 0x7fffffff.
 
Launch the debug game directly from Visual Studio. When the access violation happens, you'll have the possibility to choose "Break" option and see the exact point in the code at which access violation happened. Then you'll know what's going on.
 
Doesn't anyone know how this soundqueue error is created and how to fix it?

What can cause a bunch of these errors in the audio.log file?

[5935.578] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5935.578] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
[5955.343] WRN: FSoundQueueMgr::GetNextAvailableSoundQueue(): Ran out of soundqueues.
 
Back
Top Bottom