EXC_BAD_ACCESS KERN_INVALID_ADDRESS崩溃应用

时间:2017-09-08 07:15:59

标签: ios

enter image description here我的应用程序很多次崩溃,并且结构显示此错误 坠毁:线程 EXC_BAD_ACCESS KERN_INVALID_ADDRESS 0x0000000106275012

和第2313行 在那一行,我指定一个变量,如
 NSMutableArray * marrData = [[NSMutableArray alloc] init]; 我不知道为什么会崩溃很多次。

原始文字

Crashed: Thread
0  libsqlite3.dylib               0x192d3f4c8 (null) + 42824
1  libsqlite3.dylib               0x192ce6f08 (null) + 36944
2  libsqlite3.dylib               0x192cde0c8 sqlite3_step + 528
3  libsqlite3.dylib               0x192caa90c sqlite3_exec + 468
4  libsqlite3.dylib               0x192cbee08 (null) + 83664
5  libsqlite3.dylib               0x192cbe990 (null) + 82520
6  libsqlite3.dylib               0x192cf19f4 (null) + 14196
7  libsqlite3.dylib               0x192cd12b4 (null) + 38352
8  libsqlite3.dylib               0x192cd0ad8 (null) + 36340
9  libsqlite3.dylib               0x192d51688 (null) + 117000
10 libsqlite3.dylib               0x192cc9b20 (null) + 7740
11 libsqlite3.dylib               0x192caf67c (null) + 20292
12 libsqlite3.dylib               0x192cab9a4 (null) + 4716
13 libsqlite3.dylib               0x192cab1d0 (null) + 2712
14 libsqlite3.dylib               0x192caaf24 (null) + 2028
15                     0x10008b680 +[myModel selectQuery:QueryId:db:] (myModel.m:2313)
16                     0x10009935c +[myModel clockIn:isManual:type:MdicData:] (myModel.m:6197)
17 Foundation                     0x19329e2d8 __NSThread__start__ + 996
18 libsystem_pthread.dylib        0x19186d68c _pthread_body + 240
19 libsystem_pthread.dylib        0x19186d59c _pthread_body + 282
20 libsystem_pthread.dylib        0x19186acb4 thread_start + 4

谢谢

0 个答案:

没有答案