Home
Support

Knowledge Base

BSPs and drivers
Community resources
Product documentation
Questions?
Contact us

Rare io-usb crash on insertion and removal of certain USB memory stick
 
________________________________________________________________________

Applicable Environment
________________________________________________________________________
  • Topic: Rare io-usb crash on insertion and removal of certain USB memory stick
  • SDP: 6.4.1
  • Target: Any supported target
________________________________________________________________________

Solution
________________________________________________________________________

A crash of io-usb has been observed upon the insertion and removal of a certain USB memory stick. This crash occurred using the GA 6.4.1 OS and drivers.

The root cause was identified as a very hard to trigger (timing dependent) bug in io-usb. The crash occurred during device removal when looking up the device address in the device table. The devices address is temporarily set to 0 when re-assigning the devices address. If setting the address fails, the original device address was not being properly restored, so future look-ups into the device table were getting the wrong address (0) leading to the crash.

This issue is documented and has been resolved in PR#75719. This fix will be in 6.5.0 and future GA releases.

________________________________________________________________________
NOTE: This entry has been validated against the SDP version listed above. Use caution when considering this advice for any other SDP version. For supported releases, please reach out to QNX Technical Support if you have any questions/concerns.
________________________________________________________________________


Related Attachments
 None Found





Please contact us with your questions or concerns.