Re: CA_DEBUG_TRANSACTIONS=1
Re: CA_DEBUG_TRANSACTIONS=1
- Subject: Re: CA_DEBUG_TRANSACTIONS=1
- From: John MacMullin <email@hidden>
- Date: Wed, 05 Sep 2012 17:13:46 -0700
Ok, that was it. I loaded [NSBundle loadNibNamed:XXX] in a background thread.
Fixing that problem resolved the message.
Thanks.
On Sep 5, 2012, at 4:13 PM, Kyle Sluder <email@hidden> wrote:
> On Sep 5, 2012, at 4:12 PM, John MacMullin wrote:
>
>> Ok, I went to the scheme in Xcode and added the variable. Running again produced the following backtrace.
>>
>> 0 QuartzCore 0x00007fff8a736b95 _ZN2CA11Transaction4pushEv + 219
>> 1 QuartzCore 0x00007fff8a73676d _ZN2CA11Transaction15ensure_implicitEv + 273
>> 2 QuartzCore 0x00007fff8a73660a _ZN2CA11Transaction9set_valueEj12_CAValueTypePKv + 40
>> 3 QuartzCore 0x00007fff8a73659e +[CATransaction setDisableActions:] + 38
>> 4 AppKit 0x00007fff8e3ef8ae -[NSScrollerImp _updateLayerGeometry] + 67
>> 5 AppKit 0x00007fff8e3eee8d -[NSScroller(NSInternal2) _replaceScrollerImp] + 368
>> 6 AppKit 0x00007fff8e486ff8 -[NSScroller initWithCoder:] + 305
>> 7 Foundation 0x00007fff8b763c39 _decodeObjectBinary + 2741
>> 8 Foundation 0x00007fff8b764a16 -[NSKeyedUnarchiver _decodeArrayOfObjectsForKey:] + 1189
>> 9 Foundation 0x00007fff8b764f88 -[NSArray(NSArray) initWithCoder:] + 538
>> 10 Foundation 0x00007fff8b763c39 _decodeObjectBinary + 2741
>> 11 Foundation 0x00007fff8b762fe4 _decodeObject + 226
>> 12 AppKit 0x00007fff8e309061 -[NSView initWithCoder:] + 976
>> 13 AppKit 0x00007fff8e484597 -[NSScrollView initWithCoder:] + 335
>> 14 Foundation 0x00007fff8b763c39 _decodeObjectBinary + 2741
>> 15 Foundation 0x00007fff8b762fe4 _decodeObject + 226
>>
>> Is is possible to attach the debugger to this so that I can see the problem in my code?
>
> You should already be running in the debugger.
>
> Are you perhaps decoding a nib on a background thread?
>
>>
>> Or can/should this be resolved with Atos?
>>
>> And back to the beginning, what is an uncommitted CATransaction?
>
> Re-read the Core Animation Programming Guide. Core Animation uses a per-thread transaction model.
>
> --Kyle Sluder
Best regards,
John MacMullin
_______________________________________________
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