Ticket #154 (new defect)

Opened 5 years ago

Last modified 5 years ago

Blue Screen of Death when powering down the device

Reported by: luctius Owned by:
Milestone: Component: libusb-1.0 Windows backend
Keywords: Cc:
Blocked By: Blocks:


We have build a custom usb device using an Cyprus FX2. This device uses an external power adapter.

When disconnecting the power source while trying to retreive data using an bulk endpoint, in about 90% of the cases, we get an bsod in about 2 or 3 seconds.

This does not happen on Mac OSX nor Linux and as far as I can tell, only on 64bit windows. I tested using 32 and 64 bit windows 7 installations.


dump.txt (64.2 KB) - added by luctius 5 years ago.
Kernel dump as viewed by WinDbg?

Download all attachments as: .zip

Change History

Changed 5 years ago by luctius

Kernel dump as viewed by WinDbg?

comment:1 Changed 5 years ago by stuge

See also https://libusb.org/ticket/146 for another instance of the WinUSB.sys kernel driver (by Microsoft) causing a bluescreen.

It's not really a problem for libusb can solve since the library just calls the WinUSB userspace API, and I'm not too eager to add a workaround for WinUSB kernel driver issues into libusb. Microsoft should just fix their driver. The problem seems rare though, so maybe we can help them with some useful information. As Tim points out in ticket 146 someone may have to file a support incident and give MS some money.

Note: See TracTickets for help on using tickets.