ntdll/tests: Dump the handle table on failure.

Sebastian Lackner sebastian at fds-team.de
Wed Aug 17 09:07:28 CDT 2016


On 17.08.2016 16:01, Huw Davies wrote:
> 
>> On 17 Aug 2016, at 14:54, Sebastian Lackner <sebastian at fds-team.de> wrote:
>>
>> On 17.08.2016 14:45, Huw Davies wrote:
>>> Signed-off-by: Huw Davies <huw at codeweavers.com>
>>> ---
>>> dlls/ntdll/tests/info.c | 6 +++++-
>>> 1 file changed, 5 insertions(+), 1 deletion(-)
>>>
>>
>> I assume this is for bug 40106, right? I also investigated it back then,
>> and it looked like a kernel bug to me. If I remember correctly it was
>> somehow triggered by a large number of allocated handles.
> 
> Yes, I was wondering whether it was a simple as needing to compare
> the LOWORD of the handle.
> 
> Huw.
> 

I think I tried that back then, and it was not sufficient. Afaik the whole
structure was somehow messed up (including other fields not included in your
trace yet) and I suspected that it was returning random kernel memory.
I am not sure about all details anymore, and maybe I also made just a stupid
mistake while testing. Nevertheless, thanks for your help, maybe you can find
out more. ;)

Regards,
Sebastian




More information about the wine-devel mailing list