• 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
App exits on alloc
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

App exits on alloc


  • Subject: App exits on alloc
  • From: David Sinclair <email@hidden>
  • Date: Tue, 12 Nov 2002 12:29:06 -0800

I have a perplexing problem, and can't find a solution in the archives etc.

I have an object in one file, and am alloc'ing it from another object. But when I do, the app exits. This is just alloc'ing it -- it doesn't even get to the init. Even with everything stripped out of the first object, it exits. Yet if I put the first object in the same file as the second, it works fine. And I can alloc other objects from the second one. When it exits, the PB status bar displays "Program exited with status value:1."

Anyone else ever had something like this?

The stripped-down object is as simple as this:


#import <Foundation/Foundation.h>

@interface NotifierAbstract : NSObject
{
NSDate *logDate;
}

@end

--

David Sinclair, Dejal Systems, LLC - email@hidden

Let Dejal Simon keep an eye on your sites for changes or failures!
http://www.dejal.com/simon/
_______________________________________________
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: App exits on alloc
      • From: Alex Rice <email@hidden>
  • Prev by Date: Re: redirect stderr
  • Next by Date: Personal picture in OS X Mail program
  • Previous by thread: Horizontal Scroll Bars and table views
  • Next by thread: Re: App exits on alloc
  • Index(es):
    • Date
    • Thread