When my app runs for a particular user it emits these to the console once in
awhile:
*** -[NSCFArray initWithObjects:count:]: attempt to insert nil object at
objects[0]
However, the app does not crash for him when this happens.
I would like it to crash when this happens so I could get a crash report with a
call stack.
I can reproduce that log message with this code:
NSArray* crash = [NSArray arrayWithObject:nil] ;
NSLog(@"%@", crash) ;
However, for me, even if I launch by doubleclicking my Release build in Finder,
after logging that exception, it crashes.
We're both running Mac OS 10.6.4 on Intel, although his is a 64-bit processor,
the app is 32-bit.
Why does it crash for me and not for him? Does the Mac OS have some kind of
system-wide exception-handling preferences that I'm not aware of? Could some
system extension do this?
Thank you,
Jerry Krinock
_______________________________________________
Cocoa-dev mailing list ([email protected])
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com
This email sent to [email protected]