Yes, the exception occurs when the UI attempts to fault in an object for 
display. (The display code coalesces updates, which is why the stack trace 
starts with __NSFireDelayedPerform ).

On 2010-03-15, at 11:03 PM, Ben Trumbull wrote:

> 
> You should generally get an NSError with the code that is 
> NSFileReadCorruptFileError.  In gdb, what does:
> 
> >future-break objc_exception_throw
> >future-break +[NSError errorWithDomain:code:userInfo:]
> 
> ...
> 
> >info threads
> >thread apply all bt
> 
> say ?

(gdb) info threads
  4 port# 0x8b3b 0x00007fff8064d9da in __workq_kernreturn ()
  2 port# 0x1703 0x00007fff8064cbba in kevent ()
* 1 port# 0xa0f  0x00007fff80a7a0da in objc_exception_throw ()
(gdb) thread apply all bt

Thread 4 (process 705):
#0  0x00007fff8064d9da in __workq_kernreturn ()
#1  0x00007fff8064ddec in _pthread_wqthread ()
#2  0x00007fff8064da55 in start_wqthread ()

Thread 2 (process 705):
#0  0x00007fff8064cbba in kevent ()
#1  0x00007fff8064ea85 in _dispatch_mgr_invoke ()
#2  0x00007fff8064e75c in _dispatch_queue_invoke ()
#3  0x00007fff8064e286 in _dispatch_worker_thread2 ()
#4  0x00007fff8064dbb8 in _pthread_wqthread ()
#5  0x00007fff8064da55 in start_wqthread ()

Thread 1 (process 705):
#0  0x00007fff80a7a0da in objc_exception_throw ()
#1  0x00007fff8088882c in _execute ()
#2  0x00007fff80888126 in -[NSSQLiteConnection execute] ()
#3  0x00007fff808a5eda in -[NSSQLChannel selectRowsWithCachedStatement:] ()
#4  0x00007fff8089780d in -[NSSQLCore 
_newRowsForFetchPlan:selectedBy:withArgument:] ()
#5  0x00007fff8088fd2b in -[NSSQLCore newRowsForFetchPlan:] ()
#6  0x00007fff808b23c7 in -[NSSQLCore 
newFetchedPKsForSourceID:andRelationship:] ()
#7  0x00007fff808b1f2d in -[NSSQLCore 
retainedRelationshipDataWithSourceID:forRelationship:withContext:] ()
#8  0x00007fff808b1b67 in -[NSFaultHandler 
retainedFulfillAggregateFaultForObject:andRelationship:withContext:] ()
#9  0x00007fff808b16cc in -[_NSFaultingMutableSet willRead] ()
#10 0x00007fff8091a82b in -[_NSFaultingMutableSet objectEnumerator] ()
#11 0x000000010001a831 in -[BarGraph updateValues] (self=0x102678660, 
_cmd=0x100078359) at /Users/davef/Documents/♣ 
HCT/Projects/SpeechClinic/Source/BarGraph.m:380
#12 0x000000010001a36c in -[BarGraph updateState] (self=0x102678660, 
_cmd=0x100078366) at /Users/davef/Documents/♣ 
HCT/Projects/SpeechClinic/Source/BarGraph.m:321
#13 0x000000010001ae5c in -[BarGraph draw] (self=0x102678660, 
_cmd=0x7fff863f60d0) at /Users/davef/Documents/♣ 
HCT/Projects/SpeechClinic/Source/BarGraph.m:443
#14 0x000000010006de60 in -[ChartImage renderForCellSize:] (self=0x102679ae0, 
_cmd=0x100079c5d, cellSize={width = 100, height = 100}) at 
/Users/davef/Documents/♣ HCT/Projects/SpeechClinic/Source/ChartImage.m:65
#15 0x000000010006b4fe in -[ChartBrowserController updateViews] 
(self=0x102677050, _cmd=0x100081138) at /Users/davef/Documents/♣ 
HCT/Projects/SpeechClinic/Source/ChartBrowserController.m:267
#16 0x00007fff81c64434 in __NSFireDelayedPerform ()
#17 0x00007fff8453ca58 in __CFRunLoopRun ()
#18 0x00007fff8453ac2f in CFRunLoopRunSpecific ()
#19 0x00007fff81eeca4e in RunCurrentEventLoopInMode ()
#20 0x00007fff81eec7b1 in ReceiveNextEventCommon ()
#21 0x00007fff81eec70c in BlockUntilNextEventMatchingListInMode ()
#22 0x00007fff85cff1f2 in _DPSNextEvent ()
#23 0x00007fff85cfeb41 in -[NSApplication 
nextEventMatchingMask:untilDate:inMode:dequeue:] ()
#24 0x00007fff85cc4747 in -[NSApplication run] ()
#25 0x00007fff85cbd468 in NSApplicationMain ()
#26 0x0000000100003d36 in main (argc=1, argv=0x7fff5fbff668) at 
/Users/davef/Documents/♣ HCT/Projects/SpeechClinic/Source/main.m:25

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to