Application Verifier - Stop Codes - Hangs

The Hangs tests for the use of APIs that cause the system to become unresponsive, for example when the DllMain thread is waiting for another thread that was blocked.

The following stop codes are contained in this set of tests.

The application called a blocking API from a thread that owns one or more HWNDs, causing an unresponsive user interface. The API should be called from a background thread.

Probable cause

The application called a blocking API from a thread that owns one or more HWNDs, causing an unresponsive user interface. The API should be called from a background thread.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Window Handle
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_BLOCKING_API
  • Stop code: 2000000
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called an API to play a sound synchronously from a user interface thread. This caused the user interface to be unresponsive.

Probable cause

Called an API to play a sound synchronously from a user interface thread. This caused the user interface to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Window Handle
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_SYNCHRONOUS_PLAY_SOUND
  • Stop code: 2000001
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called an API with a slow file path parameter from a UI thread, causing an unresponsive user interface. This API should be called from a background thread.

Probable cause

Called an API with a slow file path parameter from a UI thread, causing an unresponsive user interface. This API should be called from a background thread.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Window Handle
  • Parameter 3 - File Path Type
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_SLOW_FILE_PATH
  • Stop code: 2000002
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

GUI thread was waiting for another thread that was blocked. This blocked wait chain caused the user interface to be unresponsive.

Probable cause

GUI thread was waiting for another thread that was blocked. This blocked wait chain caused the user interface to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Blocked HWND
  • Parameter 3 - Background Thread ID
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_BLOCKED_WAIT_CHAIN
  • Stop code: 2000004
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

GUI thread was blocked while waiting for a resource in a different process. This blocked wait chain caused the user interface to be unresponsive.

Probable cause

GUI thread was blocked while waiting for a resource in a different process. This blocked wait chain caused the user interface to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Blocked HWND
  • Parameter 3 - Blocking Process ID
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_BLOCKED_WAIT_CHAIN_PROCESS
  • Stop code: 2000005
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Deadlock detected between the GUI thread and one or more background threads. This caused the user interface to be unresponsive.

Probable cause

Deadlock detected between the GUI thread and one or more background threads. This caused the user interface to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Blocked HWND
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_BLOCKED_WAIT_CHAIN_DEADLOCK
  • Stop code: 2000006
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

GUI thread was blocked for an extended duration, causing an unresponsive user interface.

Probable cause

GUI thread was blocked for an extended duration, causing an unresponsive user interface.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Window Handle
  • Parameter 3 - Duration (ms)
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_LONG_OPERATION
  • Stop code: 2000007
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Timeout parameter supplied to API has the potential to block a GUI Thread for an extended duration, causing an unresponsive user interface.

Probable cause

Timeout parameter supplied to API has the potential to block a GUI Thread for an extended duration, causing an unresponsive user interface.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Window Handle
  • Parameter 3 - Timeout Parameter Value
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_LONG_OPERATION_POSSIBLE
  • Stop code: 2000008
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

An API that accesses a slow printer resource was called on the UI thread. This caused the user interface to be unresponsive.

Probable cause

An API that accesses a slow printer resource was called on the UI thread. This caused the user interface to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked GUI Thread ID
  • Parameter 2 - Window Handle
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: UIBLOCK_PRINTER_RESOURCE
  • Stop code: 2000009
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called a blocking API from within DllMain. This caused other threads to be unresponsive.

Probable cause

Called a blocking API from within DllMain. This caused other threads to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_BLOCKING_API
  • Stop code: 200000A
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called an API to play a sound synchronously from within DllMain. This caused other threads to be unresponsive.

Probable cause

Called an API to play a sound synchronously from within DllMain. This caused other threads to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_SYNCHRONOUS_PLAY_SOUND
  • Stop code: 200000B
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called an API with a slow file path parameter from within DllMain. This caused other threads to be unresponsive.

Probable cause

Called an API with a slow file path parameter from within DllMain. This caused other threads to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - File Path Type
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_SLOW_FILE_PATH
  • Stop code: 200000C
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

DllMain thread was waiting for another thread that was blocked. This blocked wait chain caused other threads to be unresponsive.

Probable cause

DllMain thread was waiting for another thread that was blocked. This blocked wait chain caused other threads to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Blocking Thread ID
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_BLOCKED_WAIT_CHAIN
  • Stop code: 200000E
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

DllMain thread was blocked while waiting for a resource in a different process. This blocked wait chain caused other threads to be unresponsive.

Probable cause

DllMain thread was blocked while waiting for a resource in a different process. This blocked wait chain caused other threads to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Blocking Process ID
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_BLOCKED_WAIT_CHAIN_PROCESS
  • Stop code: 200000F
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Deadlock detected within a DllMain call. This caused other threads to be unresponsive.

Probable cause

Deadlock detected within a DllMain call. This caused other threads to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_BLOCKED_WAIT_CHAIN_DEADLOCK
  • Stop code: 2000010
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

DllMain thread was blocked for an extended duration, causing an unresponsive application.

Probable cause

DllMain thread was blocked for an extended duration, causing an unresponsive application.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Duration (ms)
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_LONG_OPERATION
  • Stop code: 2000011
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Timeout parameter supplied to API has the potential to block DllMain for an extended duration, causing an unresponsive application.

Probable cause

Timeout parameter supplied to API has the potential to block DllMain for an extended duration, causing an unresponsive application.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Timeout Parameter Value
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_LONG_OPERATION_POSSIBLE
  • Stop code: 2000012
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

An API that accesses a slow printer resource was called from within DllMain. This caused other threads to be unresponsive.

Probable cause

An API that accesses a slow printer resource was called from within DllMain. This caused other threads to be unresponsive.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DLLMAINBLOCK_PRINTER_RESOURCE
  • Stop code: 2000013
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called a blocking API on a 'special' thread that has been designated as a thread that should not become blocked.

Probable cause

The application called a blocking API on a designated 'special' thread that should not become blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_BLOCKING_API
  • Stop code: 2000014
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called an API to play a sound synchronously from a 'special' thread that should not be blocked.

Probable cause

The application called an API which is responsible for playing a multimedia sound. The parameter that controls how the sound is played passed to this API could lead to an application hang, as it was called on a 'special' thread that should not be blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_SYNCHRONOUS_PLAY_SOUND
  • Stop code: 2000015
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Called an API from a designated 'special' thread with a slow file path parameter that could cause the application to hang.

Probable cause

Called an API from a designated 'special' thread with a slow file path parameter that could cause the application to hang. The special thread should not be blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - File Path Type
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_SLOW_FILE_PATH
  • Stop code: 2000016
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

A designated 'special' thread was waiting for another thread that was blocked. This blocked wait chain can cause the application to hang, as that thread should not be blocked.

Probable cause

A designated 'special' thread was waiting for another thread that was blocked. This blocked wait chain can cause the application to hang, as that thread should not be blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Blocking Thread ID
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_BLOCKED_WAIT_CHAIN
  • Stop code: 2000018
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

A designated 'special' thread was blocked while waiting for a resource in a different process. This blocked wait chain can cause the application to not respond.

Probable cause

A designated 'special' thread was blocked while waiting for a resource in a different process. This blocked wait chain can cause the application to not respond.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Blocking Process ID
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_BLOCKED_WAIT_CHAIN_PROCESS
  • Stop code: 2000019
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Deadlock detected on a designated 'special' thread. This can cause the application to not respond, as that thread should not become blocked.

Probable cause

Deadlock detected on a designated 'special' thread. This can cause the application to not respond, as that thread should not become blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_BLOCKED_WAIT_CHAIN_DEADLOCK
  • Stop code: 200001A
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

A designated 'special' thread was blocked for an extended duration, causing an unresponsive application.

Probable cause

A designated 'special' thread was blocked for an extended duration, causing an unresponsive application. This thread should not be blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Duration (ms)
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_LONG_OPERATION
  • Stop code: 200001B
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Timeout parameter supplied to API has the potential to block a designated 'special' thread for an extended duration, causing an unresponsive user interface.

Probable cause

Timeout parameter supplied to API has the potential to block a designated 'special' thread for an extended duration, causing an unresponsive user interface. This thread should not be blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - Timeout Parameter Value
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_LONG_OPERATION_POSSIBLE
  • Stop code: 200001C
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

An API that accesses a slow printer resource was called on designated 'special' thread that should not be blocked.

Probable cause

This function should not be called on a designated 'special' thread since it can wait on a slow printer resource. A thread designated as special should not become blocked.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - Window Handle
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: SPECIALTHREADBLOCK_PRINTER_RESOURCE
  • Stop code: 200001D
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Thread attempted to create another thread from within DllMain. The new thread will immediately become blocked until DllMain exits. If the calling thread attempts to synchronize with the new thread while still inside DllMain, a deadlock will result.

Probable cause

Thread attempted to create another thread from within DllMain. The new thread will immediately become blocked until DllMain exits. If the calling thread attempts to synchronize with the new thread while still inside DllMain, a deadlock will result.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - N/A
  • Parameter 3 - N/A
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DEADLOCK_CREATETHREAD_LOADERLOCKED
  • Stop code: 200001E
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

Thread attempted to call SendMessage/SendMessageTimeout (with HWND target on another thread) or DispatchMessage while holding a critical section. This can cause a deadlock or application unresponsiveness.

Probable cause

Thread attempted to call SendMessage/SendMessageTimeout (with HWND target on another thread) or DispatchMessage while holding a critical section. This can cause a deadlock or application unresponsiveness.

Information displayed by Application Verifier
  • Format: - API Name: %ws
  • Parameter 1 - Blocked Thread ID
  • Parameter 2 - Locked Critical Section (use !cs [addr])
  • Parameter 3 - If SendMessage, target HWND. If DispatchMessage, MSG (use dt MSG [addr])
  • Parameter 4 - N/A

Additional Information
  • Test Layer: Hangs
  • Stop ID: DEADLOCK_SENDMESSAGE_CRITSECT
  • Stop code: 200001F
  • Severity: Warning
  • One-time error: 
  • Error report: None
  • Log to file: yes
  • Create backtrace: yes

See Also

Application Verifier - Stop Codes and Definitions

Application Verifier - Overview

Application Verifier - Features

Application Verifier - Testing Applications

Application Verifier - Tests within Application Verifier

Application Verifier - Debugging Application Verifier Stops

Application Verifier - Frequently Asked Questions