I have a user reporting an odd crash that I can't make happen here, nor has anyone else reported this, but the report is consistent and happens only when Toast is running. It seems very deep in the OS and as far as I know, I am not using libRIP.A.dylib.
The only thing I can find that may be related (based on [NSWindow displayIfNeeded] being in the report) is that my app has a single window with a single view and I call: NSImage* theImage = [[[NSImage alloc] initWithContentsOfFile:mapImagePath] autorelease]; [window orderFront:self]; [imageView setImage:theImage]; [imageView setNeedsDisplay:YES]; The file that this image comes from will be deleted later on, but once initWithContentsOfFile is called, I assume it no longer needs the file, right? I assume the autorelease is ok since theImage will be retained by imageView. Thoughts? Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000000002c1f3000 Crashed Thread: 0 Thread 0 Crashed: com.apple.CoreGraphics 0x90afbac0 CGSConvertBGR888toRGBA8888 + 160 com.apple.CoreGraphics 0x90a5494b argb32_image + 5611 libRIP.A.dylib 0x95e476f9 ripd_Mark + 326 libRIP.A.dylib 0x95e41977 ripl_BltImage + 1307 libRIP.A.dylib 0x95e2b549 ripc_RenderImage + 273 libRIP.A.dylib 0x95e3be6a ripc_DrawImage + 5102 com.apple.CoreGraphics 0x90a4732d CGContextDrawImage + 397 com.apple.AppKit 0x968004b0 -[NSBitmapImageRep _drawFromRect:toRect:operation:alpha:compositing:flipped:ignoreContext:] + 2621 com.apple.AppKit 0x967ff70b -[NSImage drawInRect:fromRect:operation:fraction:] + 5109 com.apple.AppKit 0x96c44d2a -[NSImage _drawMappingAlignmentRectToRect:withState:backgroundStyle:operation:fractio :flip:] + 1041 com.apple.AppKit 0x9689c21b -[NSImageCell drawInteriorWithFrame:inView:] + 751 com.apple.AppKit 0x9689bf1f -[NSImageCell drawWithFrame:inView:] + 2230 com.apple.AppKit 0x967df4a7 -[NSControl drawRect:] + 378 com.apple.AppKit 0x9687322c -[NSView _drawRect:clip:] + 3853 com.apple.AppKit 0x96871d23 -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1050 com.apple.AppKit 0x968720ba -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969 16 com.apple.AppKit 0x968720ba -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:] + 1969 17 com.apple.AppKit 0x96870679 -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect ForView:topView:] + 759 18 com.apple.AppKit 0x96958929 -[NSNextStepFrame _recursiveDisplayRectIfNeededIgnoringOpacity:isVisibleRect:rectIsVisibleRect ForView:topView:] + 340 19 com.apple.AppKit 0x9686cadf -[NSView _displayRectIgnoringOpacity:isVisibleRect:rectIsVisibleRectForView:] + 3090 20 com.apple.AppKit 0x967ad4b3 -[NSView displayIfNeeded] + 933 21 com.apple.AppKit 0x967ad061 -[NSWindow displayIfNeeded] + 189 22 com.apple.AppKit 0x967ace84 _handleWindowNeedsDisplay + 436 23 com.apple.CoreFoundation 0x9603c942 __CFRunLoopDoObservers + 466 24 com.apple.CoreFoundation 0x9603dc9c CFRunLoopRunSpecific + 844 25 com.apple.CoreFoundation 0x9603ec78 CFRunLoopRunInMode + 88 26 com.apple.HIToolbox 0x94ec628c RunCurrentEventLoopInMode + 283 27 com.apple.HIToolbox 0x94ec60a5 ReceiveNextEventCommon + 374 28 com.apple.HIToolbox 0x94ec5f19 BlockUntilNextEventMatchingListInMode+106 29 com.apple.AppKit 0x967aad0d _DPSNextEvent + 657 30 com.apple.AppKit 0x967aa5c0 -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 128 31 com.apple.AppKit 0x967a35fb -[NSApplication run] + 795 32 com.apple.AppKit 0x96770834 NSApplicationMain + 574 33 com.myApplication 0x00002a80 main + 30 34 com.myApplication 0x00002a36 start + 54 _______________________________________________ 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