-
Notifications
You must be signed in to change notification settings - Fork 7
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
kiosk-browser possibly crashing on Ubuntu20/Debian #1377
Comments
Initial investigation notes: https://votingworks.slack.com/archives/CEL6D3GAD/p1643673731433799 |
I have seen this sometimes just ctrl+c-ing out of kiosk-browser but I'm not completely sure if thats the same error. The best way to repro involves a few minor changes to the code:
At least on Ubuntu 20 the seg fault seemed to happen when this window.kiosk.quit() was called: https://github.com/votingworks/vxsuite/blob/main/frontends/bmd/src/app_root.tsx#L1382 which itself calls app.quit() in electron: https://github.com/votingworks/kiosk-browser/blob/main/src/ipc/quit.ts#L14 |
I've successfully repro'd this on Debian. |
Running with gdb (which is not very informative for an electron app, but I digress), it looks like the SIGSEGV is maybe coming from libudev. Investigating more... |
Interesting, the crash doesn't happen until after a card reader is plugged in. |
Triggered by our usb-detection node module. |
Running with node's |
I've replicated this issue on Debian 10, which is interesting. It may not be a udev problem, per se, but something about what the usb-detection module is doing. |
This issue has been on usb-detector's issue tracker for a while, apparently: MadLittleMods/node-usb-detection#57 (comment) |
No description provided.
The text was updated successfully, but these errors were encountered: