Hi all,Sometimes this happens in my app, for no apparent reason. Is there an explanation, is there something wrong with my code, or do we have to live with it? I just have a standard window with a standard NSProgressIndicator in it.
- (void)showLoadingProgress
{
[progressBar setIndeterminate:YES];
[progressBar setUsesThreadedAnimation:YES];
[progressBar startAnimation:self];
[NSApp beginSheet:[self window] modalForWindow:[NSApp mainWindow]
modalDelegate:self didEndSelector:nil contextInfo:nil];
}
- (void)hideLoadingProgress
{
[progressBar stopAnimation:self];
[NSApp endSheet:[self window] returnCode:0];
[self close];
}
Thread 3 Crashed:
0 com.apple.CoreGraphics 0x91f90d06 push + 129
1 com.apple.CoreGraphics 0x91f90a66 CGContextSaveGState + 71
2 com.apple.AppKit 0x9506c177 PSgsave + 190
3 com.apple.AppKit 0x9506bcae -[NSView
lockFocusIfCanDraw] + 660
4 com.apple.AppKit 0x9506b921 -[NSView
lockFocus] + 42
5 com.apple.AppKit 0x95132119 -[NSUIHeartBeat
lockFocusForView:inRect:needsTranslation:] + 1464
6 com.apple.AppKit 0x9500fc6a -
[NSProgressIndicator heartBeat:] + 2304
7 com.apple.AppKit 0x9500f0dc -[NSUIHeartBeat
_heartBeatThread:] + 1597
8 com.apple.Foundation 0x92caa7ed -[NSThread main] + 459 com.apple.Foundation 0x92caa394 __NSThread__main__ + 308 10 libSystem.B.dylib 0x9008b095 _pthread_start + 321
11 libSystem.B.dylib 0x9008af52 thread_start + 34 Michael Domino [email protected]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list ([email protected]) 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 [email protected]
