Re: [Xcode] Advanced EXC_BAD_ACCESS hunting
Re: [Xcode] Advanced EXC_BAD_ACCESS hunting
- Subject: Re: [Xcode] Advanced EXC_BAD_ACCESS hunting
- From: jeremy <email@hidden>
- Date: Tue, 16 Feb 2010 14:38:23 -0500
I believe you may have an unbalanced retain/release in the example source code.
In particular, your source code shows the following:
--- @property (readonly) NSData *data; ---
and
--- - (void) dealloc { [data release]; [super dealloc]; } ---
Since your class "ConnectionDelegate" is releasing the instance variable "data", the property compiler directive for "data" should appear as:
--- @property (readonly, retain) NSData *data; ---
On Feb 16, 2010, at 10:26 AM, Alexander von Below wrote: I am at a complete loss where and how to go hunting for the issue and would appreciate any hints. I have put the very "condensed to the max" sourcecode at http://files.me.com/below/4s8t64
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden