gpt4 book ai didi

ios - 坠机原因是什么?

转载 作者:行者123 更新时间:2023-11-29 05:53:56 25 4
gpt4 key购买 nike

NSInternalInconsistencyException

SIGABRT

存储在表中的变量与传入的变量不匹配 0x282720900.negError{id: 1046} != placeholderForExpressionBeingAdded{id: 1019}

线程崩溃

#0 Thread
NSInternalInconsistencyException
EXC_CRASH
0 CoreFoundation ___exceptionPreprocess
1 libobjc.A.dylib _objc_exception_throw
2 CoreFoundation +[_CFXNotificationTokenRegistration keyCallbacks]
3 Foundation -[NSAssertionHandler handleFailureInFunction:file:lineNumber:description:]
4 Foundation __engineVarForVariable
5 Foundation __addToEngineVarTableIfNeeded
6 Foundation -[NSISEngine tryToAddConstraintWithMarker:expression:mutuallyExclusiveConstraints:]
7 Foundation -[NSLayoutConstraint _addLoweredExpression:toEngine:lastLoweredConstantWasRounded:mutuallyExclusiveConstraints:]
8 Foundation -[NSLayoutConstraint _addToEngine:mutuallyExclusiveConstraints:]
9 UIKitCore -[UIView(UIConstraintBasedLayout) _layoutEngine_didAddLayoutConstraint:roundingAdjustment:mutuallyExclusiveConstraints:]
10 UIKitCore -[UIView(UIConstraintBasedLayout) _tryToAddConstraintWithoutUpdatingConstraintsArray:roundingAdjustment:mutuallyExclusiveConstraints:]
11 UIKitCore -[UIView(UIConstraintBasedLayout) nsli_addConstraint:]
12 UIKitCore -[UIView(UIConstraintBasedLayout) _updateContentSizeConstraints]
13 UIKitCore -[UIView(AdditionalLayoutSupport) _updateSystemConstraints]
14 UIKitCore -[UIButton updateConstraints]
15 UIKitCore -[UIView(AdditionalLayoutSupport) _sendUpdateConstraintsIfNecessaryForSecondPass:]
16 UIKitCore -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:]
17 UIKitCore -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:]
18 Foundation -[NSISEngine withBehaviors:performModifications:]
19 UIKitCore ___100-[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]_block_invoke
20 UIKitCore -[UIView(AdditionalLayoutSupport) _withUnsatisfiableConstraintsLoggingSuspendedIfEngineDelegateExists:]
21 UIKitCore -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:]
22 UIKitCore -[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeededWithViewForVariableChangeNotifications:]
23 UIKitCore -[UIView(Hierarchy) _updateConstraintsAsNecessaryAndApplyLayoutFromEngine]
24 xxxxxxxx -[UIView(category) xxxxxx_layoutSubviews] UIView+HighLayer.m:29
25 UIKitCore -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
26 QuartzCore -[CALayer layoutSublayers]
27 QuartzCore __ZN2CA5Layer16layout_if_neededEPNS_11TransactionE
28 QuartzCore __ZN2CA7Context18commit_transactionEPNS_11TransactionE
29 QuartzCore __ZN2CA11Transaction6commitEv
30 QuartzCore __ZN2CA11Transaction17observer_callbackEP19__CFRunLoopObservermPv
31 CoreFoundation ___CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__
32 CoreFoundation ___CFRunLoopDoObservers
33 CoreFoundation ___CFRunLoopRun
34 CoreFoundation _CFRunLoopRunSpecific
35 GraphicsServices _GSEventRunModal
36 UIKitCore _UIApplicationMain
37 xxxxxxxx main main.mm:50
38 libdyld.dylib _start

最佳答案

我也遇到过这种情况。崩溃原因是在子线程中调用 UIKit 方法。你最好打开“主线程检查器”,尽管你的崩溃线程是#0。

关于ios - 坠机原因是什么?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55373241/

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