Here is what is displayed in the console during the crash
'qtt.exe': Loaded 'C:\Users\Josh\Documents\Visual Studio 2008\Projects\qtt\Debug\qtt.exe', Symbols loaded.
'qtt.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll'
'qtt.exe': Loaded 'C:\Windows\system\QtCore4.dll', Binary was not built with debug information.
'qtt.exe': Loaded 'C:\Windows\SysWOW64\user32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll'
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcp90.dll'
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcr90.dll'
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcr90d.dll', Symbols loaded.
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcp90d.dll', Symbols loaded.
'qtt.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll'
First-chance exception at 0x683631ea (msvcr90d.dll) in qtt.exe: 0xC0000005: Access violation reading location 0xcccccbf4.
Unhandled exception at 0x683631ea (msvcr90d.dll) in qtt.exe: 0xC0000005: Access violation reading location 0xcccccbf4.
'qtt.exe': Loaded 'C:\Users\Josh\Documents\Visual Studio 2008\Projects\qtt\Debug\qtt.exe', Symbols loaded.
'qtt.exe': Loaded 'C:\Windows\SysWOW64\ntdll.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\kernel32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\KernelBase.dll'
'qtt.exe': Loaded 'C:\Windows\system\QtCore4.dll', Binary was not built with debug information.
'qtt.exe': Loaded 'C:\Windows\SysWOW64\user32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\gdi32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\lpk.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\usp10.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\msvcrt.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\advapi32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\sechost.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\rpcrt4.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\sspicli.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\cryptbase.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\ole32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\ws2_32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\nsi.dll'
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcp90.dll'
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.crt_1fc8b3b9a1e18e3b_9.0.30729.6161_none_50934f2ebcb7eb57\msvcr90.dll'
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcr90d.dll', Symbols loaded.
'qtt.exe': Loaded 'C:\Windows\winsxs\x86_microsoft.vc90.debugcrt_1fc8b3b9a1e18e3b_9.0.21022.8_none_96748342450f6aa2\msvcp90d.dll', Symbols loaded.
'qtt.exe': Loaded 'C:\Windows\SysWOW64\imm32.dll'
'qtt.exe': Loaded 'C:\Windows\SysWOW64\msctf.dll'
First-chance exception at 0x683631ea (msvcr90d.dll) in qtt.exe: 0xC0000005: Access violation reading location 0xcccccbf4.
Unhandled exception at 0x683631ea (msvcr90d.dll) in qtt.exe: 0xC0000005: Access violation reading location 0xcccccbf4.
To copy to clipboard, switch view to plain text mode
I am compiling with VC++ 2008 on Window 7 x64 Ultimate. I was initially using library version 4.4.1 which I compiled from source and suspected that may be the problem, but this is happening after I updated and am using the libs and includes from the SDK version 4.7.4
It doesn't behave different if I capture the the output of the function. I removed the assignment suspecting and error could be happening there, but it doesn't look like that's the case.
Also, when it crashes, VS opens the file dbgdel.cpp and points at the following line
_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));
_ASSERTE(_BLOCK_TYPE_IS_VALID(pHead->nBlockUse));
To copy to clipboard, switch view to plain text mode
saying that it is the next to execute.
I'm fairly new to VS because most of my previous programming was done in command line Linux, so I'm not terribly familiar with the debugger, but if more info is needed, I will try to find it. Thanks.
edit: clicking around, it looks like the problem occurs during a delete call, but that's as much as I can tell.
Bookmarks