Re: file scan results in EX_BAD_ACCESS
Re: file scan results in EX_BAD_ACCESS
- Subject: Re: file scan results in EX_BAD_ACCESS
- From: Chris Williams <email@hidden>
- Date: Sat, 01 Sep 2007 08:22:59 -0700
- Thread-topic: file scan results in EX_BAD_ACCESS
Why would you release yourself? The dealloc method is called when you are
being released by someone else. Just bag the "[release self]" and you
should be fine.
> From: Daniel Child <email@hidden>
> Date: Sat, 01 Sep 2007 11:18:02 -0400
> To: Shawn Erickson <email@hidden>
> Cc: <email@hidden>
> Subject: Re: file scan results in EX_BAD_ACCESS
>
> The culprit was the dealloc method call if (self) [release self]
> prior to calling [super dealloc].
>
> I don't understand why that would be a problem. Is the reference to
> super lost if yo release self?
>
> On Sep 1, 2007, at 12:11 AM, Shawn Erickson wrote:
>
>> On 8/31/07, Daniel Child <email@hidden> wrote:
>>
>>> The only code that gets called is what you saw
>>
>> ...except for -[DataParser init], -[DataParser dealloc], etc. :)
>>
>> -Shawn
>
> _______________________________________________
>
> 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