kalnyc67 / analytics-issues

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

Analytics crashes in iOS app when app re-enters into foreground #524

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
---------------------------------------------------------------------------
NOTE: This issue tracking system is for Google Analytics developer products
only.
If you are not a developer/programmer visit:
http://www.google.com/analytics/support.html
---------------------------------------------------------------------------
Name of affected component: Mobile Tracking

Name of related library and version, if applicable (e.g. Android, iOS,
Snippets, etc.): libGoogleAnalyticsServices.a version 3.0.9

Issue summary:
Analytics crashes in iOS app when app re-enters into foreground 

Steps to reproduce issue:
1.  put app in background
2.  put app in foreground
3.  random crash in analytics code

Expected output:
no crash

Actual results:
crash

Notes:
Incident Identifier: [TODO]
CrashReporter Key:   [TODO]
Hardware Model:      iPhone5,2
Process:         Communicator [1513]
Path:            
/private/var/mobile/Containers/Bundle/Application/2EDAB954-01B8-4EB4-846A-461794
7D50E3/Communicator.app/Communicator
Identifier:      com.avaya.AvayaCommunicator
Version:         2.1
Code Type:       ARM
Parent Process:  launchd [1]

Date/Time:       2014-10-28 06:23:24 +0000
OS Version:      iPhone OS 8.1 (12B411)
Report Version:  104

Exception Type:  SIGABRT
Exception Codes: #0 at 0x3584ddfc
Crashed Thread:  5

Thread 0:
0   libsystem_kernel.dylib              0x3583a620 0x35839000 + 5664
1   libsystem_malloc.dylib              0x35877753 0x35874000 + 14163
2   UIKit                               0x2b189e6f 0x2af0d000 + 2608751
3   Communicator                        0x001a4101 -[ACAppDelegate 
applicationWillEnterForeground:] (ACAppDelegate.m:171)
4   UIKit                               0x2b164c0f 0x2af0d000 + 2456591
5   UIKit                               0x2b18820f 0x2af0d000 + 2601487
6   UIKit                               0x2b18784b 0x2af0d000 + 2598987
7   UIKit                               0x2b1877cd 0x2af0d000 + 2598861
8   UIKit                               0x2b17cab3 0x2af0d000 + 2554547
9   FrontBoardServices                  0x2e1da1f9 0x2e1d4000 + 25081
10  FrontBoardServices                  0x2e1e90e9 0x2e1d4000 + 86249
11  CoreFoundation                      0x27a2339d 0x27957000 + 836509
12  CoreFoundation                      0x27a22661 0x27957000 + 833121
13  CoreFoundation                      0x27a2119b 0x27957000 + 827803
14  CoreFoundation                      0x2796f211 0x27957000 + 98833
15  CoreFoundation                      0x2796f023 0x27957000 + 98339
16  GraphicsServices                    0x2ed680a9 0x2ed5f000 + 37033
17  UIKit                               0x2af7b1d1 0x2af0d000 + 451025
18  Communicator                        0x004c12b5 main (main.m:27)

Thread 1:
0   libsystem_kernel.dylib              0x3583a2a0 0x35839000 + 4768
1   libdispatch.dylib                   0x35769213 0x35766000 + 12819

Thread 2:
0   libsystem_kernel.dylib              0x3583a4f0 0x35839000 + 5360
1   CoreFoundation                      0x27a2293b 0x27957000 + 833851
2   CoreFoundation                      0x27a20ee1 0x27957000 + 827105
3   CoreFoundation                      0x2796f211 0x27957000 + 98833
4   CoreFoundation                      0x2796f023 0x27957000 + 98339
5   WebCore                             0x32d97ec3 0x32d15000 + 536259
6   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
7   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 3:
0   libsystem_kernel.dylib              0x3584db38 0x35839000 + 84792
1   libsystem_pthread.dylib             0x358cb31d 0x358c8000 + 13085
2   Communicator                        0x00789e69 
webrtc::EventPosix::Wait(unsigned long) (event_posix.cc:172)
3   Communicator                        0x007890e7 
webrtc::TraceImpl::Run(void*) (trace_impl.cc:506)
4   Communicator                        0x00788af7 webrtc::ThreadPosix::Run() 
(thread_posix.cc:395)
5   Communicator                        0x007889b5 webrtc::StartThread(void*) 
(thread_posix.cc:101)
6   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
7   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 4:
0   libsystem_kernel.dylib              0x3583a4f0 0x35839000 + 5360
1   CoreFoundation                      0x27a2293b 0x27957000 + 833851
2   CoreFoundation                      0x27a20ee1 0x27957000 + 827105
3   CoreFoundation                      0x2796f211 0x27957000 + 98833
4   CoreFoundation                      0x2796f023 0x27957000 + 98339
5   libAVFAudio.dylib                   0x266793ef 0x26660000 + 103407
6   libAVFAudio.dylib                   0x2666b90b 0x26660000 + 47371
7   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
8   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 5 Crashed:
0   libsystem_kernel.dylib              0x3584ddfc 0x35839000 + 85500
1   libsystem_c.dylib                   0x357ed909 0x357a3000 + 305417
2   libsystem_malloc.dylib              0x3587e3af 0x35874000 + 41903
3   libsystem_malloc.dylib              0x3587e659 0x35874000 + 42585
4   libsystem_malloc.dylib              0x358760cb 0x35874000 + 8395
5   libsystem_malloc.dylib              0x35874ebb 0x35874000 + 3771
6   libsystem_malloc.dylib              0x35874da9 0x35874000 + 3497
7   CoreFoundation                      0x2795dc65 0x27957000 + 27749
8   CoreFoundation                      0x27a2f5f5 0x27957000 + 886261
9   CoreFoundation                      0x2798fd55 0x27957000 + 232789
10  CoreFoundation                      0x279ac7d1 0x27957000 + 350161
11  Foundation                          0x286bf37d 0x2869b000 + 148349
12  CoreData                            0x2777c8eb 0x2774b000 + 202987
13  CoreData                            0x27837517 0x2774b000 + 967959
14  CoreData                            0x27767cb3 0x2774b000 + 117939
15  CoreData                            0x2777c6a5 0x2774b000 + 202405
16  CoreData                            0x2777c485 0x2774b000 + 201861
17  CoreData                            0x2777bf03 0x2774b000 + 200451
18  CoreData                            0x2776695d 0x2774b000 + 112989
19  CoreData                            0x278134c5 0x2774b000 + 820421
20  CoreData                            0x2781a76b 0x2774b000 + 849771
21  libdispatch.dylib                   0x357677a7 0x35766000 + 6055
22  libdispatch.dylib                   0x3576eac9 0x35766000 + 35529
23  CoreData                            0x2780e2a7 0x2774b000 + 799399
24  CoreData                            0x27766517 0x2774b000 + 111895
25  CoreData                            0x2777b35d 0x2774b000 + 197469
26  CoreData                            0x2777b14f 0x2774b000 + 196943
27  Communicator                        0x004cfc19 __33-[GAIDataStore 
context:hitCount:]_block_invoke + 73
28  Communicator                        0x004d01c9 -[GAIDataStore 
performBlockAndWait:withError:] + 413
29  Communicator                        0x004cfb95 -[GAIDataStore 
context:hitCount:] + 101
30  Communicator                        0x004d145d __25-[GAIDataStore 
hitCount:]_block_invoke + 57
31  Communicator                        0x004d01c9 -[GAIDataStore 
performBlockAndWait:withError:] + 413
32  Communicator                        0x004d13f7 -[GAIDataStore hitCount:] + 
83
33  Communicator                        0x004cf9c9 -[GAIDataStore 
deleteExcessHits:] + 61
34  Communicator                        0x004d20cd __21-[GAIDataStore 
save:]_block_invoke + 125
35  Communicator                        0x004d01c9 -[GAIDataStore 
performBlockAndWait:withError:] + 413
36  Communicator                        0x004d2023 -[GAIDataStore save:] + 83
37  Communicator                        0x004dcfab -[GAIBatchingDispatcher 
persist:] + 115
38  Communicator                        0x004de203 -[GAIBatchingDispatcher 
queueDispatch:] + 495
39  Communicator                        0x004de001 -[GAIBatchingDispatcher 
queueModel:] + 121
40  Foundation                          0x2876bd6f 0x2869b000 + 855407
41  CoreFoundation                      0x27a23377 0x27957000 + 836471
42  CoreFoundation                      0x27a22787 0x27957000 + 833415
43  CoreFoundation                      0x27a20ded 0x27957000 + 826861
44  CoreFoundation                      0x2796f211 0x27957000 + 98833
45  CoreFoundation                      0x2796f023 0x27957000 + 98339
46  Foundation                          0x286a6bfd 0x2869b000 + 48125
47  Foundation                          0x286f50bd 0x2869b000 + 368829
48  Communicator                        0x004cdbf9 +[GAI threadMain:] + 65
49  Foundation                          0x2876bb5b 0x2869b000 + 854875
50  libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
51  libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 6:
0   libsystem_kernel.dylib              0x3583a4f0 0x35839000 + 5360
1   CoreFoundation                      0x27a2293b 0x27957000 + 833851
2   CoreFoundation                      0x27a20ee1 0x27957000 + 827105
3   CoreFoundation                      0x2796f211 0x27957000 + 98833
4   CoreFoundation                      0x2796f023 0x27957000 + 98339
5   Communicator                        0x005958d7 cpcore::CEventLoop::Run() 
(EventLoop.cpp:136)
6   Communicator                        0x00597ac7 
cpcore::CEventLoopThread::ProcessingLoop(void*) (EventLoopThread.cpp:92)
7   Communicator                        0x0059120d 
cpcore::CThread::ThreadMethod(void*) (Thread.cpp:237)
8   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
9   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 7:
0   libsystem_kernel.dylib              0x3584db38 0x35839000 + 84792
1   libsystem_pthread.dylib             0x358cb31d 0x358c8000 + 13085
2   Communicator                        0x00789e69 
webrtc::EventPosix::Wait(unsigned long) (event_posix.cc:172)
3   Communicator                        0x007f50cd 
webrtc::ProcessThreadImpl::Process() (process_thread_impl.cc:163)
4   Communicator                        0x00788af7 webrtc::ThreadPosix::Run() 
(thread_posix.cc:395)
5   Communicator                        0x007889b5 webrtc::StartThread(void*) 
(thread_posix.cc:101)
6   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
7   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 8:
0   libsystem_kernel.dylib              0x3583a540 0x35839000 + 5440
1   MediaToolbox                        0x2942942b 0x29425000 + 17451
2   CoreMedia                           0x281c5f13 0x28197000 + 192275
3   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
4   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 9:
0   libsystem_kernel.dylib              0x3584db38 0x35839000 + 84792
1   libsystem_pthread.dylib             0x358cb31d 0x358c8000 + 13085
2   Communicator                        0x00789e69 
webrtc::EventPosix::Wait(unsigned long) (event_posix.cc:172)
3   Communicator                        0x007f50cd 
webrtc::ProcessThreadImpl::Process() (process_thread_impl.cc:163)
4   Communicator                        0x00788af7 webrtc::ThreadPosix::Run() 
(thread_posix.cc:395)
5   Communicator                        0x007889b5 webrtc::StartThread(void*) 
(thread_posix.cc:101)
6   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
7   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 10:
0   libsystem_kernel.dylib              0x3583a4f0 0x35839000 + 5360
1   CoreFoundation                      0x27a2293b 0x27957000 + 833851
2   CoreFoundation                      0x27a20ee1 0x27957000 + 827105
3   CoreFoundation                      0x2796f211 0x27957000 + 98833
4   CoreFoundation                      0x2796f023 0x27957000 + 98339
5   CFNetwork                           0x27524b9f 0x274a8000 + 510879
6   Foundation                          0x2876bb5b 0x2869b000 + 854875
7   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
8   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 11:
0   libsystem_kernel.dylib              0x3584e08c 0x35839000 + 86156
1   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
2   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 12:
0   libsystem_kernel.dylib              0x3583a4f0 0x35839000 + 5360
1   CoreFoundation                      0x27a2293b 0x27957000 + 833851
2   CoreFoundation                      0x27a20ee1 0x27957000 + 827105
3   CoreFoundation                      0x2796f211 0x27957000 + 98833
4   CoreFoundation                      0x2796f023 0x27957000 + 98339
5   AudioToolbox                        0x27127847 0x270ca000 + 383047
6   AudioToolbox                        0x2710f9e5 0x270ca000 + 285157
7   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
8   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 13:
0   libsystem_kernel.dylib              0x3583a4f0 0x35839000 + 5360
1   CoreFoundation                      0x27a2293b 0x27957000 + 833851
2   CoreFoundation                      0x27a20ee1 0x27957000 + 827105
3   CoreFoundation                      0x2796f211 0x27957000 + 98833
4   CoreFoundation                      0x279b7e7b 0x27957000 + 396923
5   CoreMotion                          0x28271edf 0x28232000 + 261855
6   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
7   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 14:
0   libsystem_kernel.dylib              0x3583a4f0 0x35839000 + 5360
1   MediaToolbox                        0x2942e4e1 0x29425000 + 38113
2   CoreMedia                           0x281c5f13 0x28197000 + 192275
3   libsystem_pthread.dylib             0x358cae93 0x358c8000 + 11923
4   libsystem_pthread.dylib             0x358cae07 0x358c8000 + 11783

Thread 15:
0   libsystem_kernel.dylib              0x3583a620 0x35839000 + 5664
1   libsystem_malloc.dylib              0x358766a1 0x35874000 + 9889
2   CoreFoundation                      0x2796f253 0x27957000 + 98899
3   CoreFoundation                      0x2796f023 0x27957000 + 98339
4   Foundation                          0x286a6bfd 0x2869b000 + 48125
5   Foundation                          0x286c3ebb 0x2869b000 + 167611
6   Communicator                        0x00362855 -[EMRestRequest 
send:usingMethod:httpHeaders:withData:] (EMRestRequest.m:86)
7   Communicator                        0x0027f439 -[EMGetConversationsRequest 
getConversations:httpHeaders:withProcessResultDelegate:] 
(EMGetConversationsRequest.m:52)
8   Communicator                        0x0029b68d __41-[EMGetConversationState 
longPollServer:]_block_invoke (EMGetConversationState.m:89)
9   libdispatch.dylib                   0x357677bb 0x35766000 + 6075
10  libdispatch.dylib                   0x35770dab 0x35766000 + 44459
11  libdispatch.dylib                   0x35771cd7 0x35766000 + 48343
12  libsystem_pthread.dylib             0x358c8e31 0x358c8000 + 3633

Thread 16:
0   libsystem_kernel.dylib              0x3583a620 0x35839000 + 5664
1   libsystem_malloc.dylib              0x35877753 0x35874000 + 14163
2   libdispatch.dylib                   0x35777f5d 0x35766000 + 73565
3   libdispatch.dylib                   0x35769337 0x35766000 + 13111
4   libdispatch.dylib                   0x35770b9b 0x35766000 + 43931
5   libdispatch.dylib                   0x35771cd7 0x35766000 + 48343
6   libsystem_pthread.dylib             0x358c8e31 0x358c8000 + 3633

Thread 17:
0   libsystem_kernel.dylib              0x3583a540 0x35839000 + 5440
1   Communicator                        0x0025a2ff +[DDLog lt_log:] 
(DDLog.m:665)
2   Communicator                        0x00258a2f __40+[DDLog 
queueLogMessage:asynchronously:]_block_invoke (DDLog.m:287)
3   libdispatch.dylib                   0x357677bb 0x35766000 + 6075
4   libdispatch.dylib                   0x3576f5b1 0x35766000 + 38321
5   libdispatch.dylib                   0x35769f85 0x35766000 + 16261
6   libdispatch.dylib                   0x35770b9b 0x35766000 + 43931
7   libdispatch.dylib                   0x35771cd7 0x35766000 + 48343
8   libsystem_pthread.dylib             0x358c8e31 0x358c8000 + 3633

Thread 18:
0   libsystem_kernel.dylib              0x3584e9cc 0x35839000 + 88524

Thread 19:
0   libsystem_kernel.dylib              0x3584e9cc 0x35839000 + 88524

Thread 20:
0   libsystem_kernel.dylib              0x3583a620 0x35839000 + 5664
1   libsystem_malloc.dylib              0x358766a1 0x35874000 + 9889
2   CoreFoundation                      0x279640ed 0x27957000 + 53485
3   CoreFoundation                      0x279c2425 0x27957000 + 439333
4   libobjc.A.dylib                     0x35221d5f 0x35201000 + 134495
5   Communicator                        0x003a7b43 
-[DDDispatchQueueLogFormatter stringFromDate:] 
(DDDispatchQueueLogFormatter.m:104)
6   Communicator                        0x003a826d 
-[DDDispatchQueueLogFormatter formatLogMessage:] 
(DDDispatchQueueLogFormatter.m:239)
7   Communicator                        0x003792ff -[DDFileLogger logMessage:] 
(DDFileLogger.m:995)
8   Communicator                        0x0025a573 __16+[DDLog 
lt_log:]_block_invoke (DDLog.m:662)
9   libdispatch.dylib                   0x357677bb 0x35766000 + 6075
10  libdispatch.dylib                   0x3576f5b1 0x35766000 + 38321
11  libdispatch.dylib                   0x35769f85 0x35766000 + 16261
12  libdispatch.dylib                   0x35770b9b 0x35766000 + 43931
13  libdispatch.dylib                   0x35771cd7 0x35766000 + 48343
14  libsystem_pthread.dylib             0x358c8e31 0x358c8000 + 3633

Thread 21:
0   libsystem_kernel.dylib              0x3584e9cc 0x35839000 + 88524

Thread 22:
0   libsystem_kernel.dylib              0x3584e9cc 0x35839000 + 88524

Thread 23:
0   libsystem_kernel.dylib              0x3584e9cc 0x35839000 + 88524

Thread 24:
0   libsystem_kernel.dylib              0x3584e9cc 0x35839000 + 88524

Thread 25:
0   libsystem_kernel.dylib              0x3584e9cc 0x35839000 + 88524

Thread 5 crashed with ARM Thread State:
    r0: 0x00000000     r1: 0x00000000     r2: 0x00000000     r3: 0x0000004d 
    r4: 0x00000006     r5: 0x0447e000     r6: 0x16b7ab54     r7: 0x0447b960 
    r8: 0x00000001     r9: 0x358848b6    r10: 0x016c3000    r11: 0x35884ac7 
    ip: 0x00000148     sp: 0x0447b954     lr: 0x358cbd37     pc: 0x3584ddfc 
  cpsr: 0x00000010 

Original issue reported on code.google.com by mymobile...@gmail.com on 28 Oct 2014 at 7:38