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

Rare hang issue with multiple readers #241

Open
emaxx-google opened this issue Nov 6, 2020 · 2 comments
Open

Rare hang issue with multiple readers #241

emaxx-google opened this issue Nov 6, 2020 · 2 comments
Labels

Comments

@emaxx-google
Copy link
Collaborator

We received a few random bug reports that sometimes the Smart Card Connector app may hang when using multiple readers.

Some of the reports (note that we don't know for sure whether they stem from the same root cause):

  • <20200918> When plugging in the second reader, its state freezes on the "yellow" step ("initializing"). After unplugging the first reader, the initialization of the second reader completes and the reader begins to work without a problem.
  • <20201106> When plugging in the second reader and unplugging it quickly after that, its state freezes on the "yellow" step ("initializing"). Logs: smart-card-connector-20201106-hang-when-unplugging.txt
  • <20201106> The device's state freezes on the "green" step even after unplugging the device. Logs:
    smart-card-connector-20201106-removal-nothing-happens.txt
@emaxx-google
Copy link
Collaborator Author

Some potential directions to investigate for this bug:

  • It might be some deadlock in the CCID Driver code;
  • It might be a bug in our libusb-to-chrome.usb bridge implementation;
  • It might be a bug in the Chrome's chrome.usb implementation (for posterity, an example of a similar old bug: crbug.com/968111).

@emaxx-google
Copy link
Collaborator Author

emaxx-google commented Nov 10, 2020

And one more idea:

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

No branches or pull requests

1 participant