Crash in [NSApplication sendAction:to:from:]
Crash in [NSApplication sendAction:to:from:]
- Subject: Crash in [NSApplication sendAction:to:from:]
- From: Trygve Inda <email@hidden>
- Date: Fri, 21 Jul 2006 23:44:07 +0000
- Thread-topic: Crash in [NSApplication sendAction:to:from:]
0 libobjc.A.dylib 0x90a4e387 objc_msgSend + 23
1 com.apple.AppKit 0x934881ac -[NSApplication sendAction:to:from:] + 107
2 com.apple.AppKit 0x93535eff -[NSMenu performActionForItemAtIndex:] + 455
3 com.apple.AppKit 0x93535c41 -[NSCarbonMenuImpl
performActionWithHighlightingForItemAtIndex:] + 103
4 com.apple.AppKit 0x93535898 -[NSMenu performKeyEquivalent:] + 766
5 com.apple.AppKit 0x93535339 -[NSApplication _handleKeyEquivalent:] + 381
6 com.apple.AppKit 0x93469267 -[NSApplication sendEvent:] + 3542
7 com.apple.AppKit 0x93394426 -[NSApplication run] + 547
This happens about 20% of the time when clicking a button (our using the
equivalent menu item) with an action of:
- (IBAction)unload:(id)sender
{
if (movie != nil)
{
if ([movie rate] != 0)
[movie stop];
if (movieIdle != nil)
{
[movieIdle invalidate];
[movieIdle release];
}
[movie release];
[self setValue:nil forKey:@"movie"];
}
}
The button enabled state is also tied with a binding to the movie is not nil
setting so the first comparison is not really needed.
I can't get it to repeat with any consistency.
Thoughts?
This is the first Cocoa-based bug I've run into that I can't easily
determine where the problem lies.
Trygve
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden