Attempt to use a freed PRINTER_NOTIFY_INFO object |
Application Verifier break message
Attempt to use a freed PRINTER_NOTIFY_INFO object
Probable cause
A PRINTER_NOTIFY_INFO object was used after it has been freed.
Troubleshooting steps
The sample debugger output below illustrates the following troubleshooting steps:
-
To see the routine that tried to use the freed PRINTER_NOTIFY_INFO object, dump the current stack trace by using the �k' command in the debugger.
-
To dump the stack trace of the routine that closed the handle, use the dps command with the second parameter of the stop.
� | Copy Code |
---|---|
======================================= VERIFIER STOP 0000A009 : pid 0x1B8: Attempt to use a freed PRINTER_NOTIFY_INFO object 040CEFA8 : Address of the PRINTER_NOTIFY_INFO being accessed. 02F81F58 : Stack trace of the closing. Use dps to dump the stack trace if it is not NULL. 00000000 : Not used. 00000000 : Not used. ======================================= 0:000> k ChildEBP RetAddr 000cf628 7332385b ntdll!DbgBreakPoint 000cf82c 7136708e vrfcore!VerifierStopMessageEx+0x4bd 000cf860 713684a4 vfprint!CResourceUsageMgr<_PRINTER_NOTIFY_INFO *,CItemTracker<_PRINTER_N OTIFY_INFO *> >::ClosedHandleCheck+0x49 000cf904 0014352a vfprint!VfHookFreePrinterNotifyInfo+0xf1 000cf914 00142edc UnitTestvfPrint!UsePRINTER_NOTIFY_INFOAfterClose+0x2a * The routine that tried to use the freed PRINTER_NOTIFY_INFO object 0:000> dps 02F81F58 02f81f58 7137cc12 vfprint!CaptureStack+0x17 02f81f5c 713683f9 vfprint!VfHookFreePrinterNotifyInfo+0x46 02f81f60 00143521 UnitTestvfPrint!UsePRINTER_NOTIFY_INFOAfterClose+0x21 * The routine that freed the PRINTER_NOTIFY_INFO object |
Information displayed by Application Verifier
Parameter 1�-�Address of the PRINTER_NOTIFY_INFO being accessed.
Parameter 2�-�Stack trace of the closing. Use dps to dump the stack trace if it is not NULL.
Parameter 3�-�Not used.
Parameter 4�-�Not used.
Additional information
Test Layer:�PrintAPI
Stop code:�0000A009
Severity:�Error
One-time error:�no
Error report:�Break
Log to file:�yes
Create backtrace:�yes