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

Bad error?


  • Subject: Bad error?
  • From: Brent Gulanowski <email@hidden>
  • Date: Wed, 29 Aug 2001 00:16:05 -0400

Well, leave it to someone who really has no idea what he's doing (but is
starting to have fun just the same): here's a scary error that I do not know
the meaning of, nor even where in docs I would start looking (uh, ok,
probably in the gcc docs, but I'll just cheat).

GLStuffCocoa.app has exited due to signal 10 (SIGBUS).

I'm trying to see if I can get an NSOpenGLView to display something. I
managed to get my little test app to compile, but I've clearly made a
mistake (or mistakes, probably). There are many things I don't fully grok
yet, but the biggest question mark in my head is how to deal with all of
these objects which are generated in a disk file and which are sort of
anonymous to me: NSApplication, NSOpenGLView, a custom controller and a
custom model. The outlet mechanism is odd: how does one object know that the
other is ever there? Does IB give it a symbol to put into the outlet?

Other questions:

Is NSApplication a Controller object? or what?

If I subclass NSApplication, do I have to change the "File's Owner" object
in IB to reflect this? Can NSApplication communicate to other objects
besides its delegate (not counting instance objects I might choose to
create)? Specifically, can it see View objects, ie the Key Window or the
Main Window etc, or Controller objects I create in IB?

Thanks,

BG


  • Follow-Ups:
    • Re: Bad error?
      • From: Ondra Cada <email@hidden>
    • Re: Bad error?
      • From: Chris Gehlker <email@hidden>
  • Prev by Date: Re: Another Cocoa Bug!! :<
  • Next by Date: Re: (no subject)
  • Previous by thread: Re: Abstract classes and methods
  • Next by thread: Re: Bad error?
  • Index(es):
    • Date
    • Thread