• 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: [Xcode] Advanced EXC_BAD_ACCESS hunting
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >[Xcode] Advanced EXC_BAD_ACCESS hunting (From: Alexander von Below <email@hidden>)

  • Prev by Date: Re: Code Signing for Mac application
  • Next by Date: Re: Code Signing for Mac application
  • Previous by thread: Re: [Xcode] Advanced EXC_BAD_ACCESS hunting
  • Next by thread: UITableViewDelegate and selection under editing
  • Index(es):
    • Date
    • Thread