gpt4 book ai didi

ios - 如何理解这次崩溃? : SIGBUS BUS_ADRALN

转载 作者:可可西里 更新时间:2023-11-01 04:48:11 26 4
gpt4 key购买 nike

那是在堆栈跟踪中,我不明白这个错误:

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

崩溃有时会发生,我不知道它发生在什么样的 Action 上。

我怎样才能理解这个问题并解决我的问题?

最佳答案

我认为问题可能在于您正在为多个基于 UIView 的对象重复使用手势对象。它们不能被重复使用。我过去遇到过类似的问题(不完全相同的崩溃)。它的文档突出了限制。我想存在内部状态(在崩溃中看到的哈希表),它以基于不同 UI View 的对象的冲突方式更新。

如果您不重复使用它们,请尝试暂时删除所有它们,以确认系统在其他方面是否稳定。

关于ios - 如何理解这次崩溃? : SIGBUS BUS_ADRALN,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11453948/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com