Sources of 'removeObjectAtIndex:'
I have a glitch in
-[__NSArrayM removeObjectAtIndex:] + 262
However, my code is not using removeObjectAtIndex:
. Are there other functions that can be called removeObjectAtIndex:
internally?
My guess replaceObjectAtIndex:
I am using.
Also, is there some documentation source where I can get this kind of information?
here is the complete stack trace:
Thread : Fatal Exception: NSRangeException
0 CoreFoundation 0x00000001860fe59c __exceptionPreprocess + 132
1 libobjc.A.dylib 0x000000019685c0e4 objc_exception_throw + 60
2 CoreFoundation 0x0000000185fe362c -[__NSArrayM removeObjectAtIndex:]
3 Musixmatch 0x0000000100b9da24 +[MyController updateMessage:] + 1011504
4 Musixmatch 0x0000000100b95dc8 -[MyAPICalls sendNewMessage:] + 979668
5 libdispatch.dylib 0x0000000196ea13ac _dispatch_call_block_and_release + 24
6 libdispatch.dylib 0x0000000196ea136c _dispatch_client_callout + 16
7 libdispatch.dylib 0x0000000196eab4c0 _dispatch_queue_drain + 1216
8 libdispatch.dylib 0x0000000196ea4474 _dispatch_queue_invoke + 132
9 libdispatch.dylib 0x0000000196ead224 _dispatch_root_queue_drain + 664
10 libdispatch.dylib 0x0000000196eae75c _dispatch_worker_thread3 + 108
11 libsystem_pthread.dylib 0x000000019707d2e4 _pthread_wqthread + 816
12 libsystem_pthread.dylib 0x000000019707cfa8 start_wqthread + 4
So the last method called from the application is updateMessage:
. The update message itself has only objectAtIndex:
. Then it calls on two methods in other classes. But if they cause a crash, I believe they should have been included in the stack trace.
source to share
No one has answered this question yet
Check out similar questions: