• 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: Dump panic log after boot
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dump panic log after boot


  • Subject: Re: Dump panic log after boot
  • From: Quinn <email@hidden>
  • Date: Wed, 3 Oct 2007 10:28:41 +0100

At 11:12 +0200 3/10/07, Jonas Maebe wrote:
I have crashreporterd disabled on my machine, because I regularly run (test) programs which trigger hardware exceptions but catch them and deal with them via Unix signals (and crashreporterd nevertheless insists on dumping crash logs in such situations because it can't know those exceptions are caught at the BSD level, which is pretty annoying even if it's set not to display dialog boxes).

I don't know how to solve your panic log question, but I have an alternative approach that might help you avoid this problem in the future. Rather than disabling crash reporter globally, disable it for the test programs. If you add the following line to main, crash reporter won't hear about any crashes.


kr = task_set_exception_ports(
    mach_task_self(),
    EXC_MASK_ALL,
    MACH_PORT_NULL,
    EXCEPTION_DEFAULT,
    0
);

S+E
--
Quinn "The Eskimo!"                    <http://www.apple.com/developer/>
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Dump panic log after boot
      • From: Jonas Maebe <email@hidden>
References: 
 >Dump panic log after boot (From: Jonas Maebe <email@hidden>)

  • Prev by Date: Dump panic log after boot
  • Next by Date: Re: Dump panic log after boot
  • Previous by thread: Dump panic log after boot
  • Next by thread: Re: Dump panic log after boot
  • Index(es):
    • Date
    • Thread