App exits on alloc
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.