blogstuff icon indicating copy to clipboard operation
blogstuff copied to clipboard

FindZombieHandles fails with custom ProcessCreateTests version

Open randomascii opened this issue 5 years ago • 2 comments

The latest FindZombieHandles fails after running ProcessCreateTests from this branch/commit:

https://github.com/randomascii/blogstuff/commit/bdb648cf3c5bfebd6128a86447573ff0bf59fbd8

The error message printed is: (0xC0000023) - {Buffer Too Small} The buffer is too small to contain the entry. No information has been written to the buffer.

I have not seen the message trigger under other cases. I suspect the problem is caused by there being a very large number of processes that are holding zombie process handles, rather than it being a problem with a very large number of zombie process handles.

randomascii avatar Nov 21 '20 20:11 randomascii

Seems I fixed this issue with querying handles in the latest version of the library, just I haven't updated the version in nuget yet. I really should do that :-)

tyranid avatar Nov 21 '20 21:11 tyranid

That would be great.

randomascii avatar Nov 22 '20 22:11 randomascii