Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Dump panic log after boot




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: http://lists.apple.com/mailman/options/darwin-kernel/email@hidden

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



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.