noble / node-bluetooth-hci-socket

MIT License
153 stars 188 forks source link

Segfaults/assertion errors (when no BT hardware is available?) #115

Closed akx closed 1 year ago

akx commented 5 years ago

It seems this library can cause segfaults or libuv assertion errors when run in certain configurations, e.g. here on CircleCI. https://circleci.com/gh/akx/ruuvidriver/38

I imagine this is due to the lack of error checking around bind calls such as https://github.com/noble/node-bluetooth-hci-socket/blob/916158269f7e48ddc73d2448d2634e91538c8991/src/BluetoothHciSocket.cpp#L164 etc.

akx commented 1 year ago

Closing, I fixed this in https://github.com/abandonware/node-bluetooth-hci-socket/pull/8 but I suppose this project is dead as a doorstop.