Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CCB: Fix dead lock in usb connection #3189

Closed
LitvinenkoIra opened this issue Dec 6, 2019 · 2 comments
Closed

CCB: Fix dead lock in usb connection #3189

LitvinenkoIra opened this issue Dec 6, 2019 · 2 comments

Comments

@LitvinenkoIra
Copy link
Contributor

Bug Report

Data races related to UsbConnection

Detailed analysis:

In a while called method locks mutex for protecting data and if USB connection is failed it means that method will call and will try to lock the same mutex again. That's why this mutex should be recursive.

Reproduction Steps
  1. TBD
Expected Behavior

SDL should not crash

Observed Behavior

SDL crashed

OS & Version Information

@AKalinich-Luxoft
Copy link
Contributor

@theresalech fix has been submitted and ready for Livio review

@ShobhitAd
Copy link
Contributor

Closed via #3494

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants