ovidiuvio/VSDebugPro

memdump error

sunbinjin opened this issue · 6 comments

system:win10
vs:2017
app:x64
error wen memdump

the memory is big than dump size.

image

dumpmem -f e:\memdump.bin 0x00000205F5241080 16588800
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.

is it always happening ?. Could you provide more details ?.

I tried again today. It's successful. Maybe it can't be repeated.

I'm having the same issue:

>dumpmem sample.raw mImageData mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>dumpmem d:\sample.raw mImageData mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>dumpmem -f d:\sample.raw mImageData mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>dumpmem -f d:\Temp\sample.raw mImageData mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>dumpmem -f d:/Temp/sample.raw mImageData mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>dumpmem -f d:/Temp/sample.bin mImageData mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>dumpmem -f d:/Temp/sample.bin 0x000002c9b2f30000 mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>dumpmem -f d:/Temp/sample.raw mImageData mSize.X * mSize.Y * 4
Couldn`t dump memory to file!
Error code:-1 - NtdbgFail.
>

Environment:
Win 10 Pro x64
Visual Studio 2019 16.8.6

The issue happens all the time. I've also tried running VS as an administrator but with same effect.
I've also noticed that plugin settings are lost everytime after I restart VS.

Apparently restarting the computer after the plugin is installed does make the dump succeed.

>dumpmem -f d:\Temp\sample.raw mImageData mSize.X * mSize.Y * 4
Wrote: 2240000 bytes to: <file://d:\Temp\sample.raw>.
>

however the settings are still lost after each restart of VS.

Apparently restarting the computer after the plugin is installed does make the dump succeed.

>dumpmem -f d:\Temp\sample.raw mImageData mSize.X * mSize.Y * 4
Wrote: 2240000 bytes to: <file://d:\Temp\sample.raw>.
>

however the settings are still lost after each restart of VS.

Hi,

for memdump error, latest build on github releases page 3.4.0.0 changes the way memory is read / written. This should fix the occasional access denied error.