2014-02-21 63 views
2

我在iOS 7上遇到此问题,在我的应用程序中。我们每天遇到大约一千次这样的崩溃事件,但是我们从来没有在内部看到它,并且没有明确的想法可能导致它。任何人有任何见解?UIGestureRecognizer SIGSEGV崩溃

Exception Type: SIGSEGV 
Exception Codes: SEGV_ACCERR at 0x116c9f9e 
Crashed Thread: 0 

Application Specific Information: 
*** Terminating app due to uncaught exception '', reason: '' 

libobjc.A.dylib 0x39c62b26 objc_msgSend + 6 
UIKit 0x31c74bbb -[UIGestureRecognizer _updateGestureWithEvent:buttonEvent:] + 1139 
UIKit 0x3200083d ___UIGestureRecognizerUpdate_block_invoke + 49 
UIKit 0x31c3c00b _UIGestureRecognizerRemoveObjectsFromArrayAndApplyBlocks + 219 
UIKit 0x31c3a753 _UIGestureRecognizerUpdate + 283 
UIKit 0x31c73419 -[UIWindow _sendGesturesForEvent:] + 773 
UIKit 0x31c72dbf -[UIWindow sendEvent:] + 667 
UIKit 0x31c4879d -[UIApplication sendEvent:] + 197 
UIKit 0x31c46fa3 _UIApplicationHandleEventQueue + 7099 
CoreFoundation 0x2f49c183 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 15 
CoreFoundation 0x2f49b653 __CFRunLoopDoSources0 + 207 
CoreFoundation 0x2f499e47 __CFRunLoopRun + 623 
CoreFoundation 0x2f404c27 CFRunLoopRunSpecific + 523 
CoreFoundation 0x2f404a0b CFRunLoopRunInMode + 107 
GraphicsServices 0x340f8283 GSEventRunModal + 139 
UIKit 0x31ca8049 UIApplicationMain + 1137 
MyApp 0x0004be27 main (main.m:18) 
libdyld.dylib 0x3a16fab7 start + 3 
+0

不幸的是,在代码运行并崩溃之前,问题就发生了很久。您可能试图与已发布的对象进行交谈。但你不会在这里得到什么关于这个对象的线索...... – matt

+0

你使用KVO吗?可能是一个失踪的观察员... – matt

+1

@尼克:你找到了这次事故的原因?我现在在后退按钮上面临同样的问题 –

回答

0

我正在寻找同样的解决方案。我刚刚隔离了这种情况。我有一个巨大的滚动型,我就加手势识别如下:

UITapGestureRecognizer *singleFingerTap = 
    [[UITapGestureRecognizer alloc] initWithTarget:self 
              action:@selector(handleSingleTap:)]; 
[_backgroundFrameView addGestureRecognizer:singleFingerTap]; 

崩溃日志在曲棍球应用程序是一样的@Nick锁定提供的,但它清楚地说,这里的崩溃:

原因:objc_msgSend()选择名称:handleSingleTap:

它发生仅在iOS 7.X版本和我完全无法重现它在我自己的。 _backGroundFrameView具有exclusiveTouch = YES,并且MultipleTouch = NO。

相关问题