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/
I have a client who has asked me to chase down some APC_INDEX_MISMATCH crashes. The crash says some driver has disabled kernel APCs without re-enabling them. The suspect driver is a registry callback filter, but it does nothing that would affect the APC state. The BSOD happens in their Windows service, but not inside their driver. Their driver IS running in another CPU, but it has just started a callback and is still fetching handles and contexts.
So, what seemingly innocent operations would disable kernel APCs? Are these mismatches detected immediately, or can this be leftover from other operations? I'm suspicious because the thread being blamed is not the one with the suspect driver, although it's doing an inverted call completion for every filtered operation, so the service interacts with the driver a lot.
Tim Roberts, [email protected]
Providenza & Boekelheide, Inc.
|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!|
|Developing Minifilters||24 May 2021||Live, Online|
|Writing WDF Drivers||14 June 2021||Live, Online|
|Internals & Software Drivers||27 September 2021||Live, Online|
|Kernel Debugging||15 November 2021||Live, Online|