• 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
NSURL Bug?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSURL Bug?


  • Subject: NSURL Bug?
  • From: Evan DiBiase <email@hidden>
  • Date: Wed, 26 Jun 2002 15:15:48 -0400

Hello,

I ran into the following "issue" with using NSURL in a seemingly standard way: the code

#import <Foundation/Foundation.h>

int main (int argc, const char * argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];

// insert code here...
NSURL *myURL = [[NSURL alloc] init];

[myURL release];
[pool release];
return 0;
}

will crash with a signal 10 (SIGBUS). I don't see any reason why this would happen, but I wanted to get a confirmation that there is a bug here and not just my relative inexperience with the platform.

Thanks,
Evan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSURL Bug?
      • From: Scott Anguish <email@hidden>
    • Re: NSURL Bug?
      • From: Sherm Pendley <email@hidden>
    • Re: NSURL Bug?
      • From: Evan DiBiase <email@hidden>
    • Re: NSURL Bug?
      • From: Lance Bland <email@hidden>
  • Prev by Date: Re: NSPoint and NSRect
  • Next by Date: valueForKey:@"class"
  • Previous by thread: Re: NSPoint and NSRect
  • Next by thread: Re: NSURL Bug?
  • Index(es):
    • Date
    • Thread