Hi all,
I’m struggling on an issue that the DTM test exposed and I’d like to know from you if anything comes to your mind.
I wrote an HID filter driver using the kmdf framework and, at least functionally, seems to work just fine. I then went on testing it with the DTM and I found this failure during the CHAOS test. I have a minidump and I’m trying to gather something out of it but I can’t make much sense of it: the failure happens into a completion routine of an IoRead on a WdfRequestRetrieveOutputBuffer. Interestingly enough the stack trace shows a GetMemory in the framework just before the crash and wdfcrashdump shows as last log
GetMemoryObject - Unrecognized Major Function 0x0 on WDFDEVICE 0x0000057FFCFEA738 WDFREQUEST 0x0000057FFCA83B28
From the docs it seems that the only way for WdfRequestRetrieveOutputBuffer to crash is to provide an invalid request handle. A few lines of code before that though, I call WdfRequestGetFileObject on that very same request and that goes through successfully. Also I don’t even know if I have a way to check for sanity of the request handle even if I wanted to.
Does anybody know if there’s a deeper meaning to this?
Thank you so much in advance for your help,
Marco.