Thanks a lot for your response. When I replace this line [NSBundle loadNibNamed: @"ConfigureSheet" owner: self]; by this: NSBundle * bundle = [NSBundle bundleForClass:[self class]]; [bundle loadNibNamed: @"ConfigureSheet" owner: self topLevelObjects: nil];
then System preferences crashes with this stack trace: Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x000007fe17f0b260 0 libobjc.A.dylib 0x000000010c0434dd objc_msgSend + 29 1 com.apple.ScreenSaver 0x0000000122308df2 -[ScreenSaverView _oneStep:] + 98 2 com.apple.Foundation 0x000000010baecb4e __NSFireDelayedPerform + 377 3 com.apple.CoreFoundation 0x000000010da0bb94 __CFRUNLOOP_IS_CALLING_OUT_TO_A_TIMER_CALLBACK_FUNCTION__ + 20 4 com.apple.CoreFoundation 0x000000010da0b823 __CFRunLoopDoTimer + 1075 5 com.apple.CoreFoundation 0x000000010da0b37a __CFRunLoopDoTimers + 298 6 com.apple.CoreFoundation 0x000000010da02871 __CFRunLoopRun + 1841 So, it seems like the init function initWithFrame:isPreview: in my subclass of ScreenSaverView finishes fine, only when ScreenSaverView tries to perform one animation step, it crashes. I think, at this point, it has not yet called my code to perform an animation step. There is no more info in the system.log. Best regards, Gabriel. _______________________________________________ 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com