I'm trying to catch a nasty intermittent crash in one of my apps. Apple's crash reporter returns:

Command: ImageTrak
Path:    /Applications/ImageTrak.app/Contents/MacOS/ImageTrak
Parent:  WindowServer [60]

Version: ??? (2.4.0)

PID:    853
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0x081790e0

Thread 0 Crashed:
0   rbframework.dylib              0x00cbd4f4 memoryGetUShort + 112
1   ImageTrak                      0x008c67d4
MemoryBlock.UShort%i4%o<MemoryBlock>i4 + 68
2   ImageTrak                      0x001830fc
imageDisplayWindow.imageDisplayWindow.calcRGBPixelValues%i4%o<imageDisplayWindow>i4i4&i4&i4&i4
+ 7008
3   ImageTrak                      0x0019c4d8
imageDisplayWindow.imageDisplayWindow.displayCoordsAndPixelValues%%o<imageDisplayWindow>i4i4bb
+ 9028
4   ImageTrak                      0x001f9dd4
imageDisplayWindow.imageDisplayWindow.updateToolsWindowInfo%%o<imageDisplayWindow>b
+ 20764

.....

I assume this is the call chain with the most recent (and presumably
offending) call at the top?

Question: are these logs reliable and should I be indeed looking for a
bad memBlock.ushort access that is referencing an invalid address?

I'm left wondering because I wrote a small test app that calls several
methods in turn, with the last one deliberately accessing non-existent
memory.  That crash log did not contain any of the method names that
were sequentially called to trigger the crash.

Many thanks,
Peter.

--
-------------------------------------------------------------------------------
Peter K. Stys, MD
Professor of Medicine(Neurology), Senior Scientist
Ottawa Health Research Institute, Div. of Neuroscience
Ottawa Hospital / University of Ottawa
Ontario, CANADA
tel:    (613)761-5444
fax:    (613)761-5330
http://www.ohri.ca/profiles/stys.asp
-------------------------------------------------------------------------------
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

Reply via email to