Acknowledged
CIQQA-3073

NordicThingy52 sample app crashes on Mac

- SDK 8.1.0

- Apple M1 Max

- macOS 14.5

I don't know exactly where it crashes, except it's somewhere after the following line:

//! Register the bluetooth profile
public function registerProfiles() as Void {
    System.println("before"); // added for debugging
    BluetoothLowEnergy.registerProfile(_envProfileDef); // <========== this line does *not* crash
    System.println("after"); // added for debugging
}

Both "before" and "after" are printed to the console. So I don't think it's exactly the same as this previously reported bug: https://forums.garmin.com/developer/connect-iq/i/bug-reports/bluetoothlowenergy-registerprofile-crashes-simulator-with-segmentation-fault-on-mac-m1-max

I am guessing it does have something to do with BLE tho. The app does run for a few seconds before it crashes, so it might have something to do with gathering scan results.

Parents
  • Exactly!  we reached apathy. Even the 2 geeks who know the workarounds of cloudflare gave up. We waste more time on posting on the forum with workarounds than on actual coding... Most of the workarounds make it hard to actually use the forum to help. I.e I might be able (though not always) to post a screenshot of my code , and it might even be kind of readable (if I change it's size from the default 320x240) but I can't copy it to test it, modify it.

Comment
  • Exactly!  we reached apathy. Even the 2 geeks who know the workarounds of cloudflare gave up. We waste more time on posting on the forum with workarounds than on actual coding... Most of the workarounds make it hard to actually use the forum to help. I.e I might be able (though not always) to post a screenshot of my code , and it might even be kind of readable (if I change it's size from the default 320x240) but I can't copy it to test it, modify it.

Children
No Data