ShakeS
Shake
Jan 3

NSArray mutated while being enumerated

Hi team, I'm noticing a few crashes coming in and they appear to be within the Shake SDK version 15.0.2. Are you able to investigate this? Fatal Exception: NSGenericException *** Collection <__NSArrayM: 0x283b1d020> was mutated while being enumerated. Fatal Exception: NSGenericException 0 CoreFoundation 0x91cac __exceptionPreprocess 1 libobjc.A.dylib 0x14758 objc_exception_throw 2 CoreFoundation 0x15b138 -[__NSSingleObjectEnumerator init] 3 CoreFoundation 0x5008c -[NSArray containsObject:] 4 Shake 0x30308 _hidden#2875_ + 444 (__hidden#2931_:444) 5 Shake 0x2faa8 _hidden#2869_ + 321 (__hidden#2931_:321) 6 libdispatch.dylib 0x632ec _dispatch_call_block_and_release 7 libdispatch.dylib 0x642f0 _dispatch_client_callout 8 libdispatch.dylib 0x3f410 _dispatch_lane_serial_drain$VARIANT$armv81 9 libdispatch.dylib 0x3feb8 _dispatch_lane_invoke$VARIANT$armv81 10 libdispatch.dylib 0x4976c _dispatch_workloop_worker_thread 11 libsystem_pthread.dylib 0xf38 _pthread_wqthread 12 libsystem_pthread.dylib 0xaa4 start_wqthread
CompletedCompleted

Jan 19, 2022

Hey guys, This issue should be resolved in Shake iOS SDK v15.1.1. Thank you for your feedback!

Jan 5, 2022

Hey Jarrod. Thank you for reporting this. Seems to be the same crash as reported here - https://github.com/shakebugs/shake-ios/issues/17. We've talked with few other clients about it and we think we've identified the problem. The fix for the crash will be in the next minor version release of the SDK, I'll move this ticket to Planned.