Crash related to UI constraints on ios9

Hi ,


Our customers experienced random crashes on ios 9.0 on ipad air 2.

This is what's in our log, unfortunately I can't repro the issue so far.

No warnings related to constraint in xcode6 and xcode7 and all look reasonable.


Any advice on why it's happening or how to trace the issue will be highly appreciated.


Thanks,

Helen


Log

>>>>


Will attempt to recover by breaking constraint

<NSLayoutConstraint:0x1602464f0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x160234d00'UIViewLayoutMarginsGuide']-(3)-| (Names: '|':_UIButtonBarStackView:0x16008e740 )>



Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

2015-09-23 19:27:45.680 Register[512:257666] Unable to simultaneously satisfy constraints.

Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)

(

"<NSAutoresizingMaskLayoutConstraint:0x165c5e490 h=--& v=--& V:[UIKeyboardAssistantBar:0x160236260(0)]>",

"<NSLayoutConstraint:0x16024ae70 V:|-(0)-[_UIButtonBarStackView:0x1602345a0] (Names: '|':UIKeyboardAssistantBar:0x160236260 )>",

"<NSLayoutConstraint:0x16024af50 V:[_UIButtonBarStackView:0x1602345a0]-(0)-| (Names: '|':UIKeyboardAssistantBar:0x160236260 )>",

"<NSLayoutConstraint:0x1602484d0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x16023fd10'UIViewLayoutMarginsGuide']-(3)-| (Names: '|':_UIButtonBarStackView:0x1602345a0 )>",

"<NSLayoutConstraint:0x1602483c0 'UIView-topMargin-guide-constraint' V:|-(10)-[UILayoutGuide:0x16023fd10'UIViewLayoutMarginsGuide'] (Names: '|':_UIButtonBarStackView:0x1602345a0 )>"

)



Will attempt to recover by breaking constraint

<NSLayoutConstraint:0x1602484d0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x16023fd10'UIViewLayoutMarginsGuide']-(3)-| (Names: '|':_UIButtonBarStackView:0x1602345a0 )>



Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

2015-09-23 19:27:45.681 Register[512:257666] Unable to simultaneously satisfy constraints.

Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)

(

"<NSAutoresizingMaskLayoutConstraint:0x165c5e490 h=--& v=--& V:[UIKeyboardAssistantBar:0x160236260(0)]>",

"<NSLayoutConstraint:0x16024b060 V:|-(0)-[_UIButtonBarStackView:0x160250670] (Names: '|':UIKeyboardAssistantBar:0x160236260 )>",

"<NSLayoutConstraint:0x16024b0b0 V:[_UIButtonBarStackView:0x160250670]-(0)-| (Names: '|':UIKeyboardAssistantBar:0x160236260 )>",

"<NSLayoutConstraint:0x160249ea0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x16023e720'UIViewLayoutMarginsGuide']-(3)-| (Names: '|':_UIButtonBarStackView:0x160250670 )>",

"<NSLayoutConstraint:0x160249d80 'UIView-topMargin-guide-constraint' V:|-(10)-[UILayoutGuide:0x16023e720'UIViewLayoutMarginsGuide'] (Names: '|':_UIButtonBarStackView:0x160250670 )>"

)



Will attempt to recover by breaking constraint

<NSLayoutConstraint:0x160249ea0 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x16023e720'UIViewLayoutMarginsGuide']-(3)-| (Names: '|':_UIButtonBarStackView:0x160250670 )>



Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

2015-09-23 19:27:45.682 Register[512:257666] Unable to simultaneously satisfy constraints.

Probably at least one of the constraints in the following list is one you don't want. Try this: (1) look at each constraint and try to figure out which you don't expect; (2) find the code that added the unwanted constraint or constraints and fix it. (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)

(

"<NSContentSizeLayoutConstraint:0x1658e73c0 V:[_UIUCBKBSelectionBackground:0x165775f50(36)] Hug:250 CompressionResistance:750>",

"<NSLayoutConstraint:0x16572e3f0 V:|-(0)-[_UIUCBKBSelectionBackground:0x165775f50] (Names: '|':_UIButtonBarButton:0x16576be90 )>",

"<NSLayoutConstraint:0x16572e4c0 _UIUCBKBSelectionBackground:0x165775f50.bottom == _UIButtonBarButton:0x16576be90.bottom>",

"<NSLayoutConstraint:0x165bf8680 'UIButtonBar.maximumAlignmentSize' _UIButtonBarButton:0x16576be90.height == UILayoutGuide:0x160234d00'UIViewLayoutMarginsGuide'.height>"

)



Will attempt to recover by breaking constraint

<NSContentSizeLayoutConstraint:0x1658e73c0 V:[_UIUCBKBSelectionBackground:0x165775f50(36)] Hug:250 CompressionResistance:750>



Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

2015-09-23 19:27:45.702 Register[512:257666] Objective: {objective 0x15e7db770: <> + <250:2>*0x15e7d3130.marker{id: 83653} + <250:2>*0x16526cf90.marker{id: 83641} + <250:-2>*0x16529f240.marker{id: 83647} + <250:2>*0x1652cce20.marker{id: 83665} + <250:1>*0x1653a0ee0.negError{id: 87393} + <250:1>*0x1653a0ee0.posErrorMarker{id: 87392} + <250:1>*0x1653a2c30.negError{id: 87397} + <250:1>*0x1653a2c30.posErrorMarker{id: 87396} + <250:2>*0x1653a7ec0.marker{id: 87386} + <250:1>*0x165692de0.negError{id: 87395} + <250:1>*0x165692de0.posErrorMarker{id: 87394} + <250:1>*0x1656d2220.negError{id: 87391} + <250:1>*0x1656d2220.posErrorMarker{id: 87390} + <750:1, 250:1>*0x16570d1b0.negError{id: 8689} + <750:1, 250:1>*0x16570ee50.negError{id: 8691} + <750:1, 250:-1>*0x16570f5e0.negError{id: 8695} + <250:2>*0x16570f5e0.posErrorMarker{id: 8694} + <750:1, 250:1>*0x165717440.negError{id: 8693} + <250:-1>*0x165865c60.marker{id: 8480} + <250:1>*0x165865e20.marker{id: 8470} + <250:-1>*0x165865e70.marker{id: 8476} + <250:1>*0x165865ec0.marker{id: 8478} + <250:-2>*0x165991f30.marker{id: 87385} + <250:-1>*<unknown var (bug!) with engine as delegate:0x1656f51b0>{id: 87383}}

2015-09-23 19:27:45.702 Register[512:257666] Auto layout internal error. Cannot find an outgoing row head for incoming head <unknown var (bug!) with engine as delegate:0x1656f51b0>{id: 87383}, which should never happen. Priority: 250, Coefficient: -1.0000000000

2015-09-23 19:27:45.712 Register[512:257666] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'Auto layout internal error. Cannot find an outgoing row head for incoming head <unknown var (bug!) with engine as delegate:0x1656f51b0>{id: 87383}, which should never happen. Priority: 250, Coefficient: -1.0000000000. Engine:<NSISEngine: 0x16526a500>{ Rows:

0x15e7c7480:UIInputWindowController-top.marker{id: 83659} == 0 + 1*0x15e790cf0.marker{id: 83644}

0x165209740:UIInputWindowController-height.marker{id: 83662} == 0 + -1*0x15e790cf0.marker{id: 83644} + 1*0x165226d40.marker{id: 83650}

0x16529cd00:UIInputWindowController-left.marker{id: 83660} == 0 + 1*0x16529f240.marker{id: 83647}

0x1652da5f0:UIInputWindowController-width.marker{id: 83661} == 0 + -1*0x16529f240.marker{id: 83647} + 1*0x15e7d3130.marker{id: 83653}

0x16570d1b0.posErrorMarker{id: 8688} == 0 + 1*0x165865e20.marker{id: 8470} + -1*0x165865e70.marker{id: 8476} + 1*0x16570d1b0.negError{id: 8689} + 1*0x16526cf90.marker{id: 83641} + -1*0x16529f240.marker{id: 83647} + 1*0x15e7d3130.marker{id: 83653} + 1*0x1652cce20.marker{id: 83665} + -1*0x165991f30.marker{id: 87385} + 1*0x1653a7ec0.marker{id: 87386}

0x16570ee50.posErrorMarker{id: 8690} == 0 + 1*0x165865ec0.marker{id: 8478} + -1*0x165865c60.marker{id: 8480} + 1*0x16570ee50.negError{id: 8691} + 1*0x16570f5e0.posErrorMarker{id: 8694} + -1*0x16570f5e0.negError{id: 8695}

0x165717440.posErrorMarker{id: 8692} == 0 + 1*0x165717440.negError{id: 8693} + 1*0x16526cf90.marker{id: 83641} + -1*0x16529f240.marker{id: 83647} + 1*0x15e7d3130.marker{id: 83653} + 1*0x1652cce20.marker{id: 83665} + -1*0x165991f30.marker{id: 87385} + 1*0x1653a7ec0.marker{id: 87386}

UIInputSetContainerView:0x1652dcc70.Height{id: 83651} == 276480 + -360*0x15e790cf0.marker{id: 83644} + 360*0x165226d40.marker{id: 83650} + 360*0x15e77fa80.marker{id: 83668}

UIInputSetContainerView:0x1652dcc70.Width{id: 83643} == 368640 + -360*0x16529f240.marker{id: 83647} + 360*0x15e7d3130.marker{id: 83653} + 360*0x1652cce20.marker{id: 83665}

UIInputSetContainerView:0x1652dcc70.minX{id: 83648} == 0 + 360*0x16529f240.marker{id: 83647} + 360*0x165205db0.marker{id: 83663} + -180*0x1652cce20.marker{id: 83665}

UIInputSetContainerView:0x1652dcc70.minY{id: 83645} == 0 + 360*0x15e790cf0.marker{id: 83644} + 360*0x1652541d0.marker{id: 83664} + -180*0x15e77fa80.marker{id: 83668}

UIInputSetHostView:0x1652de7c0.Height{id: 83671} == 123480 + 360*0x16570f5e0.posErrorMarker{id: 8694} + -360*0x16570f5e0.negError{id: 8695} + -360*0x16599f3d0.marker{id: 87384} + 360*0x160090820.marker{id: 87387}

UIInputSetHostView:0x1652de7c0.Width{id: 83642} == 368640 + 360*0x16526cf90.marker{id: 83641} + -360*0x16529f240.marker{id: 83647} + 360*0x15e7d3130.marker{id: 83653} + 360*0x1652cce20.marker{id: 83665}

UIInputSetHostView:0x1652de7c0.minX{id: 83658} == 0 + 360*0x16529f240.marker{id: 83647} + 360*0x165205db0.marker{id: 83663} + -180*0x1652cce20.marker{id: 83665} + 360*0x165906510.marker{id: 87399}

UIInputSetHostView:0x1652de7c0.minY{id: 83656} == 276480 + 360*0x165226d40.marker{id: 83650} + 360*0x1652541d0.marker{id: 83664} + 180*0x15e77fa80.marker{id: 83668} + 360*0x160014560.marker{id: 87398}

UIKBInputBackdropView:0x165c48560.Height{id: 87012} == 123480 + 360*0x16570f5e0.posErrorMarker{id: 8694} + -360*0x16570f5e0.negError{id: 8695} + 360*0x1653a2c30.posErrorMarker{id: 87396} + -360*0x1653a2c30.negError{id: 87397}

UIKBInputBackdropView:0x165c48560.Width{id: 87018} == 368640 + 360*0x16526cf90.marker{id: 83641} + -360*0x16529f240.marker{id: 83647} + 360*0x15e7d3130.marker{id: 83653} + 360*0x1652cce20.marker{id: 83665} + -360*0x165991f30.marker{id: 87385} + 360*0x1653a7ec0.marker{id: 87386} + -360*0x1653a0ee0.posErrorMarker{id: 87392} + 360*0x1653a0ee0.negError{id: 87393} + 360*0x165692de0.posErrorMarker{id: 87394} + -360*0x165692de0.negError{id: 87395}

UIKBInputBackdropView:0x165c48560.minX{id: 87015} == 0 + 360*0x16529f240.marker{id: 83647} + 360*0x165205db0.marker{id: 83663} + -180*0x1652cce20.marker{id: 83665} + 360*0x165991f30.marker{id: 87385} + 360*0x1653a0ee0.posErrorMarker{id: 87392} + -360*0x1653a0ee0.negError{id: 87393} + 360*0x165906510.marker{id: 87399}

UIKBInputBackdropView:0x165c48560.minY{id: 87011} == 276480 + 360*0x165226d40.marker{id: 83650} + 360*0x1652541d0.marker{id: 83664} + 180*0x15e77fa80.marker{id: 83668} + 360*0x160090820.marker{id: 87387} + 360*0x1656d2220.posErrorMarker{id: 87390} + -360*0x1656d2220.negError{id: 87391} + -360*0x1653a2c30.posErrorMarker{id: 87396} + 360*0x1653a2c30.negError{id: 87397} + 360*0x160014560.marker{id: 87398}

UIKeyboardAutomatic:0x1600dfa90.Height{id: 8481} == 123480 + 360*0x165865ec0.marker{id: 8478} + -360*0x165865c60.marker{id: 8480} + 360*0x16570f5e0.posErrorMarker{id: 8694} + -360*0x16570f5e0.negError{id: 8695}

UIKeyboardAutomatic:0x1600dfa90.Width{id: 8477} == 368640 + 360*0x165865e20.marker{id: 8470} + -360*0x165865e70.marker{id: 8476} + 360*0x16526cf90.marker{id: 83641} + -360*0x16529f240.marker{id: 83647} + 360*0x15e7d3130.marker{id: 83653} + 360*0x1652cce20.marker{id: 83665} + -360*0x165991f30.marker{id: 87385} + 360*0x1653a7ec0.marker{id: 87386}

UIKeyboardAutomatic:0x1600dfa90.minX{id: 8472} == 0 + -360*0x165865e20.marker{id: 8470} + 360*0x16529f240.marker{id: 83647} + 360*0x165205db0.marker{id: 83663} + -180*0x1652cce20.marker{id: 83665} + 360*0x165991f30.marker{id: 87385} + 360*0x165906510.marker{id: 87399}

UIKeyboardAutomatic:0x1600dfa90.minY{id: 8479} == 276480 + -360*0x165865ec0.marker{id: 8478} + 360*0x165226d40.marker{id: 83650} + 360*0x1652541d0.marker{id: 83664} + 180*0x15e77fa80.marker{id: 83668} + 360*0x160090820.marker{id: 87387} + 360*0x160014560.marker{id: 87398}

UIKeyboardImpl:0x16535d710.Height{id: 8684} == 123480 + 360*0x165b227e0.marker{id: 87076}

UIKeyboardImpl:0x16535d710.Width{id: 8679} == 368640 + 360*0x165bedde0.marker{id: 87072}

UIKeyboardImpl:0x16535d710.minX{id: 8669} == 0 + -360*0x165865e20.marker{id: 8470} + 360*0x16529f240.marker{id: 83647} + 360*0x165205db0.marker{id: 83663} + -180*0x1652cce20.marker{id: 83665} + 360*0x165c3dff0.marker{id: 87071} + -180*0x165bedde0.marker{id: 87072} + 360*0x165991f30.marker{id: 87385} + 360*0x165906510.marker{id: 87399}

UIKeyboardImpl:0x16535d710.minY{id: 8674} == 276480 + -360*0x165865ec0.marker{id: 8478} + 360*0x165226d40.marker{id: 83650} + 360*0x1652541d0.marker{id: 83664} + 180*0x15e77fa80.marker{id: 83668} + 360*0x165bec0d0.marker{id: 87075} + -180*0x165b227e0.marker{id: 87076} + 360*0x160090820.marker{id: 87387} + 360*0x160014560.marker{id: 87398}

UIRemoteKeyboardWindow:0x165c48060.Height{id: 83652} == 276480 + 360*0x15e77fa80.marker{id: 83668}

UIRemoteKeyboardWindow:0x165c48060.Width{id: 83654} == 368640 + 360*0x1652cce20.marker{id: 83665}

UIRemoteKeyboardWindow:0x165c48060.minX{id: 83649} == 0 + 360*0x165205db0.marker{id: 83663} + -180*0x1652cce20.marker{id: 83665}

UIRemoteKeyboardWindow:0x165c48060.minY{id: 83646} == 0 + 360*0x1652541d0.marker{id: 83664} + -180*0x15e77fa80.marker{id: 83668}

_UIKBCompatInputView:0x1657070d0.Height{id: 8475} == 123480 + 360*0x16570f5e0.posErrorMarker{id: 8694} + -360*0x16570f5e0.negError{id: 8695}

_UIKBCompatInputView:0x1657070d0.Width{id: 8474} == 368640 + 360*0x16526cf90.marker{id: 83641} + -360*0x16529f240.marker{id: 83647} + 360*0x15e7d3130.marker{id: 83653} + 360*0x1652cce20.marker{id: 83665} + -360*0x165991f30.marker{id: 87385} + 360*0x1653a7ec0.marker{id: 87386}

_UIKBCompatInputView:0x1657070d0.minX{id: 8471} == 0 + 360*0x16529f240.marker{id: 83647} + 360*0x165205db0.marker{id: 83663} + -180*0x1652cce20.marker{id: 83665} + 360*0x165991f30.marker{id: 87385} + 360*0x165906510.marker{id: 87399}

_UIKBCompatInputView:0x1657070d0.minY{id: 8473} == 276480 + 360*0x165226d40.marker{id: 83650} + 360*0x1652541d0.marker{id: 83664} + 180*0x15e77fa80.marker{id: 83668} + 360*0x160090820.marker{id: 87387} + 360*0x160014560.marker{id: 87398}

objective{id: 83640} == {objective 0x15e7db770: <> + <250:2>*0x15e7d3130.marker{id: 83653} + <250:2>*0x16526cf90.marker{id: 83641} + <250:-2>*0x16529f240.marker{id: 83647} + <250:2>*0x1652cce20.marker{id: 83665} + <250:1>*0x1653a0ee0.negError{id: 87393} + <250:1>*0x1653a0ee0.posErrorMarker{id: 87392} + <250:1>*0x1653a2c30.negError{id: 87397} + <250:1>*0x1653a2c30.posErrorMarker{id: 87396} + <250:2>*0x1653a7ec0.marker{id: 87386} + <250:1>*0x165692de0.negError{id: 87395} + <250:1>*0x165692de0.posErrorMarker{id: 87394} + <250:1>*0x1656d2220.negError{id: 87391} + <250:1>*0x1656d2220.posErrorMarker{id: 87390} + <750:1, 250:1>*0x16570d1b0.negError{id: 8689} + <750:1, 250:1>*0x16570ee50.negError{id: 8691} + <750:1, 250:-1>*0x16570f5e0.negError{id: 8695} + <250:2>*0x16570f5e0.posErrorMarker{id: 8694} + <750:1, 250:1>*0x165717440.negError{id: 8693} + <250:-1>*0x165865c60.marker{id: 8480} + <250:1>*0x165865e20.marker{id: 8470} + <250:-1>*0x165865e70.marker{id: 8476} + <250:1>*0x165865ec0.marker{id: 8478} + <250:-2>*0x165991f30.marker{id: 87385} + <250:-1>*<unknown var (bug!) with engine as delegate:0x1656f51b0>{id: 87383}}



Constraints:

<NSAutoresizingMaskLayoutConstraint:0x15e77fa80 h=--- v=--- V:[UIRemoteKeyboardWindow:0x165c48060(768)]> Marker:0x15e77fa80.marker{id: 83668}

<NSAutoresizingMaskLayoutConstraint:0x1652cce20 h=--- v=--- H:[UIRemoteKeyboardWindow:0x165c48060(1024)]> Marker:0x1652cce20.marker{id: 83665}

<NSAutoresizingMaskLayoutConstraint:0x165b227e0 h=--& v=--& V:[UIKeyboardImpl:0x16535d710(343)]> Marker:0x165b227e0.marker{id: 87076}

<NSAutoresizingMaskLayoutConstraint:0x165bec0d0 h=--& v=--& UIKeyboardImpl:0x16535d710.midY == + 171.5> Marker:0x165bec0d0.marker{id: 87075}

<NSAutoresizingMaskLayoutConstraint:0x165bedde0 h=--& v=--& H:[UIKeyboardImpl:0x16535d710(1024)]> Marker:0x165bedde0.marker{id: 87072}

<NSAutoresizingMaskLayoutConstraint:0x165c3dff0 h=--& v=--& UIKeyboardImpl:0x16535d710.midX == + 512> Marker:0x165c3dff0.marker{id: 87071}

<NSContentSizeLayoutConstraint:0x16570d1b0 H:[UIKeyboardAutomatic:0x1600dfa90(1024)] Hug:250 CompressionResistance:750> Marker:0x16570d1b0.posErrorMarker{id: 8688}

<NSContentSizeLayoutConstraint:0x16570ee50 V:[UIKeyboardAutomatic:0x1600dfa90(343)] Hug:250 CompressionResistance:750> Marker:0x16570ee50.posErrorMarker{id: 8690}

<NSContentSizeLayoutConstraint:0x16570f5e0 V:[_UIKBCompatInputView:0x1657070d0(343)] Hug:250 CompressionResistance:750> Marker:0x16570f5e0.posErrorMarker{id: 8694}

<NSContentSizeLayoutConstraint:0x165717440 H:[_UIKBCompatInputView:0x1657070d0(1024)] Hug:250 CompressionResistance:750> Marker:0x165717440.posErrorMarker{id: 8692}

<NSLayoutConstraint:0x15e790cf0 V:|-(0)-[UIInputSetContainerView:0x1652dcc70] (Names: '|':UIRemoteKeyboardWindow:0x165c48060 )> Marker:0x15e790cf0.marker{id: 83644}

<NSLayoutConstraint:0x15e7c7480 'UIInputWindowController-top' V:|-(0)-[UIInputSetContainerView:0x1652dcc70] (Names: '|':UIRemoteKeyboardWindow:0x165c48060 )> Marker:0x15e7c7480:UIInputWindowController-top.marker{id: 83659}

<NSLayoutConstraint:0x15e7d3130 UIInputSetContainerView:0x1652dcc70.right == UIRemoteKeyboardWindow:0x165c48060.right> Marker:0x15e7d3130.marker{id: 83653}

<NSLayoutConstraint:0x160014560 V:[UIInputSetContainerView:0x1652dcc70]-(0)-[UIInputSetHostView:0x1652de7c0]> Marker:0x160014560.marker{id: 87398}

<NSLayoutConstraint:0x160090820 V:|-(0)-[_UIKBCompatInputView:0x1657070d0] (Names: '|':UIInputSetHostView:0x1652de7c0 )> Marker:0x160090820.marker{id: 87387}

<NSLayoutConstraint:0x165209740 'UIInputWindowController-height' UIInputSetContainerView:0x1652dcc70.height == UIRemoteKeyboardWindow:0x165c48060.height> Marker:0x165209740:UIInputWindowController-height.marker{id: 83662}

<NSLayoutConstraint:0x165226d40 UIInputSetContainerView:0x1652dcc70.bottom == UIRemoteKeyboardWindow:0x165c48060.bottom> Marker:0x165226d40.marker{id: 83650}

<NSLayoutConstraint:0x16526cf90 UIInputSetHostView:0x1652de7c0.width == UIInputSetContainerView:0x1652dcc70.width> Marker:0x16526cf90.marker{id: 83641}

<NSLayoutConstraint:0x16529cd00 'UIInputWindowController-left' H:|-(0)-[UIInputSetContainerView:0x1652dcc70](LTR) (Names: '|':UIRemoteKeyboardWindow:0x165c48060 )> Marker:0x16529cd00:UIInputWindowController-left.marker{id: 83660}

<NSLayoutConstraint:0x16529f240 H:|-(0)-[UIInputSetContainerView:0x1652dcc70](LTR) (Names: '|':UIRemoteKeyboardWindow:0x165c48060 )> Marker:0x16529f240.marker{id: 83647}

<NSLayoutConstraint:0x1652da5f0 'UIInputWindowController-width' UIInputSetContainerView:0x1652dcc70.width == UIRemoteKeyboardWindow:0x165c48060.width> Marker:0x1652da5f0:UIInputWindowController-width.marker{id: 83661}

<NSLayoutConstraint:0x1653a0ee0 UIKBInputBackdropView:0x165c48560.left == _UIKBCompatInputView:0x1657070d0.left priority:250> Marker:0x1653a0ee0.posErrorMarker{id: 87392}

<NSLayoutConstraint:0x1653a2c30 UIKBInputBackdropView:0x165c48560.height == _UIKBCompatInputView:0x1657070d0.height priority:250> Marker:0x1653a2c30.posErrorMarker{id: 87396}

<NSLayoutConstraint:0x1653a7ec0 _UIKBCompatInputView:0x1657070d0.right == UIInputSetHostView:0x1652de7c0.right> Marker:0x1653a7ec0.marker{id: 87386}

<NSLayoutConstraint:0x165692de0 UIKBInputBackdropView:0x165c48560.right == _UIKBCompatInputView:0x1657070d0.right priority:250> Marker:0x165692de0.posErrorMarker{id: 87394}

<NSLayoutConstraint:0x1656d2220 UIKBInputBackdropView:0x165c48560.bottom == _UIKBCompatInputView:0x1657070d0.bottom priority:250> Marker:0x1656d2220.posErrorMarker{id: 87390}

<NSLayoutConstraint:0x165865c60 V:[UIKeyboardAutomatic:0x1600dfa90]-(0)-| (Names: '|':_UIKBCompatInputView:0x1657070d0 )> Marker:0x165865c60.marker{id: 8480}

<NSLayoutConstraint:0x165865e20 _UIKBCompatInputView:0x1657070d0.left == UIKeyboardAutomatic:0x1600dfa90.left> Marker:0x165865e20.marker{id: 8470}

<NSLayoutConstraint:0x165865e70 H:[UIKeyboardAutomatic:0x1600dfa90]-(0)-|(LTR) (Names: '|':_UIKBCompatInputView:0x1657070d0 )> Marker:0x165865e70.marker{id: 8476}

<NSLayoutConstraint:0x165865ec0 _UIKBCompatInputView:0x1657070d0.top == UIKeyboardAutomatic:0x1600dfa90.top> Marker:0x165865ec0.marker{id: 8478}

<NSLayoutConstraint:0x165906510 H:|-(0)-[UIInputSetHostView:0x1652de7c0](LTR) (Names: '|':UIInputSetContainerView:0x1652dcc70 )> Marker:0x165906510.marker{id: 87399}

<NSLayoutConstraint:0x165991f30 H:|-(0)-[_UIKBCompatInputView:0x1657070d0](LTR) (Names: '|':UIInputSetHostView:0x1652de7c0 )> Marker:0x165991f30.marker{id: 87385}

<NSLayoutConstraint:0x16599f3d0 _UIKBCompatInputView:0x1657070d0.bottom == UIInputSetHostView:0x1652de7c0.bottom> Marker:0x16599f3d0.marker{id: 87384}

<_UIWindowAnchoringConstraint:0x165205db0 h=--- v=--- UIRemoteKeyboardWindow:0x165c48060.midX == + 512> Marker:0x165205db0.marker{id: 83663}

<_UIWindowAnchoringConstraint:0x1652541d0 h=--- v=--- UIRemoteKeyboardWindow:0x165c48060.midY == + 384> Marker:0x1652541d0.marker{id: 83664}



Integralization Adjustments:

(none)



Statistics:

35 rows. Variable counts:

1 -> 6

2 -> 5

3 -> 4

4 -> 6

5 -> 3

6 -> 3

7 -> 2

8 -> 3

9 -> 2

10 -> 1

}'

Replies

At the moment I am looking into the same problem. Every time the Siri-button on the keyboard is used, a bunch of constraint-errors popup and now and then, the app crashed completely (crash log looks similar). So I can reproduce it!

I didn't code it and my predecessor completely ignored AutoLayout, so I am still trying to figure out, what is happening.

Same issue here but its between views. The only thing that i got in my crash is that all the stacktraces finish with:


internal error. Cannot find an outgoing row head for incoming head 0x1b50fdb0.negError{id: 1667}, which should never happen.


And that 0x1b50fdb0.negError{id: 1667} is in the objective {id=1} (whatever that is) declaration there it appears like


+ <750:-8.9407e-08>*0x1b50fdb0.negError{id: 1667} +


always with the same <750:-8.9407e-08> but with different address and id


Need help here.


Only happens at random with iOS7

Has anyone created a radar for this so I can dupe it. We see this regularly as well. It seems to be mostly happening while editing fields in a table view based form.

We're seeing the same exact thing when debugging the MyFitnessPal app. Happens every time a user opens the search for food field and then presses the "siri" voice button on keyboard.


Can see the above output when debugging but the app crashes on release builds.

NOTE: Only happens on iPad Mini currently.

We're seeing the exact same problem here at MyFitnessPal.


iPad Mini Retina

iOS 9.2.1 (13D15)


Attaching pertinent information from logs in case it helps:


2016-01-20 12:30:51.577 mfpDebug[268:10640] Unable to simultaneously satisfy constraints.

Probably at least one of the constraints in the following list is one you don't want.

Try this:

(1) look at each constraint and try to figure out which you don't expect;

(2) find the code that added the unwanted constraint or constraints and fix it.

(Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints)

(

"<NSAutoresizingMaskLayoutConstraint:0x1514b8920 h=--& v=--& V:[UIKeyboardAssistantBar:0x151233fd0(0)]>",

"<NSLayoutConstraint:0x151279ae0 V:|-(0)-[_UIButtonBarStackView:0x1513891c0] (Names: '|':UIKeyboardAssistantBar:0x151233fd0 )>",

"<NSLayoutConstraint:0x151279b30 V:[_UIButtonBarStackView:0x1513891c0]-(0)-| (Names: '|':UIKeyboardAssistantBar:0x151233fd0 )>",

"<NSLayoutConstraint:0x14f759b00 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x151276d30'UIViewLayoutMarginsGuide']-(3)-| (Names: '|':_UIButtonBarStackView:0x1513891c0 )>",

"<NSLayoutConstraint:0x14f007350 'UIView-topMargin-guide-constraint' V:|-(10)-[UILayoutGuide:0x151276d30'UIViewLayoutMarginsGuide'] (Names: '|':_UIButtonBarStackView:0x1513891c0 )>"

)

Will attempt to recover by breaking constraint

<NSLayoutConstraint:0x14f759b00 'UIView-bottomMargin-guide-constraint' V:[UILayoutGuide:0x151276d30'UIViewLayoutMarginsGuide']-(3)-| (Names: '|':_UIButtonBarStackView:0x1513891c0 )>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.

The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.

Hi All,


I have faced the same issue while accessing the microphone button on keyboard.

I have the UIView moving up or down based on keyboardwillshow/hide notifications.

And when I touched the microphone button, the UIView kept moving up throwing the same constraint error as above.

Problem:

Whenever the microphone button is touched, the keyboadwillshow notification will be emitted. So the view kept moving up.

I have fixed it with the following approach:

Have the notification from the keyboard stored in a variable.

Use this variable to move the view down whenever you touch the microphone button.


Hope this helps someone.


Thanks & Regards,

Srinivas