Re: disabling Apple Crash Reporter
Re: disabling Apple Crash Reporter
- Subject: Re: disabling Apple Crash Reporter
- From: email@hidden
- Date: Tue, 10 Mar 2015 00:53:10 +0900
If you read the man page for abort() it says use exit() to avoid the ReportCrash daemon.
Adium does this after launching their crash report helper app.
How do they get there?
Simple.
Unix signals handling.
Right there in the really nice Adium code you linked to.
You could copy and paste verbatim almost.
That said, if you're doing this, you should look for a way to share it to Apple as well. There's always a possibility they need to know something too.
But importantly consider your users. Many/most will not know the difference and may blame Apple and seek support there. So if you do this, make it very clear to users that you are not sending this to Apple but to yourself, what you are sending and why.
Sent from my iPhone
> On 2015/03/10, at 0:04, Robert Monaghan <email@hidden> wrote:
>
> Hi Torsten,
>
> This is of interest to me, as well. I haven't had a chance to look into it, but I will over the next few days.
>
> Bob
>
> Sent from my iPhone
>
>> On Mar 9, 2015, at 15:54, Torsten Curdt <email@hidden> wrote:
>>
>> I could not find the prefs app
>>
>>
>> https://developer.apple.com/library/mac/technotes/tn2004/tn2123.html#FIGCRASHREPORTERPREFS
>>
>> but seems like it's just a fancy way of switching the global state.
>>
>> http://cocoadev.com/HowToAvoidSendToAppleWindow
>>
>> has some further suggestions.
>>
>> Apparently Adium works around this
>>
>> https://hg.adium.im/adium/file/024e5177ce06/Source/AIAdium.m
>> https://hg.adium.im/adium/file/024e5177ce06/Source/AICrashController.m
>>
>> but I am not sure how this would work together with PLCR (or other in
>> process crash reporters).
>>
>> Just inspecting the info.plist on a crash - wouldn't that be a smart and
>> easy way to handle this.
>>
>> *sigh*
>>
>> cheers,
>> Torsten
>> _______________________________________________
>>
>> 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
>
> _______________________________________________
>
> 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
_______________________________________________
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