FROM : Michael Babin
DATE : Sat Jul 22 20:37:16 2006
On Jul 21, 2006, at 6:44 PM, Trygve Inda wrote:
> 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"];
> }
> }
Since the unload: method does not appear on the stack, it would seem
that the crash is occurring before this code is executed. What object
is the button action message sent to? Is it possible this object is
invalid/released?
--
Michael Babin <email_removed>
Order N Development, LLC http://www.orderndev.com/
Goldfish Aquarium for Mac: http://www.lifeglobe.com/product/
index.php?pltid=2&ref=OrderNDev
DATE : Sat Jul 22 20:37:16 2006
On Jul 21, 2006, at 6:44 PM, Trygve Inda wrote:
> 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"];
> }
> }
Since the unload: method does not appear on the stack, it would seem
that the crash is occurring before this code is executed. What object
is the button action message sent to? Is it possible this object is
invalid/released?
--
Michael Babin <email_removed>
Order N Development, LLC http://www.orderndev.com/
Goldfish Aquarium for Mac: http://www.lifeglobe.com/product/
index.php?pltid=2&ref=OrderNDev
| Related mails | Author | Date |
|---|---|---|
| Trygve Inda | Jul 22, 01:44 | |
| Trygve Inda | Jul 22, 01:48 | |
| Uli Kusterer | Jul 22, 19:54 | |
| Michael Babin | Jul 22, 20:37 |






Cocoa mail archive

