Details
-
Bug
-
Status: Closed
-
P5: Not important
-
Resolution: Cannot Reproduce
-
Qt Creator 4.3.1
-
None
-
None
-
Windows 7 Ultimate 64bit, Service Pack 1
MS Visual Studio Community 2015
Qt Creator 5.9.1
Tried by including in the examples .pro files the following to make them work in Windows:
{code:java}
INCLUDEPATH+="C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt"
LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64\ucrt.lib"
LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64\ucrtd.lib"
{code}
I also tried the 32bit versions instead:
{code:java}
INCLUDEPATH+="C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt"
LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x86\ucrt.lib"
LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x86\ucrtd.lib"
{code}
Please advice.Windows 7 Ultimate 64bit, Service Pack 1 MS Visual Studio Community 2015 Qt Creator 5.9.1 Tried by including in the examples .pro files the following to make them work in Windows: {code:java} INCLUDEPATH+="C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt" LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64\ucrt.lib" LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x64\ucrtd.lib" {code} I also tried the 32bit versions instead: {code:java} INCLUDEPATH+="C:\Program Files (x86)\Windows Kits\10\Include\10.0.10150.0\ucrt" LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x86\ucrt.lib" LIBS+="C:\Program Files (x86)\Windows Kits\10\Lib\10.0.10150.0\ucrt\x86\ucrtd.lib" {code} Please advice.
Description
In every debug session (no matter which Qt example I try), the debugger halts with an error like:
HEAP[spectrum.exe]: Invalid address specified to RtlValidateHeap( 00000000002D0000, 00000000047DDC40 )
and with the stack trace pointing to some delete operation. This also happen on simple test examples using a clear() instruction which has an underlying delete operation. I posted one example of it on the forum, with its stack trace
This happens all the time, and makes debugging impossible unless I disable all the delete instructions e.g. using #ifdef QT_NO_DEBUG.