kalnyc67 / analytics-issues

Automatically exported from code.google.com/p/analytics-issues
0 stars 0 forks source link

Crash iOS SDK -[GAIBatchingDispatcher nextPendingHits] #636

Open billyto opened 8 years ago

billyto commented 8 years ago

A crash trying to compare dates seems to happen at random times in the GAI main thread, here is the stack trace

Thread : Fatal Exception: NSInvalidArgumentException
0  CoreFoundation                 0x181d32e38 __exceptionPreprocess
1  libobjc.A.dylib                0x181397f80 objc_exception_throw
2  CoreFoundation                 0x181d39ccc __methodDescriptionForSelector
3  CoreFoundation                 0x181d36c74 ___forwarding___
4  CoreFoundation                 0x181c34d1c _CF_forwarding_prep_0
5  CoreFoundation                 0x181c5a11c -[NSDate compare:]
6  bluesteel                      0x1003361f8 -[GAIBatchingDispatcher nextPendingHits]
7  bluesteel                      0x100335778 -[GAIBatchingDispatcher hitsForDispatch]
8  bluesteel                      0x100336d3c -[GAIBatchingDispatcher dispatchWithCompletionHandler:]
9  Foundation                     0x182709008 __NSFireTimer
10 CoreFoundation                 0x181ce981c __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__
11 CoreFoundation                 0x181ce94c0 __CFRunLoopDoTimer
12 CoreFoundation                 0x181ce6bd4 __CFRunLoopRun
13 CoreFoundation                 0x181c10d10 CFRunLoopRunSpecific
14 Foundation                     0x182620d8c -[NSRunLoop(NSRunLoop) runMode:beforeDate:]
15 Foundation                     0x182675ff8 -[NSRunLoop(NSRunLoop) run]
16 bluesteel                      0x100324cd0 +[GAI threadMain:]
17 Foundation                     0x182707e1c __NSThread__start__
18 libsystem_pthread.dylib        0x181997b28 _pthread_body
19 libsystem_pthread.dylib        0x181997a8c _pthread_body
20 libsystem_pthread.dylib        0x181995028 thread_start

More details

Pods:

Let me know how I can help