cccaniwrite hang when save a large ppt

In my encryption minifilter driver, I sometimes encounter a situation where the cccaniwrite call hang when attempting to save larger PPT files. Do you have any advice on how to troubleshoot the cause of such issues and if there are suitable solutions?

Do you have any advice on how to troubleshoot the cause of such issues

Same way you troubleshoot all deadlocks with your filter. Establish which resources you are blocking on and take steps to release that resource.

In this case Iā€™d suggest that CcCanIWait is stalling waiting for physical memory (which is a resource) but something is stopping the Cache- and Memory-Manager from freeing it up. Look for paging writes blocked on something, probably a lock you are holding in the ccCanIWaitThread.

1 Like