EXC_BAD_ACCESS KERN_INVALID_ADDRESS iOS崩溃

时间:2017-09-13 06:17:36

标签: ios crash exc-bad-access kern-invalid-address

我在所有iOS版本下面的崩溃日志。但是,我无法弄清楚这个的确切原因。是否与访问取消分配的对象有关?如果是,有没有办法复制场景,因为我无法做到。

Crashed: com.apple.main-thread
0  libobjc.A.dylib                0x180771b90 objc_msgSend + 16
1  CoreGraphics                   0x182574568 CGColorRetain + 28
2  CoreGraphics                   0x182609088 CGGStateSetStrokeColor + 64
3  UIKit                          0x186893698 -[UIKBHandwritingStrokeView drawRect:] + 692
4  UIKit                          0x1862e2678 -[UIView(CALayerDelegate) drawLayer:inContext:] + 368
5  QuartzCore                     0x183c16228 -[CALayer drawInContext:] + 260
6  QuartzCore                     0x183c008ac CABackingStoreUpdate_ + 2432
7  QuartzCore                     0x183d18360 ___ZN2CA5Layer8display_Ev_block_invoke + 52
8  QuartzCore                     0x183bffa88 CA::Layer::display_() + 1368
9  QuartzCore                     0x183be17a8 CA::Layer::display_if_needed(CA::Transaction*) + 228
10 QuartzCore                     0x183be1494 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 44
11 QuartzCore                     0x183be0ab8 CA::Context::commit_transaction(CA::Transaction*) + 252
12 QuartzCore                     0x183be0818 CA::Transaction::commit() + 500
13 UIKit                          0x186256ff4 _UIApplicationHandleEventQueue + 4980
14 CoreFoundation                 0x1810b109c __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 24
15 CoreFoundation                 0x1810b0b30 __CFRunLoopDoSources0 + 540
16 CoreFoundation                 0x1810ae830 __CFRunLoopRun + 724
17 CoreFoundation                 0x180fd8c50 CFRunLoopRunSpecific + 384
18 GraphicsServices               0x1828c0088 GSEventRunModal + 180
19 UIKit                          0x1862c2088 UIApplicationMain + 204
20 Smartphone                  0x1000e0b78 main (main.m:13)
21 libdispatch.dylib              0x180b768b8 (Missing)

此外,我无法确定崩溃的确切位置。因为我将这些作为发布版本的一部分。

0 个答案:

没有答案
相关问题