• 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
Re: Uncaught exceptions not terminating my app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Uncaught exceptions not terminating my app


  • Subject: Re: Uncaught exceptions not terminating my app
  • From: "Paul Sanders" <email@hidden>
  • Date: Sun, 7 Feb 2010 17:23:44 -0000

Bug ID #7622308 (do they really have 7 1/2 million bugs outstanding!?)

------------------------------------------------------------------------------------------

If, in a Cocoa app, an exception is raised in a subthread, then:

(a) The NSExceptionHandler delegate (if any) is not called.  Instead, the app just silently terminates.

(b) On Snow Leopard, Crash Reporter does not kick in (and hence no crash report is generated).  This is a regression: it works correctly on Leopard.

Maybe (a) is by design, but (b) surely is not.  One can work around (a) by calling NSSetUncaughtExceptionHandler instead.

------------------------------------------------------------------------------------------


----- Original Message -----
From: "Roland King" <email@hidden>
To: "Paul Sanders" <email@hidden>
Cc: <email@hidden>
Sent: Sunday, February 07, 2010 3:28 PM
Subject: Re: Uncaught exceptions not terminating my app


If you've isolated this issue to this degree it might be worth filing a bug report about it.

_______________________________________________

Cocoa-dev mailing list (email@hidden)

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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Uncaught exceptions not terminating my app
      • From: Graham Cox <email@hidden>
References: 
 >Re: Uncaught exceptions not terminating my app (From: "Paul Sanders" <email@hidden>)
 >Re: Uncaught exceptions not terminating my app (From: Roland King <email@hidden>)

  • Prev by Date: Re: Strange Behavior
  • Next by Date: Re: Strange Behavior
  • Previous by thread: Re: Uncaught exceptions not terminating my app
  • Next by thread: Re: Uncaught exceptions not terminating my app
  • Index(es):
    • Date
    • Thread