How to understand this collapse ?: SIGBUS BUS_ADRALN

Thats in the stack trace, and I don't understand this error:

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  

Sometimes it crashes, I don’t know what kind of action it is.

How can I understand this problem and solve my problem?

+5
source share
1 answer

I think the problem may be that you are reusing gesture objects for more than one UIView based object. They cannot be reused. I had similar problems in the past (not exactly the same accident). The documentation for it emphasizes the limitation. I assume that there is an internal state (the hash table seen as a result of the failure), which is updated in conflicting ways for different objects based on the user interface.

, , , .

+2

All Articles