• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Layout constraint related exceptions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Layout constraint related exceptions


  • Subject: Re: Layout constraint related exceptions
  • From: Kevin Cathey <email@hidden>
  • Date: Wed, 16 May 2012 10:33:22 -0700

Antonio, please file a bug, this sounds like a system issue, not an issue in your code.

Kevin

On 16 May 2012, at 09:31 , Antonio Nunes <email@hidden> wrote:

> I should add that all the reports I have received come from 10.7.4 systems, so it looks like 10.7.4 may have introduced a new issue in the auto layout system. This would also explain why the issue did not come up until a few days ago.
>
> -António
>
> On 16 May 2012, at 07:02, Antonio Nunes wrote:
>
>> I have an app whose current version has been out for over a month. Now, since yesterday I received 6 layout constraint related exception reports (from 6 different users) with the signature shown below.  I find that  a bit strange, since layout constraints are not date/time based, so why would they start to appear suddenly and frequently, and not since the release of the latest version? Has anyone else started seeing similar reports over the last few days?
>>
>> - António
>>
>> May 15, 2012 5:34:22 PM: *** Assertion failure in -[NSAutoresizingMaskLayoutConstraint _setSymbolicConstant:constant:], /SourceCache/AppKit/AppKit-1138.47/Layout.subproj/NSLayoutConstraint.m:596
>> May 15, 2012 5:34:22 PM: Constant is not finite!  That's illegal.  constant:-inf
>> May 15, 2012 5:34:22 PM: (
>> 	0   CoreFoundation                      0x00007fff93486f56 __exceptionPreprocess + 198
>> 	1   libobjc.A.dylib                     0x00007fff90a56d5e objc_exception_throw + 43
>> 	2   CoreFoundation                      0x00007fff93486d8a +[NSException raise:format:arguments:] + 106
>> 	3   Foundation                          0x00007fff8e54e71f -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 169
>> 	4   AppKit                              0x00007fff905d16c1 -[NSLayoutConstraint _setSymbolicConstant:constant:] + 162
>> 	5   AppKit                              0x00007fff905cd26f +[NSAutoresizingMaskLayoutConstraint constraintWithItem:attribute:relatedBy:toItem:attribute:multiplier:constant:] + 371
>> 	6   AppKit                              0x00007fff905cf5e1 +[NSLayoutConstraint constraintWithItem:attribute:relatedBy:constant:] + 41
>> 	7   AppKit                              0x00007fff905d79ef -[NSView(NSConstraintBasedLayout) _constraintsEquivalentToAutoresizingMask] + 2355
>> 	8   AppKit                              0x00007fff905d5b97 -[NSView(NSConstraintBasedLayout) _updateAutoresizingConstraints] + 58
>> 	9   AppKit                              0x00007fff9045a2f8 -[NSView updateConstraints] + 55
>> 	10  AppKit                              0x00007fff9045a24e -[NSView updateConstraintsForSubtreeIfNeeded] + 151
>> 	11  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	12  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	13  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	14  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	15  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	16  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	17  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	18  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	19  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	20  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	21  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	22  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	23  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	24  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	25  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	26  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	27  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	28  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	29  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	30  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	31  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	32  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	33  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	34  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	35  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	36  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	37  CoreFoundation                      0x00007fff93414cb4 CFArrayApplyFunction + 68
>> 	38  AppKit                              0x00007fff9045a226 -[NSView updateConstraintsForSubtreeIfNeeded] + 111
>> 	39  AppKit                              0x00007fff905d5111 __-[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded]_block_invoke_1 + 133
>> 	40  AppKit                              0x00007fff905ccb10 -[NSISEngine withAutomaticOptimizationDisabled:] + 57
>> 	41  AppKit                              0x00007fff905d5086 -[NSWindow(NSConstraintBasedLayout) updateConstraintsIfNeeded] + 132
>> 	42  AppKit                              0x00007fff8fe1b931 _handleWindowNeedsDisplayOrLayoutOrUpdateConstraints + 396
>> 	43  CoreFoundation                      0x00007fff934468e7 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
>> 	44  CoreFoundation                      0x00007fff93446846 __CFRunLoopDoObservers + 374
>> 	45  CoreFoundation                      0x00007fff9341baf9 __CFRunLoopRun + 825
>> 	46  CoreFoundation                      0x00007fff9341b486 CFRunLoopRunSpecific + 230
>> 	47  HIToolbox                           0x00007fff8dbb24d3 RunCurrentEventLoopInMode + 277
>> 	48  HIToolbox                           0x00007fff8dbb96d3 ReceiveNextEventCommon + 181
>> 	49  HIToolbox                           0x00007fff8dbb960e BlockUntilNextEventMatchingListInMode + 62
>> 	50  AppKit                              0x00007fff8fddfe31 _DPSNextEvent + 659
>> 	51  AppKit                              0x00007fff8fddf735 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 135
>> 	52  AppKit                              0x00007fff8fddc071 -[NSApplication run] + 470
>> 	53  AppKit                              0x00007fff90058244 NSApplicationMain + 867
>> 	54  PDF Nomad                           0x000000010351c6f4 PDF Nomad + 5876
>> 	55  ???                                 0x0000000000000002 0x0 + 2
>> )
>>
>>
>> --------------------------------------------------------
>> Today you are You, that is truer than true.
>> There is no one alive who is Youer than You.
>> Today I am Me, and I am freer than free.
>> There is no one alive who is Me-er than Me.
>> I am the BEST I can possibly be.
>>
>> --Dr. Seuss
>> --------------------------------------------------------
>>
>>
>> ----------------------------------------------------
>> It isn't so important to do great things,
>> as to do what you do with great love.
>> ----------------------------------------------------
>>
>>
>>
>>
>> _______________________________________________
>>
>> Cocoa-dev mailing list (email@hidden)
>>
>> Please do not post admin requests or moderator comments to the list.
>> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>>
>> Help/Unsubscribe/Update your Subscription:
>>
>> This email sent to email@hidden
>
> -----------------------------------------------------------
> Don't believe everything you think
> -----------------------------------------------------------
>
>
>
>
>
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden


References: 
 >Layout constraint related exceptions (From: Antonio Nunes <email@hidden>)
 >Re: Layout constraint related exceptions (From: Antonio Nunes <email@hidden>)

  • Prev by Date: Re: Dissappearing string
  • Next by Date: Re: Dissappearing string
  • Previous by thread: Re: Layout constraint related exceptions
  • Next by thread: CurrentAddress on iPad
  • Index(es):
    • Date
    • Thread