This article was previously published under Q195857
While shutting down an application the system may stop with a STOP0x0000001E or STOP 0x00000024 error message. In the case of the STOP0x0000001E the first parameter will always be C0000005.
This problem occurs when an application opens a lot of handles but nevercloses them. This has been seen when an application continually opens aregistry key but never closes it. When the application is closed the systemattempts to close all of the keys but runs out of system resources whiledoing it.
To resolve this problem, the application has to be modified to close theregistry key when it is done with it.