Skip navigation.
 
mlApp exits on alloc
FROM : David Sinclair
DATE : Tue Nov 12 21:29:06 2002

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_removed>

Let Dejal Simon keep an eye on your sites for changes or failures!
http://www.dejal.com/simon/
_______________________________________________
cocoa-dev mailing list | <email_removed>
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

Related mailsAuthorDate
mlApp exits on alloc David Sinclair Nov 12, 21:29
mlRe: App exits on alloc Alex Rice Nov 18, 09:25
mlRe: App exits on alloc David Sinclair Nov 18, 18:52