Re: [[NSDate alloc] initWithString] crashes with valid string
Re: [[NSDate alloc] initWithString] crashes with valid string
- Subject: Re: [[NSDate alloc] initWithString] crashes with valid string
- From: Tony Becker <email@hidden>
- Date: Tue, 15 Jul 2008 17:21:11 -0400
I didn't see any code sniglet for this, but it's not something simple
like:
[[NSDate alloc] initWithString:"..."];
vs
[[NSDate alloc] initWithString:@"..."];
i.e.: passing CString vs NSString?
On Jul 15, 2008, at 4:12 PM, Kyle Sluder wrote:
On Tue, Jul 15, 2008 at 2:36 PM, Markus Spoettl
<email@hidden> wrote:
Any ideas what could be causing something like this?
Doesn't look like it's your fault, unless for some reason the string
is being dealloc'd under the call stack's feet -- make sure that the
call stack eventually winds up in your code; if it doesn't, you've hit
the top of the runloop and the string has probably been released by an
autorelease pool. After confirming this, file a bug at
http://bugreport.apple.com, as this is a pretty serious issue.
--Kyle Sluder
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden