rileylink_ios
rileylink_ios copied to clipboard
Crashes from "Unbalanced call to dispatch_group_leave()"
There are two recurring stacktraces in crash logs related to Unbalanced call to dispatch_group_leave(), both in RileyLinkBLEDevice.
The stacktraces seem to indicate that the lines of code being executed at the time of the crashes are:
- https://github.com/ps2/rileylink_ios/blob/dev/RileyLinkBLEKit/RileyLinkBLEDevice.m#L147
- https://github.com/ps2/rileylink_ios/blob/dev/RileyLinkBLEKit/RileyLinkBLEDevice.m#L426
I'll attach the relevant stacktraces below.
Crash log from - (void)dataReceivedFromRL:(NSData*) data (I don't seem to have the desymbolicated version for this one)
Crash in - (BOOL) doCmd:(nonnull CmdBase*)cmd withTimeoutMs:(NSInteger)timeoutMS:
This is fixed in dev.