Crashed: com.apple.main-thread 0 libsystem_kernel.dylib 0x7260 __pthread_kill + 8 1 libsystem_pthread.dylib 0x73c0 pthread_kill + 268 2 libsystem_c.dylib 0x20e74 abort + 180 3 libsystem_c.dylib 0x77940 err + 270 4 UIFoundation 0xde800 -[_NSOptimalLineBreaker _softHyphenPenaltyForBreak:].cold.1 + 42 5 UIFoundation 0x70ca4 -[_NSOptimalLineBreaker _breakPenaltyForHyphenationFactor:] + 174 6 UIFoundation 0x70cc8 -[_NSOptimalLineBreaker _breakPenaltyForHyphenationFactor:] + 36 7 UIFoundation 0x70d38 -[_NSOptimalLineBreaker _softHyphenPenaltyForBreak:] + 72 8 UIFoundation 0x70e7c -[_NSOptimalLineBreaker _demeritFromBreak:toBreak:usingExpansionRatio:] + 164 9 UIFoundation 0x725f4 -[_NSOptimalLineBreaker _createNodeWithParent:lineBreak:expansionRatio:] + 152 10 UIFoundation 0x72f84 __50-[_NSOptimalLineBreaker _calculateOptimalWrapping]_block_invoke + 144 11 CoreFoundation 0x6ea4 __CFSetApplyFunction_block_invoke + 28 12 CoreFoundation 0x29344 CFBasicHashApply + 148 13 CoreFoundation 0xd87c CFSetApplyFunction + 320 14 UIFoundation 0xb51f8 _CFSetApplyBlock + 60 15 UIFoundation 0x72a00 -[_NSOptimalLineBreaker _calculateOptimalWrapping] + 472 16 UIFoundation 0x93e8c -[NSParagraphArbitrator _computeOptimalLayout] + 252 17 UIFoundation 0x93ce4 -[NSParagraphArbitrator _optimalLineBreakContextBeforeIndex:lineFragmentWidth:range:] + 84 18 UIFoundation 0xa0b50 -[NSCoreTypesetter _createLineRefForParentLineRef:range:availableWidth:offset:paragraphArbitrator:lineBreakMode:hyphenated:forcedClusterBreak:] + 532 19 UIFoundation 0x1aecc -[NSCoreTypesetter _stringDrawingCoreTextEngineWithOriginalString:rect:padding:graphicsContext:forceClipping:attributes:stringDrawingOptions:drawingContext:stringDrawingInterface:] + 4536 20 UIFoundation 0x161c8 __NSStringDrawingEngine + 1284 21 UIFoundation 0x24cbc -[NSAttributedString(NSExtendedStringDrawing) boundingRectWithSize:options:context:] + 644 22 UIKitCore 0x1462f0 _UIComputedSizeForLabel + 452 23 UIKitCore 0x2676e0 -[UILabel _textRectForBounds:limitedToNumberOfLines:includingShadow:] + 700 24 UIKitCore 0x14e8e0 -[UILabel _intrinsicSizeWithinSize:] + 476 25 UIKitCore 0x259494 -[UILabel intrinsicContentSize] + 280 26 UIKitCore 0x155150 -[UIView _generateContentSizeConstraints] + 52 27 UIKitCore 0x1e68d8 -[UIView _updateContentSizeConstraints] + 244 28 UIKitCore 0x275b98 -[UIView(AdditionalLayoutSupport) _updateSystemConstraints] + 88 29 UIKitCore 0x2c5cc4 -[UIView(AdditionalLayoutSupport) _sendUpdateConstraintsIfNecessaryForSecondPass:] + 348 30 UIKitCore 0x13c5b8 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 764 31 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 32 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 33 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 34 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 35 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 36 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 37 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 38 UIKitCore 0x13c4d4 -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededCollectingViews:forSecondPass:] + 536 39 CoreAutoLayout 0x787c -[NSISEngine withBehaviors:performModifications:] + 84 40 UIKitCore 0x1f42fc -[UIView(AdditionalLayoutSupport) _updateConstraintsIfNeededWithViewForVariableChangeNotifications:] + 508 41 UIKitCore 0x3986ec -[UIView(AdditionalLayoutSupport) _updateConstraintsAtEngineLevelIfNeededWithViewForVariableChangeNotifications:] + 388 42 UIKitCore 0x13ff78 -[UIView _updateConstraintsAsNecessaryAndApplyLayoutFromEngine] + 332 43 UIKitCore 0x13989c -[UIView(CALayerDelegate) layoutSublayersOfLayer:] + 1980 44 QuartzCore 0x3b380 CA::Layer::layout_if_needed(CA::Transaction*) + 500 45 QuartzCore 0x2d238 CA::Layer::layout_and_display_if_needed(CA::Transaction*) + 148 46 QuartzCore 0x41834 CA::Context::commit_transaction(CA::Transaction*, double, double*) + 456 47 QuartzCore 0x4abd8 CA::Transaction::commit() + 652 48 QuartzCore 0x2c918 CA::Transaction::flush_as_runloop_observer(bool) + 88 49 UIKitCore 0x42c768 _UIApplicationFlushCATransaction + 52 50 UIKitCore 0x64f310 _UIUpdateSequenceRun + 84 51 UIKitCore 0xc72984 schedulerStepScheduledMainSection + 172 52 UIKitCore 0xc71fcc runloopSourceCallback + 92 53 CoreFoundation 0xb928c CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION + 28 54 CoreFoundation 0xc9dc8 __CFRunLoopDoSource0 + 176 55 CoreFoundation 0x5d2c __CFRunLoopDoSources0 + 244 56 CoreFoundation 0xb4f4 __CFRunLoopRun + 836 57 CoreFoundation 0x1f080 CFRunLoopRunSpecific + 612 58 GraphicsServices 0x1360 GSEventRunModal + 164 59 UIKitCore 0x40afb4 -[UIApplication _run] + 888 60 UIKitCore 0x2116e8 UIApplicationMain + 340
iOS16 beta crash
-[_NSOptimalLineBreaker _softHyphenPenaltyForBreak:].
Assertion failed: (0 < naturalWidth && naturalWidth <= _textContainerWidth), function -[_NSOptimalLineBreaker _estimatedExpansionRatioForLineWithNaturalWidth:], file NSOptimalLineBreaker.m, line 448. Assertion failed: (0 < naturalWidth && naturalWidth <= _textContainerWidth), function -[_NSOptimalLineBreaker _estimatedExpansionRatioForLineWithNaturalWidth:], file NSOptimalLineBreaker.m, line 448. CoreSimulator 842.8 - Device: iPhone 13 (0CDDC579-C6D4-4294-A010-7448C57776A3) - Runtime: iOS 16.0 (20A5303f) - DeviceType: iPhone 13 _LSContextInitReturningError() failed with error Error Domain=NSOSStatusErrorDomain Code=-10817 "(null)" UserInfo={_LSFunction=_LSSchemaConfigureForStore, ExpectedSimulatorHash={length = 32, bytes = 0x7a9ab00c 3b33d0f5 3904a549 22ba7bf3 ... b86f2ccb 3d7b362c }, _LSLine=478, WrongSimulatorHash={length = 32, bytes = 0xf102aeda b636d893 efdd5782 7e61c184 ... e1838eca e49fa6d8 }}
@Developer Technical Support @Apple
Hi we have same issue right now. not sure if something we could do to bypass the crash.
I had a similar problem and it affected a lot of people upgrading to beta. We urgently hope that the official can provide a solution as soon as possible, so as to avoid bringing very bad experience to users
Use UIStackView iOS16 crash.
@fujin-ioser Hello thanks for the update! Not sure, so it's about UIStackView? How to tell it in the crash stack trace?