Re: [pool release] causes error?
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