kotmyrevich / analytics-issues

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

sqlite mutex lock issue #748

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
hi 

it seems to be holding continued to sqlite db lock from GA thread main.

It's holding the continuation lock

So, without the db open our app, crash occurs.

To see similar problems in the forum, it seems not yet to solve

plz fix it.

Thread 4 name:  GAIThread
Thread 4:
0   libsystem_kernel.dylib          0x00000001972eb0c0 __psynch_mutexwait + 8
1   libsystem_pthread.dylib         0x0000000197385490 _pthread_mutex_lock + 416
2   libsqlite3.dylib                0x0000000196e7e844 sqlite3_initialize + 188
3   libsqlite3.dylib                0x0000000196e854d0 0x196e7c000 + 38096
4   libsqlite3.dylib                0x0000000196e84e80 0x196e7c000 + 36480
5   libsqlite3.dylib                0x0000000196e84b60 0x196e7c000 + 35680
6   libsqlite3.dylib                0x0000000196ed6f70 0x196e7c000 + 372592
7   libsqlite3.dylib                0x0000000196ed6954 0x196e7c000 + 371028
8   libsqlite3.dylib                0x0000000196eba4b8 0x196e7c000 + 255160
9   libsqlite3.dylib                0x0000000196eb7df4 sqlite3_step + 524
10  Shareon1.0                      0x00000001004838a8 
-[GAIAnalyticsPropertiesStore upsertPropertyRecord:] + 900
11  Shareon1.0                      0x00000001004832c8 
-[GAIAnalyticsPropertiesStore nextHitNumberForTrackingId:clientId:] + 1024
12  Shareon1.0                      0x000000010047cdf0 -[GAIBatchingDispatcher 
queueDispatch:] + 496
13  Shareon1.0                      0x000000010047cbe0 -[GAIBatchingDispatcher 
queueModel:] + 148
14  Foundation                      0x0000000185d5df98 0x185c68000 + 1007512
15  CoreFoundation                  0x0000000184e1423c 0x184d34000 + 918076
16  CoreFoundation                  0x0000000184e134e0 0x184d34000 + 914656
17  CoreFoundation                  0x0000000184e11590 0x184d34000 + 906640
18  CoreFoundation                  0x0000000184d3d2d0 0x184d34000 + 37584
19  Foundation                      0x0000000185c754c4 0x185c68000 + 54468
20  Foundation                      0x0000000185ccf80c 0x185c68000 + 423948
21  Shareon1.0                      0x000000010046a648 +[GAI threadMain:] + 68
22  Foundation                      0x0000000185d5ddb4 0x185c68000 + 1007028
23  libsystem_pthread.dylib         0x0000000197387dc4 _pthread_body + 160
24  libsystem_pthread.dylib         0x0000000197387d20 _pthread_start + 156
25  libsystem_pthread.dylib         0x0000000197384ef4 thread_start + 0

Original issue reported on code.google.com by luckysp...@gmail.com on 4 Oct 2015 at 6:08