You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I agree to follow the Code of Conduct that this project adheres to.
I have searched the issue tracker for a bug report that matches the one I want to file, without success.
Electron Version
18.1.0
What operating system are you using?
Other Linux
Operating System Version
Arch Linux: Linux kyle-workstation 5.16.16-arch1-1 #1 SMP PREEMPT Mon, 21 Mar 2022 22:59:40 +0000 x86_64 GNU/Linux
What arch are you using?
x86_64
Last Known Working Electron version
N/A
Expected Behavior
When the button is clicked, the serial port should connect to the device that is plugged in and print out the port permissions.
Actual Behavior
When the serial device is plugged in to the machine running our built app, it crashes calling requestPort.
While creating the gist, I was unable to reproduce this just by calling requestPort, but by unplugging the device after calling requestPort or immediately calling getPorts after requestPort, it crashes with the same stack trace.
This might be an issue with the way the RFID serial device communicate over serial, since this method of connecting works with the barcode scanner we have.
Preflight Checklist
Electron Version
18.1.0
What operating system are you using?
Other Linux
Operating System Version
Arch Linux: Linux kyle-workstation 5.16.16-arch1-1 #1 SMP PREEMPT Mon, 21 Mar 2022 22:59:40 +0000 x86_64 GNU/Linux
What arch are you using?
x86_64
Last Known Working Electron version
N/A
Expected Behavior
When the button is clicked, the serial port should connect to the device that is plugged in and print out the port permissions.
Actual Behavior
When the serial device is plugged in to the machine running our built app, it crashes calling requestPort.
While creating the gist, I was unable to reproduce this just by calling requestPort, but by unplugging the device after calling requestPort or immediately calling getPorts after requestPort, it crashes with the same stack trace.
Testcase Gist URL
https://gist.github.com/4c31f45fda81126709be74bbd80e52a3
Additional Information
This might be an issue with the way the RFID serial device communicate over serial, since this method of connecting works with the barcode scanner we have.
Thank you for your time.
Tested Versions:
This happens with the RFID card readers we have, but not the Barcode Scanners. Both use the same serial interface to connect.
Fiddle Output (crashing on navigator.serial.getPort)
Built App stack trace (navigator.serial.requestPort)
The text was updated successfully, but these errors were encountered: