SIGBUS on declarations
SIGBUS on declarations
- Subject: SIGBUS on declarations
- From: Jason Whittle <email@hidden>
- Date: Fri, 24 Aug 2007 13:32:29 -0400
I was implementing a Foundation Tool project that started throwing
segfaults, so I stripped it down to see what was doing it; I got it
down the the following, but now it's throwing a SIGBUS.
#import <Foundation/Foundation.h>
int main (int argc, const char * argv[])
{
NSAutoreleasePool* pool = [[NSAutoreleasePool alloc] init];
NSArray* x = [[NSArray alloc] initWithObjects: [NSNumber
numberWithInt: 1]];
[x release];
[pool release];
return 0;
}
Is there something about NSArray that I'm not understanding?
Cheers,
Jason Whittle
_______________________________________________
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