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

node-bridge "Segmentation fault: 11" #12163

Closed
mroz22 opened this issue Apr 26, 2024 · 2 comments
Closed

node-bridge "Segmentation fault: 11" #12163

mroz22 opened this issue Apr 26, 2024 · 2 comments
Labels
Bridge -> nodeUSB bug Something isn't working as expected

Comments

@mroz22
Copy link
Contributor

mroz22 commented Apr 26, 2024

getting this error time to time

Segmentation fault: 11

when running node-bridge. using mac arm, node 18. hope it will go away in node20 🙏

@mroz22
Copy link
Contributor Author

mroz22 commented Jul 7, 2024

  • node --version v20.12.2
  • connect 1 device (model One in my case)
  • run node-bridge `node packages/transport-bridge/dist/bin.js
  • open 2 suites at once open http://localhost:8000 http://localhost:8000

get segmentation fault: 11 error

log:

@trezor/transport-bridge Handling request for POST /
@trezor/transport-bridge Handling request for POST /enumerate
@trezor/transport-bridge usb: enumerate
@trezor/transport-bridge usb: enumerate done. connected devices.length: 5. trezor old (hid) devices: 0. trezor devices: 1
@trezor/transport-bridge usb: creating device {"productName":"TREZOR","manufacturerName":"SatoshiLabs","serialNumber":"185B982B5F37F9D96706EC49","vendorId":4617,"productId":21441,"deviceVersionMajor":1,"deviceVersionMinor":0,"opened":false,"deviceProtocol":0,"deviceClass":0,"deviceSubclass":0,"usbVersionMajor":2,"usbVersionMinor":1,"usbVersionSubminor":0}
@trezor/transport-bridge usb: loadSerialNumber
@trezor/transport-bridge usb: loadSerialNumber done, serialNumber: 185B982B5F37F9D96706EC49
@trezor/transport-bridge http: sessionsClient reported descriptors: [{"path":"185B982B5F37F9D96706EC49","type":1,"product":21441,"session":null}]
@trezor/transport-bridge Handling request for POST /listen
@trezor/transport-bridge Handling request for POST /acquire/185B982B5F37F9D96706EC49/null
@trezor/transport-bridge usb: openDevice attempt 0
@trezor/transport-bridge usb: device.open
@trezor/transport-bridge usb: device.open done. device: {"productName":"TREZOR","manufacturerName":"SatoshiLabs","serialNumber":"185B982B5F37F9D96706EC49","vendorId":4617,"productId":21441,"deviceVersionMajor":1,"deviceVersionMinor":0,"opened":true,"deviceProtocol":0,"deviceClass":0,"deviceSubclass":0,"usbVersionMajor":2,"usbVersionMinor":1,"usbVersionSubminor":0}
@trezor/transport-bridge usb: device.selectConfiguration 1
@trezor/transport-bridge usb: device.selectConfiguration done: 1. device: {"productName":"TREZOR","manufacturerName":"SatoshiLabs","serialNumber":"185B982B5F37F9D96706EC49","vendorId":4617,"productId":21441,"deviceVersionMajor":1,"deviceVersionMinor":0,"opened":true,"deviceProtocol":0,"deviceClass":0,"deviceSubclass":0,"usbVersionMajor":2,"usbVersionMinor":1,"usbVersionSubminor":0}
@trezor/transport-bridge usb: device.reset
@trezor/transport-bridge http: sessionsClient reported descriptors: [{"path":"185B982B5F37F9D96706EC49","type":1,"product":21441,"session":"1"}]
@trezor/transport-bridge Handling request for POST /
@trezor/transport-bridge Handling request for POST /enumerate
@trezor/transport-bridge usb: enumerate
@trezor/transport-bridge usb: enumerate done. connected devices.length: 5. trezor old (hid) devices: 0. trezor devices: 1
@trezor/transport-bridge usb: creating device {"productName":"TREZOR","manufacturerName":"SatoshiLabs","serialNumber":"185B982B5F37F9D96706EC49","vendorId":4617,"productId":21441,"deviceVersionMajor":1,"deviceVersionMinor":0,"opened":true,"deviceProtocol":0,"deviceClass":0,"deviceSubclass":0,"usbVersionMajor":2,"usbVersionMinor":1,"usbVersionSubminor":0}
@trezor/transport-bridge usb: loadSerialNumber
Segmentation fault: 11

@mroz22
Copy link
Contributor Author

mroz22 commented Dec 3, 2024

it works now on my machine

@mroz22 mroz22 closed this as completed Dec 3, 2024
@github-project-automation github-project-automation bot moved this from 🎯 To do to 🤝 Needs QA in Suite Desktop Dec 3, 2024
@bosomt bosomt moved this from 🤝 Needs QA to ✅ Approved in Suite Desktop Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bridge -> nodeUSB bug Something isn't working as expected
Projects
Archived in project
Development

No branches or pull requests

1 participant