NSArray mutated while being enumerated
complete
J
Jarrod Robins
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
Log In
Sanjin Grahovar Sadikovic
complete
Hey guys,
This issue should be resolved in Shake iOS SDK v15.1.1.
Thank you for your feedback!
Petra Gluhak
Merged in a post:
SHKSqliteDatabase insertDatabaseRecord Exception
B
Balint Dolla
After updating Shake to 15.0.2 on iOS, we started experiencing crashes coming from inside the SDK.
Fatal Exception: NSGenericException
0 CoreFoundation 0x91d3c __exceptionPreprocess
1 libobjc.A.dylib 0x146a8 objc_exception_throw
2 CoreFoundation 0x15b1d0 -[__NSSingleObjectEnumerator init]
3 CoreFoundation 0x5011c -[NSArray containsObject:]
4 Shake 0x2e200 -[SHKSqliteDatabase insertDatabaseRecord:] + 457 (SHKSqliteDatabase.m:457)
5 Shake 0x2d9a0 __40-[SHKSqliteDatabase pushBlackBoxRecord:]_block_invoke + 334 (SHKSqliteDatabase.m:334)
6 libdispatch.dylib 0x631a4 _dispatch_call_block_and_release
7 libdispatch.dylib 0x641a8 _dispatch_client_callout
8 libdispatch.dylib 0x3f14c _dispatch_lane_serial_drain$VARIANT$armv81
9 libdispatch.dylib 0x3fc04 _dispatch_lane_invoke$VARIANT$armv81
10 libdispatch.dylib 0x495dc _dispatch_workloop_worker_thread
11 libsystem_pthread.dylib 0x4e84 _pthread_wqthread
12 libsystem_pthread.dylib 0x49f0 start_wqthread
Sanjin Grahovar Sadikovic
in progress
Sanjin Grahovar Sadikovic
planned
Sanjin Grahovar Sadikovic
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.