0xc0000005 crash for x64 on 2.5

Aug 18, 2016 at 8:32 PM
I have got a project that works with VLD 2.5 on x86, but when the program is compiled for 64bit, it crashes with 0xc0000005 right on start up. Without VLD, the program works. I saw someone had the same issue on VLD2.2 and I tried their solution. I have copied the content of win64 (e.g. dbghelp.dll, etc) to the same directory as the binary but that didn't fix the issue.

The console shows.
Visual Leak Detector read settings from: C:\Program Files (x86)\Visual Leak Detector\vld.ini
Visual Leak Detector Version 2.5 installed.
VS2013 on Windows 10.
Aug 18, 2016 at 8:35 PM
I want to note that the bug can be reproduced with a simple console project.
Aug 30, 2016 at 9:32 AM
Since I upgraded to Windows 10 anniversary edition (14393) I get the same exception when running x64 compiled exes, x86 works fine.
Oct 2, 2016 at 3:25 PM
Edited Oct 5, 2016 at 12:33 AM
Same problem with every project here as well (Windows 10 x64 Build 14393):
The .exe exits with error (0xc0150002).

If the issue won't be fixed, at least it could be documented somewhere?
Oct 5, 2016 at 12:28 AM
Just build in 32bit. Works just fine on Windows 10 for me.
Oct 5, 2016 at 12:35 AM
Found a product that is still maintained: Deleaker
Oct 5, 2016 at 2:49 AM
Looking at vld.cpp, I think the problem is the patching of NtDll is wrong with newer version of windows. I think I can fix it, but I need some help but I need a screenshot. If anyone has Windows 7 64bit, please git clone the repo, use vs2015 to compile a 64bit version of the project, then run test_basics. All tests should pass and the program exists without a crash. If this is the case, place a break point at the line "NtDllPatch.pPatchAddress = NtDllFindParamAddress(pReturnAddress);" in vld.cpp. When it breaks, please screenshot the disassembly of the address in pReturnAddress. I believe the byte code for finding the params, call address and the patched byte codes all need to be updated.
Oct 5, 2016 at 8:47 AM