【发布时间】:2012-07-12 07:52:23
【问题描述】:
那在堆栈跟踪中,我不明白这个错误:
0 CoreFoundation 0x30f57648 ___CFBasicHashFindBucket_Linear_NoCollision + 92
1 CoreFoundation 0x30f59688 __CFBasicHashAddValue + 692
2 CoreFoundation 0x30eaff9f CFDictionarySetValue + 74
3 UIKit 0x35721a0b -[UITouchesEvent _gestureRecognizersForWindow:] + 282
4 UIKit 0x357215d5 -[UIWindow _sendGesturesForEvent:] + 28
5 UIKit 0x357214ab -[UIWindow sendEvent:] + 66
6 UIKit 0x3570a313 -[UIApplication sendEvent:] + 298
7 UIKit 0x35709c53 _UIApplicationHandleEvent + 5090
8 GraphicsServices 0x31a11e77 PurpleEventCallback + 666
9 CoreFoundation 0x30f1ba97 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION__ + 26
10 CoreFoundation 0x30f1d83f __CFRunLoopDoSource1 + 166
11 CoreFoundation 0x30f1e60d __CFRunLoopRun + 520
12 CoreFoundation 0x30eaeec3 CFRunLoopRunSpecific + 230
13 CoreFoundation 0x30eaedcb CFRunLoopRunInMode + 58
14 GraphicsServices 0x31a1141f GSEventRunModal + 114
15 GraphicsServices 0x31a114cb GSEventRun + 62
16 UIKit 0x35734d69 -[UIApplication _run] + 404
17 UIKit 0x35732807 UIApplicationMain + 670
18 AppName 0x00002e3b 0x1000 + 7739
崩溃有时会发生,我不知道它会发生什么样的动作。
我如何理解这个问题并解决我的问题?
【问题讨论】:
-
您是否在视图中添加手势识别器?
-
如果您可以在调试模式下重现它,请在调试控制台输入
bt以查看详细的回溯。 -
是的,我正在向视图添加手势。手势效果很好。这是第一次在手势内发生这种崩溃。
-
@A-Live 我无法重现它 :(。我在视图之间切换,非常快速地调用手势识别器,然后...BUM。
-
与往常一样,您可能需要检查与手势识别内存管理相关的所有内容。此外,它可能会帮助您知道,每次我收到这种崩溃都与线程/runLoops 有关。
标签: ios crash crash-reports sigbus