Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

A Windows 7 machine may encounter Bugcheck 0x000000D1 while reading data in a loop from a USB-Serial device


View products that this article applies to.

Symptoms

Consider the following scenario:

You have a Windows 7 machine.
You have a serial USB device, while the device reads data in a loop from a USB Serial device; you encounter a Bugcheck 0x000000D1.

↑ Back to the top


Cause

The bugcheck occurs due to a synchronization problem in a code path where it completes a IRP while another is trying to process it.

↑ Back to the top


Resolution

Workarounds:

1. Do not use COMMTIMEOUTS in your device, but Application level timeouts.
2. Move to WinUsb/UMDF.
3. Use the UsbSer source code which is released in the Windows Driver Kit (WDK).
http://msdn.microsoft.com/en-us/library/windows/hardware/gg487428.aspx

↑ Back to the top


Keywords: kb

↑ Back to the top

Article Info
Article ID : 2743712
Revision : 1
Created on : 1/7/2017
Published on : 8/27/2012
Exists online : False
Views : 182