• 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: Force crash a cocoa app for Crash Reporter testing
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Force crash a cocoa app for Crash Reporter testing


  • Subject: Re: Force crash a cocoa app for Crash Reporter testing
  • From: "email@hidden" <email@hidden>
  • Date: Fri, 21 Aug 2009 11:36:57 +0100



On 20 Aug 2009, at 19:03, Kyle Sluder wrote:

On Thu, Aug 20, 2009 at 10:04 AM, aaron
smith<email@hidden> wrote:
Anyone have any code I can use to do this?

abort()
which calls

raise(SIGABRT); // SIGFPE and SIGSEGV also may be tried

abort() is defined to optionally flush streams and delete temporary files.

Or, rather than trying to trigger the crash from inside our app, we can send it the abort signal from the terminal.


kill -s ABRT pid



--Kyle Sluder _______________________________________________

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

Jonathan Mitchell

Developer
http://www.mugginsoft.com





_______________________________________________

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

Jonathan Mitchell

Developer
http://www.mugginsoft.com





_______________________________________________

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


References: 
 >Force crash a cocoa app for Crash Reporter testing (From: aaron smith <email@hidden>)
 >Re: Force crash a cocoa app for Crash Reporter testing (From: Kyle Sluder <email@hidden>)
 >Re: Force crash a cocoa app for Crash Reporter testing (From: "email@hidden" <email@hidden>)

  • Prev by Date: Re: When to 'release' in Cocoa management?
  • Next by Date: pulldown in custom NSCell
  • Previous by thread: Re: Force crash a cocoa app for Crash Reporter testing
  • Next by thread: Re: Force crash a cocoa app for Crash Reporter testing
  • Index(es):
    • Date
    • Thread