• 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: [pool release] causes error?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pool release] causes error?


  • Subject: Re: [pool release] causes error?
  • From: "Mike R. Manzano" <email@hidden>
  • Date: Sun, 27 Mar 2005 18:45:41 -0800

Nothing is wrong ostensibly. What's in DataParser?

	~ 	Mike
		alephx01 (at) mac (dot) com




On Mar 27, 2005, at 6:29 PM, Daniel Child wrote:

Hi All,

I must be missing something obvious, but I get a strange error if I try to release the autorelease pool.

  NSAutoreleasePool *pool = [[NSAutoreleasePool alloc] init];

  NSString *path;
  DataParser *dp;
  NSMutableArray *theRecords;
  NSEnumerator *recsEnum;

path = [@"~/Documents/PROGRAMMING/pangWords.txt" stringByExpandingTildeInPath];
dp = [DataParser parserWithRecordDelim:@"\n"];
theRecords = [dp parseFileAtPath: path];


[pool release]; // causes BAD EXC ACCESS (exits with signal 11 (SIGSEGV))
return 0;


What would cause this? Thanks...


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[pool release] causes error? (From: Daniel Child <email@hidden>)

  • Prev by Date: [pool release] causes error?
  • Next by Date: Re: Custom Cell highlighting
  • Previous by thread: [pool release] causes error?
  • Next by thread: Re: [pool release] causes error?
  • Index(es):
    • Date
    • Thread