This is reproducible exception.
It looks like an infinite recursive call to _HeapAlloc.
> vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1607 + 0x24 bytes C++
KernelBase.dll!000007fefcd69764()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8,
....
....
unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::DisableLeakDetection() Line 2157 + 0xa bytes C++
vld_x64.dll!VLDDisable() Line 43 C++
vld_x64.dll!VisualLeakDetector::_GetProcessHeap() Line 1414 C++
ole32.dll!000007fefe820199()
kernel32.dll!0000000076c159ed()
ntdll.dll!0000000076e4c541()
Comments: I had the same problem, it was caused by somehow mixed old and new versions of lib and dll of the VLD.
It looks like an infinite recursive call to _HeapAlloc.
> vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1607 + 0x24 bytes C++
KernelBase.dll!000007fefcd69764()
[Frames below may be incorrect and/or missing, no symbols loaded for KernelBase.dll]
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8,
....
....
unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::enabled() Line 971 + 0xa bytes C++
vld_x64.dll!VisualLeakDetector::_HeapAlloc(void * heap=0x0000000000310000, unsigned long flags=8, unsigned __int64 size=8192) Line 1611 + 0x14 bytes C++
KernelBase.dll!000007fefcd69764()
vld_x64.dll!VisualLeakDetector::getTls() Line 1064 C++
vld_x64.dll!VisualLeakDetector::DisableLeakDetection() Line 2157 + 0xa bytes C++
vld_x64.dll!VLDDisable() Line 43 C++
vld_x64.dll!VisualLeakDetector::_GetProcessHeap() Line 1414 C++
ole32.dll!000007fefe820199()
kernel32.dll!0000000076c159ed()
ntdll.dll!0000000076e4c541()
Comments: I had the same problem, it was caused by somehow mixed old and new versions of lib and dll of the VLD.