Too many open PrintTicket provider handles (HPTPROVIDER) |
Application Verifier break message
Too many open PrintTicket provider handles (HPTPROVIDER)
Probable cause
Too many PrintTicket provider handles were opened by calling PTOpenProvider(Ex). This might be the result of not calling PTCloseProvider when the handle is no longer needed, creating a resource leak.
The following sample debugger output shows the AppVerifier message that is displayed when 0x000003EB (1003) PrintTicket handles have been opened. In this case, AppVerifier would show this warning three times, one for each handle that is opened after 1,000 handles were open.
=======================================
VERIFIER STOP 0000A00D : pid 0xFBC: Too many open PrintTicket provider handles (HPTPROVIDER)
000003EB : Number of currently opened PrintTicket provider handles.
00000000 : Not used.
00000000 : Not used.
00000000 : Not used.
=======================================
Troubleshooting Steps
This stop is a warning. It might be normal to have more than 1,000 PrintTicket provider handles if the print server has many printers or it might be the result of a resource leak. A resource leak could be caused by not calling PTCloseProvider when necessary. If you think that the number is too high for the number of printers, then review the source code to determine if the print ticket provider handles are being opened and closed correctly.
Information displayed by Application Verifier
Parameter 1�-�Number of currently opened PrintTicket provider handles.
Parameter 2�-�Not used.
Parameter 3�-�Not used.
Parameter 4�-�Not used.
Additional information
Test Layer:�PrintAPI
Stop code:�0000A00D
Severity:�Warning
One-time error:�no
Error report:�None
Log to file:�yes
Create backtrace:�yes