Crash in CBufferItem destructor when closing game after OpenAL errors
Easy way to reproduce this is on the combat demo map with -serializationtest and -ooslog, I get a lot of OpenAL errors (see attached log), then closing the game results in this crash. OS: Win 7 64-bit
Call stack:
ntdll.dll!_ZwRaiseException@12() + 0x12 bytes
ntdll.dll!_ZwRaiseException@12() + 0x12 bytes
KernelBase.dll!_RaiseException@16() + 0x58 bytes
msvcr100.dll!__CxxThrowException@8() + 0x45 bytes
msvcr100.dll!operator new() + 0x2cfe4 bytes
> pyrogenesis.exe!CBufferItem::~CBufferItem() Line 48 C++
pyrogenesis.exe!CBufferItem::`scalar deleting destructor'() + 0xb bytes C++
pyrogenesis.exe!CSoundManagerWorker::Shutdown() Line 88 C++
pyrogenesis.exe!CSoundManager::`scalar deleting destructor'() + 0x14 bytes C++
pyrogenesis.exe!Shutdown(int __formal=0) Line 707 C++
pyrogenesis.exe!RunGameOrAtlas(int argc=3, const char * * argv=0x00000003) Line 508 + 0x6 bytes C++
pyrogenesis.exe!main(int argc=3, char * * argv=0x00c482c8) Line 550 + 0xc bytes C++
pyrogenesis.exe!wmain(int argc=3, wchar_t * * argv=0x006e7f50) Line 380 + 0xa bytes C++
pyrogenesis.exe!__tmainCRTStartup() Line 552 + 0x17 bytes C
pyrogenesis.exe!CallStartupWithinTryBlock() Line 397 C++
kernel32.dll!@BaseThreadInitThunk@12() + 0x12 bytes
ntdll.dll!___RtlUserThreadStart@8() + 0x27 bytes
ntdll.dll!__RtlUserThreadStart@8() + 0x1b bytes
For what it's worth the value of num_processed
in the destructor is 698022224!
THe true problem hasn't been addressed here, but the crashing should be stopped. Also it should now only report the first error, in allocation.
I don't get this error btw. Even on the huge combat demo.
Has this ever happened in a regular game? The strings of errors?