Crash with no code of mine. How to debug? (_NSModelObservingTracker)
Crash with no code of mine. How to debug? (_NSModelObservingTracker)
- Subject: Crash with no code of mine. How to debug? (_NSModelObservingTracker)
- From: Pierre Bernard <email@hidden>
- Date: Tue, 12 Jun 2007 06:47:31 -0700
Hi!
I am on occasion getting crash reports like the one below.
What happens is that HoudahGeo was loading images (i.e creating
CoreData objects) on a background thread. Apparently the main thread
decided to redraw the table which binds to an array controller of
said Image objects.
What I don't get is why does it fail? It doesn't fail often. Actually
I have not yet been able to reproduce it.
How can I track down a problem where no line of code of mine is in
the thread's stack trace?
Thanks in advance for your help
Best,
Pierre Bernard
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000006
Thread 0:
0 libSystem.B.dylib 0x9002c768
semaphore_wait_signal_trap + 8
1 libSystem.B.dylib 0x9003124c pthread_cond_wait + 480
2 com.apple.Foundation 0x92be0bcc -[NSRecursiveLock
lock] + 68
3 com.apple.Foundation 0x92c662e4 -[NSObject
(NSKeyValueObserverRegistration)
addObserver:forKeyPath:options:context:] + 84
4 com.apple.AppKit 0x939f390c -
[_NSModelObservingTracker
_registerOrUnregister:observerNotificationsForModelObject:] + 92
5 com.apple.AppKit 0x939f373c -
[_NSModelObservingTracker startObservingModelObjectAtReferenceIndex:]
+ 160
6 com.apple.AppKit 0x939f3630 -
[_NSModelObservingTracker setObservingToModelObjectsRange:] + 428
7 com.apple.AppKit 0x939f3444 -[_NSBindingAdaptor
tableView:updateVisibleRowInformation:] + 148
8 com.apple.AppKit 0x9384f900 -[NSTableView
drawRect:] + 224
9 com.apple.AppKit 0x937e4858 -[NSView
_drawRect:clip:] + 2128
10 com.apple.AppKit 0x937e3e18 -[NSView
_recursiveDisplayAllDirtyWithLockFocus:visRect:] + 404
11 com.apple.AppKit 0x937e33e0 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 196
12 com.apple.AppKit 0x937e39a8 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
13 com.apple.AppKit 0x937e39a8 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
14 com.apple.AppKit 0x937e39a8 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
15 com.apple.AppKit 0x937e39a8 -[NSView
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 1676
16 com.apple.AppKit 0x93804044 -[NSThemeFrame
_recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisible
RectForView:topView:] + 192
17 com.apple.AppKit 0x937dd054 -[NSView
_displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:]
+ 384
18 com.apple.AppKit 0x937d2348 -[NSView
displayIfNeeded] + 248
19 com.apple.AppKit 0x937d21b8 -[NSWindow
displayIfNeeded] + 180
20 com.apple.AppKit 0x937d2064
_handleWindowNeedsDisplay + 200
21 com.apple.CoreFoundation 0x907de76c __CFRunLoopDoObservers
+ 352
22 com.apple.CoreFoundation 0x907dea0c __CFRunLoopRun + 420
23 com.apple.CoreFoundation 0x907de4ac CFRunLoopRunSpecific +
268
24 com.apple.HIToolbox 0x93298b20
RunCurrentEventLoopInMode + 264
25 com.apple.HIToolbox 0x932981b4 ReceiveNextEventCommon
+ 380
26 com.apple.HIToolbox 0x93298020
BlockUntilNextEventMatchingListInMode + 96
27 com.apple.AppKit 0x9379eae4 _DPSNextEvent + 384
28 com.apple.AppKit 0x9379e7a8 -[NSApplication
nextEventMatchingMask:untilDate:inMode:dequeue:] + 116
29 com.apple.AppKit 0x9379acec -[NSApplication run] +
472
30 com.apple.AppKit 0x9388b87c NSApplicationMain + 452
31 com.houdah.HoudahGeo 0x00002888 0x1000 + 6280
32 com.houdah.HoudahGeo 0x0000258c 0x1000 + 5516
---
Pierre Bernard
http://www.bernard-web.com/pierre
http://www.houdah.com
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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