• 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
Mysterious crash
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Mysterious crash


  • Subject: Mysterious crash
  • From: Adam Atlas <email@hidden>
  • Date: Mon, 30 Jun 2003 17:15:04 -0400

I have a line that goes:
interfaceRegistry = [CCInterfaceRegistry sharedInstance];

It's in an awakeFromNib: method. There are two others like it immediately after it. When I run the program, it immediately segfaults on objc_msgSend, resulting from this line. As far as I can tell, CCInterfaceRegistry is a perfectly formed ObjC object; I don't see anything that could cause this.

If I comment these three lines out, the program runs, though it's missing much of its functionality. Additionally, if I change it to [[CCInterfaceRegistry alloc] init]; it still doesn't work, and it crashes in the exact same way.

Why would it be doing this?

Thanks,
Adam Atlas
_______________________________________________
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.

  • Prev by Date: Re: Writing Files
  • Next by Date: Re: Writing Files
  • Previous by thread: Images transparency in PDF's
  • Next by thread: Stumped by greyed out check syntax widget in PB.
  • Index(es):
    • Date
    • Thread