• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Crash in [NSApplication sendAction:to:from:]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Crash in [NSApplication sendAction:to:from:]
      • From: Michael Babin <email@hidden>
    • Re: Crash in [NSApplication sendAction:to:from:]
      • From: Uli Kusterer <email@hidden>
    • Re: Crash in [NSApplication sendAction:to:from:]
      • From: Trygve Inda <email@hidden>
  • Prev by Date: Re: Binding and NSPopupButton
  • Next by Date: Re: Crash in [NSApplication sendAction:to:from:]
  • Previous by thread: Re: Binding and NSPopupButton
  • Next by thread: Re: Crash in [NSApplication sendAction:to:from:]
  • Index(es):
    • Date
    • Thread