iOS Mixpanel crash
Closed this issue · 1 comments
Integration Method: CocoaPods
Xcode Version: 10.2.1
Library Version: 3.3.7
Platform: iOS
Language: Objective-C
Description: I received this crash report 3 times within 30 days and I don't know how to reproduce it. Can you help to investigate on it? Thanks.
Expected Behavior:
Fatal Exception: NSRangeException*** -[NSArray initWithArray:range:copyItems:]: range {0, 3} extends beyond bounds [0 .. 1] Raw Text
0 | CoreFoundation | __exceptionPreprocess
1 | libobjc.A.dylib | objc_exception_throw
2 | CoreFoundation | _CFArgv
3 | CoreFoundation | -[NSArray initWithArray:range:copyItems:]
4 | Chope | Mixpanel.m line 1028-[Mixpanel archivePeople] + 1028
5 | Chope | MixpanelPeople.m line 135__65-[MixpanelPeople addPeopleRecordToQueueWithAction:andProperties:]_block_invoke + 135
6 | libdispatch.dylib | _dispatch_call_block_and_release
7 | libdispatch.dylib | _dispatch_client_callout
8 | libdispatch.dylib | _dispatch_lane_serial_drain$VARIANT$armv81
9 | libdispatch.dylib | _dispatch_lane_invoke$VARIANT$armv81
10 | libdispatch.dylib | _dispatch_workloop_worker_thread
11 | libsystem_pthread.dylib | _pthread_wqthread
12 | libsystem_pthread.dylib | start_wqthread
hi @zhangduyu there is a known issue in v3.3.7 that could cause the potential crash, we've fixed it in v3.4.8. Please use the latest version v3.4.9 https://github.com/mixpanel/mixpanel-iphone/releases/tag/v3.4.9
I'm closing this one now, please feel free to reopen it if the problem still exists.
The issue also related to
#821