• 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: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]


  • Subject: Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
  • From: "I. Savant" <email@hidden>
  • Date: Thu, 10 Jan 2008 13:34:23 -0500

> I'm thinking that this use case is slightly different since it's based
> solely on Foundation in a command-line tool without any AppKit, Cocoa,
> etc. So it's quite possible that some other commonly-used framework is
> adding something that hides the bug.

  Also (slightly more) possible ... but also (slightly less) unlikely. ;-)

> I've already done that. In my first post, the entirety of my project
> was a single file, httptest.m, which was listed in the code at the
> bottom of the post. Anyway, I've now put the rest of the project up at

  You know, I completely missed the main() method at the bottom. I
blame gMail. ;-)

  Anyway, after a closer look, I see your initializer isn't quite
right ... you should be calling super -init ...

- (id)initMyOwnSpecialWay ...
{
  self = [super init];
  if (self)
  {
    // Do my own initialization
  }
  return self;
}

  I can't test your code (or my assertion) on this machine as this
particular office is Tiger-only, but if you haven't solved it by this
evening (East coast time), I'll take a look. My laptop was left at
home today ...

--
I.S.
_______________________________________________

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

References: 
 >EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream] (From: Dave Carrigan <email@hidden>)
 >Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream] (From: Dave Carrigan <email@hidden>)
 >Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream] (From: "I. Savant" <email@hidden>)
 >Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream] (From: Dave Carrigan <email@hidden>)
 >Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream] (From: "I. Savant" <email@hidden>)
 >Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream] (From: Dave Carrigan <email@hidden>)

  • Prev by Date: Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
  • Next by Date: Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
  • Previous by thread: Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
  • Next by thread: Re: EXC_BAD_ACCESS when trying to use [NSMutableURLRequest setHTTPBodyStream]
  • Index(es):
    • Date
    • Thread