Ugh, kernel driver blues! Been working on this driver (mydriver.sys) for a while now, but it keeps crashing my system randomly.
I've tried looking at the crash dumps (with WinDbg), but I can't quite figure out what's wrong. Seems like it might be messing with memory somehow, but I'm not positive.
Here's what I know:
- Bug code: 0xD1 (DRIVER_IRQL_NOT_LESS_OR_EQUAL)
- My driver (mydriver.sys) is the culprit
- Crash happens when the driver uses a user program's memory space
I double-checked how the driver accesses user memory, but the crashes keep happening. Maybe there's some timing issue or something else going wrong, but I'm stuck!
I also check this : Tips on diagnosing system hangrails But I have not found any solution.
Anyone else ever face something similar with driver crashes? How did you debug it?
Thank you!