• 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: Jonas Maebe <email@hidden>
  • Date: Wed, 3 Oct 2007 11:55:17 +0200


On 03 Oct 2007, at 11:28, Quinn wrote:

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
);

Thanks, I'll add that code to the programs. Although I have the same problem with our compiler, and while I don't want it to generate crash logs on my machine, crashreporter logs from users can be helpful. I guess I should file a radar requesting a fourth crashreporter mode (log kernel panics but nothing else).



Jonas _______________________________________________ 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
References: 
 >Dump panic log after boot (From: Jonas Maebe <email@hidden>)
 >Re: Dump panic log after boot (From: Quinn <email@hidden>)

  • Prev by Date: Re: Dump panic log after boot
  • Next by Date: Bug in tcplognke example?
  • Previous by thread: Re: Dump panic log after boot
  • Next by thread: Re: Dump panic log after boot
  • Index(es):
    • Date
    • Thread