• 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
App exit with signal 10
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App exit with signal 10


  • Subject: App exit with signal 10
  • From: Frank Blome <email@hidden>
  • Date: Wed, 5 Jun 2002 20:05:35 +0200

Since the update to 10.1.5 I get an error in my Application due to signal 10 (SIGBUS). But I believe it's more my fault ;-)

I do the following in a delegate method:

- (BOOL)windowShouldClose:(NSWindow *)sender
{
// ... showing a NSRunAlertPanel

[self saveFile:self];
[comments release];
[NSApp terminate:self];
}

The error only occurs when the saveFile is in there. saveFile itself is just a writeToFile.

Where is my mistake? I just want to give the user the ability to decide about saving or not saving the file and then quit the application.

Has anybody a similar situation?

Thank's,
Frank
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Prev by Date: Re(2): Thread safe programming
  • Next by Date: Next-Dev-Tools on other Systems
  • Previous by thread: Re(2): Thread safe programming
  • Next by thread: Next-Dev-Tools on other Systems
  • Index(es):
    • Date
    • Thread