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

Article ID: 2743712 - View products that this article applies to.
Expand all | Collapse all

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.

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.

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
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See Terms of Use for other considerations.

Properties

Article ID: 2743712 - Last Review: August 27, 2012 - Revision: 1.0
Applies to
  • Windows 7 Home Basic
  • Windows 7 Home Premium
  • Windows 7 Professional
  • Windows 7 Enterprise
  • Windows 7 Ultimate
Keywords: 
KB2743712

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com