Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash in Shake SDK: Collection <__NSArrayM: 0x2830abab0> was mutated while being enumerated. #17

Closed
horsejockey opened this issue Oct 22, 2021 · 4 comments

Comments

@horsejockey
Copy link

Our leading crash right now is from inside the Shake SDK. 180 occurrences a day right now. There isn't much in our stack trace to help debug the issue it seems. Let us know if we can help resolve this somehow or provide more useful information.

Exception Type:  NSGenericException
Exception Subtype: *** Collection <__NSArrayM: 0x2830abab0> was mutated while being enumerated.

Thread 3 name:
Thread 3 Crashed:
0   CoreFoundation                 	 0x00000001833dc05c __exceptionPreprocess (CoreFoundation)
1   libobjc.A.dylib                	 0x000000019b8f6f54 objc_exception_throw (libobjc.A.dylib)
2   CoreFoundation                 	 0x00000001834b20e8 -[__NSSingleObjectEnumerator init] (CoreFoundation)
3   CoreFoundation                 	 0x0000000183397830 -[NSArray containsObject:] (CoreFoundation)
4   Shake                          	 0x000000010244f38c _hidden#3237_ (__hidden#3283_:442)
5   Shake                          	 0x000000010244eb2c _hidden#3231_ (__hidden#3283_:319)
6   libdispatch.dylib              	 0x000000018304cc04 _dispatch_call_block_and_release (libdispatch.dylib)
7   libdispatch.dylib              	 0x000000018304e950 _dispatch_client_callout (libdispatch.dylib)
8   libdispatch.dylib              	 0x00000001830560ac _dispatch_lane_serial_drain (libdispatch.dylib)
9   libdispatch.dylib              	 0x0000000183056c10 _dispatch_lane_invoke (libdispatch.dylib)
10  libdispatch.dylib              	 0x0000000183061318 _dispatch_workloop_worker_thread (libdispatch.dylib)
11  libsystem_pthread.dylib        	 0x00000001f38191b0 _pthread_wqthread (libsystem_pthread.dylib)
12  libsystem_pthread.dylib        	 0x00000001f3818f50 start_wqthread (libsystem_pthread.dylib)
@sgrahovar-decode
Copy link

Hey @horsejockey,

Thanks for the report.
We haven't noticed any issues lately, however we're looking into this and we'll get back to you regarding this issue.

Sanjin

@horsejockey
Copy link
Author

@sgrahovar-shake thanks for the update. This is definitely a priority for us. The company is Route by the way. We use gitlab so I'm using my personal GitHub account right now. Please keep us updated on any progress or blockers you are having.

@cjmconie
Copy link

Hi, we are experiencing this often too.

Fatal Exception: NSGenericException
*** Collection <__NSArrayM: 0x280e60840> was mutated while being enumerated.

Fatal Exception: NSGenericException
0 CoreFoundation 0x9904c __exceptionPreprocess
1 libobjc.A.dylib 0x15f54 objc_exception_throw
2 CoreFoundation 0x16f0e0 -[__NSSingleObjectEnumerator init]
3 CoreFoundation 0x54820 -[NSArray containsObject:]
4 Shake 0x30308 hidden#2875 + 444 (_hidden#2931:444)
5 Shake 0x2faa8 hidden#2869 + 321 (_hidden#2931:321)
6 libdispatch.dylib 0x2914 _dispatch_call_block_and_release
7 libdispatch.dylib 0x4660 _dispatch_client_callout
8 libdispatch.dylib 0xbde4 _dispatch_lane_serial_drain
9 libdispatch.dylib 0xc958 _dispatch_lane_invoke
10 libdispatch.dylib 0x171a8 _dispatch_workloop_worker_thread
11 libsystem_pthread.dylib 0x10f4 _pthread_wqthread
12 libsystem_pthread.dylib 0xe94 start_wqthread

Pod version: Shake (15.0.2)

@sgrahovar-decode
Copy link

Hey guys,

This issue should be fixed in the update we released: Shake iOS SDK v15.1.1.

Thank you for the feedback, it helped a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants