Open TheAZtech opened 1 month ago
Thank you for the report! We have had similar reports regarding bluetooth on Mac systems can cause problems and that disabling the adapter can get the application to run. I found that the simpleble library will throw an unhandled exception inside a setTimeout if it is unable to initiate a bluetooth scan causing the application to crash.
I am considering implementing a catch-all process.on('unhandledException')
since this problem is seemingly inside 3rd party library code, but I know this isn't the greatest practice. A try/catch block won't work as the exception occurs in a setTimeout call from webbluetooth
.
@TheAZtech Can you please confirm if this crash continues to occur in the latest MeshSense version (1.0.15)
Some code was added to prevent crashing particularly when the OS doesn't want to share access to the bluetooth adapter.
@Soltares Thank you for looking into this. I updated the app and I am still seeing it crash anytime anything is touched here. (took me three tries to get this screen shot) it is also sporadically crashing if just left alone, I am able to click just about everywhere with no issue, until I touch this area.
EDIT: unless it just needed to work out its bugs, it seems to be working after a few minutes and a half dozen crashes. I will post more if any other issues arise.
App crashes after a few moments. Included is the Console file for the crash report. MeshSence Helper.txt