rileylink_ios icon indicating copy to clipboard operation
rileylink_ios copied to clipboard

Crashes from "Unbalanced call to dispatch_group_leave()"

Open tmecklem opened this issue 8 years ago • 3 comments

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.

tmecklem avatar Jan 06 '17 03:01 tmecklem

Crash log from - (void)dataReceivedFromRL:(NSData*) data (I don't seem to have the desymbolicated version for this one)

com.mecklem.loop_issue_2_crash_bf816d6c0e164ff09798a0aa8aeca723_c3299731043345c994f545fb675a9ca1_0_v1.txt

tmecklem avatar Jan 06 '17 03:01 tmecklem

Crash in - (BOOL) doCmd:(nonnull CmdBase*)cmd withTimeoutMs:(NSInteger)timeoutMS:

com.mecklem.loop_issue_1_crash_6b6608ca932745b9a5aa6b172419140c_9e366a0174774ee6b9dc0887324d800e_0_v1.txt

tmecklem avatar Jan 06 '17 03:01 tmecklem

This is fixed in dev.

ps2 avatar Jan 24 '18 03:01 ps2