hello,
I found a bug of VLD: endless recursive call to VLD itself. The callstack is as the following.
It's just because getTls() calls TlsSetValue() API, and TlsSetValue() calls RtlAllocateHeap(), but heap allocation is hooked by VLD, so the recursion is endless.
I found a bug of VLD: endless recursive call to VLD itself. The callstack is as the following.
It's just because getTls() calls TlsSetValue() API, and TlsSetValue() calls RtlAllocateHeap(), but heap allocation is hooked by VLD, so the recursion is endless.
vld_x86.dll!VisualLeakDetector::getTls() Line 983 C++
vld_x86.dll!VisualLeakDetector::enabled() Line 904 + 0x8 bytes C++
vld_x86.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x00610000, unsigned long flags=8, unsigned long size=4096) Line 1544 + 0x10 bytes C++
KernelBase.dll!_TlsSetValue@8() + 0x45f04 bytes
vld_x86.dll!VisualLeakDetector::getTls() Line 996 + 0x16 bytes C++
vld_x86.dll!VisualLeakDetector::enabled() Line 904 + 0x8 bytes C++
vld_x86.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x00610000, unsigned long flags=8, unsigned long size=4096) Line 1544 + 0x10 bytes C++
KernelBase.dll!_TlsSetValue@8() + 0x45f04 bytes
vld_x86.dll!VisualLeakDetector::getTls() Line 996 + 0x16 bytes C++
vld_x86.dll!VisualLeakDetector::enabled() Line 904 + 0x8 bytes C++
vld_x86.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x00610000, unsigned long flags=8, unsigned long size=4096) Line 1544 + 0x10 bytes C++
KernelBase.dll!_TlsSetValue@8() + 0x45f04 bytes
vld_x86.dll!VisualLeakDetector::getTls() Line 996 + 0x16 bytes C++
vld_x86.dll!VisualLeakDetector::enabled() Line 904 + 0x8 bytes C++
vld_x86.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x00610000, unsigned long flags=8, unsigned long size=4096) Line 1544 + 0x10 bytes C++
KernelBase.dll!_TlsSetValue@8() + 0x45f04 bytes
vld_x86.dll!VisualLeakDetector::getTls() Line 996 + 0x16 bytes C++
vld_x86.dll!VisualLeakDetector::enabled() Line 904 + 0x8 bytes C++
vld_x86.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x00610000, unsigned long flags=8, unsigned long size=4096) Line 1544 + 0x10 bytes C++