Windows System Software -- Consulting, Training, Development -- Unique Expertise, Guaranteed Results
The free OSR Learning Library has more than 50 articles on a wide variety of topics about writing and debugging device drivers and Minifilters. From introductory level to advanced. All the articles have been recently reviewed and updated, and are written using the clear and definitive style you've come to expect from OSR over the years.
Check out The OSR Learning Library at: https://www.osr.com/osr-learning-library/
Hi,
I am installing network low wait filter driver (NDIS 6.0 PCAUSA).
As soon as driver getting started system crashing with blue screen of death.
OS:- Windows 7 professional x64.
Processor:- Intel64 Family 6 Model 60 Stepping 3 GenuineIntel 1488 Mhz
attached dump analysis.
Please help with above issue.
Thank you in advance.
Upcoming OSR Seminars | ||
---|---|---|
OSR has suspended in-person seminars due to the Covid-19 outbreak. But, don't miss your training! Attend via the internet instead! | ||
Kernel Debugging | 13-17 May 2024 | Live, Online |
Developing Minifilters | 1-5 Apr 2024 | Live, Online |
Internals & Software Drivers | 11-15 Mar 2024 | Live, Online |
Writing WDF Drivers | 26 Feb - 1 Mar 2024 | Live, Online |
Comments
And your use of timers?
Hi ,
find attachment.
this might help.
Thank you.
Hi rod_widdowson,
if you need my dmp fileplease let me know.
I will attach it.
No, it doesn't really help. Have you looked at the dump? It says the system tried to dereference a null pointer while processing a timer expiration. What that probably means is that you have created a timer incorrectly, maybe with a null callback. What Rod was asking for is for you to post your code that deals with timers.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
Hi,
Find attachment.
Code section where using timers.
Thank you.
This isn't related to the timer problem, but in your FiniFltr routine, the very last thing you do is release two spin locks AFTER you have already deleted them. That's guaranteed to explode.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
ok let me check with that solution if it works.
I made changes but still crashing.
i m attaching my filter code.
this might help.
Thank you.
Hi Anurag,
I suggest you to collect dump file by enabling driver verifier. select only your driver and then check the crashing thread call stack.
Regards,
Sai
Hi Sai,
I checked with Driver verifier also, Same dump it is giving.
Regards,
Anurag
You're not giving us NEARLY enough specific information to be able to debug this problem... and it sounds to me like you're not doing enough debugging yourself.
If I were you, I would not expect anyone here in the community to do a code-review of the source code for your driver (provided as a text file). I mean, I dunno... maybe somebody will. But I won't even OPEN an attached text file.
Peter
OSR
Peter Viscarola
OSR
@OSRDrivers
I looked at, but there's too much code to desk-check it all, and the massive use of globals horrified me. You're going to have to add some debug trace messages so you can see how far you get before it explodes.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
Hi Tim
I tried by adding debug messages but in dbgview it is not event showing debug message of driverentry function.
I am checking with my system's other drivers also.
might be somebody else creating issue.
Thank you