Re: What could cause a fast enumeration mutation error in updating tracking areas?
Re: What could cause a fast enumeration mutation error in updating tracking areas?
- Subject: Re: What could cause a fast enumeration mutation error in updating tracking areas?
- From: Raleigh Ledet <email@hidden>
- Date: Fri, 29 Jul 2011 09:14:50 -0700
Do you have another thread that is doing something with tracking areas?
-raleigh
On Jul 28, 2011, at 11:33 PM, Gideon King wrote:
> Hi, I have a problem where a few users of my program are getting the following exception:
>
> 0 CoreFoundation 0x00007fff862df7b4 __exceptionPreprocess + 180
> 1 libobjc.A.dylib 0x00007fff84b0ff03 objc_exception_throw + 45
> 2 CoreFoundation 0x00007fff863375bf __NSFastEnumerationMutationHandler + 303
> 3 AppKit 0x00007fff83ec8660 -[NSView trackingAreas] + 271
> 4 AppKit 0x00007fff83f1d025 -[NSView(NSInternal) _updateTrackingAreas] + 249
> 5 CoreFoundation 0x00007fff86259d6e CFArrayApplyFunction + 222
> 6 AppKit 0x00007fff83f1d413 -[NSView(NSInternal) _updateTrackingAreas] + 1255
> 7 CoreFoundation 0x00007fff86259d6e CFArrayApplyFunction + 222
> 8 AppKit 0x00007fff83f1d413 -[NSView(NSInternal) _updateTrackingAreas] + 1255
> 9 CoreFoundation 0x00007fff86259d6e CFArrayApplyFunction + 222
> 10 AppKit 0x00007fff83f1d413 -[NSView(NSInternal) _updateTrackingAreas] + 1255
> 11 CoreFoundation 0x00007fff86259d6e CFArrayApplyFunction + 222
> 12 AppKit 0x00007fff83f1d413 -[NSView(NSInternal) _updateTrackingAreas] + 1255
> 13 CoreFoundation 0x00007fff86259d6e CFArrayApplyFunction + 222
> 14 AppKit 0x00007fff83f1d413 -[NSView(NSInternal) _updateTrackingAreas] + 1255
> 15 CoreFoundation 0x00007fff86259d6e CFArrayApplyFunction + 222
> 16 AppKit 0x00007fff83f1d413 -[NSView(NSInternal) _updateTrackingAreas] + 1255
> 17 CoreFoundation 0x00007fff86259d6e CFArrayApplyFunction + 222
> 18 AppKit 0x00007fff83f1d413 -[NSView(NSInternal) _updateTrackingAreas] + 1255
> 19 AppKit 0x00007fff83f1ce28 _handleInvalidCursorRectsNote + 451
> 20 CoreFoundation 0x00007fff8629eb37 __CFRunLoopDoObservers + 519
> 21 CoreFoundation 0x00007fff8627a464 __CFRunLoopRun + 468
> 22 CoreFoundation 0x00007fff86279dbf CFRunLoopRunSpecific + 575
> 23 HIToolbox 0x00007fff854f774e RunCurrentEventLoopInMode + 333
> 24 HIToolbox 0x00007fff854f7553 ReceiveNextEventCommon + 310
> 25 HIToolbox 0x00007fff854f740c BlockUntilNextEventMatchingListInMode + 59
> 26 AppKit 0x00007fff83ef1eb2 _DPSNextEvent + 708
> 27 AppKit 0x00007fff83ef1801 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 155
> 28 AppKit 0x00007fff83eb768f -[NSApplication run] + 395
> 29 OmniAppKit 0x000000010055c774 -[OAApplication run] + 132
> 30 AppKit 0x00007fff83eb03b0 NSApplicationMain + 364
> 31 NovaMind5 0x0000000100002018 start + 52
> 32 ??? 0x0000000000000002 0x0 + 2
>
>
> But all the tracking areas I am adding are done in the initialization of the views or awakeFromNib, and not updated after that. I do use tracking rects and tooltip rects, and wonder whether they use tracking areas behind the scenes, and whether there are specific places in the code I need to avoid changing them.
>
> I haven't been able to reproduce the problem here, so can't catch it in the act so far.
>
> Any suggestions as to what to look for?
>
> Thanks
>
> Gideon
>
>
>
>
> _______________________________________________
>
> 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