Re: Program not working under Snow Leopard
Re: Program not working under Snow Leopard
- Subject: Re: Program not working under Snow Leopard
- From: Quincey Morris <email@hidden>
- Date: Mon, 28 Dec 2009 04:07:18 -0800
On Dec 27, 2009, at 07:23, email@hidden wrote:
> I'm working on a program that manages file downloads via NSURLConnection. I was developing under Leopard and the program was working just fine. I've switched to a new computer running Snow Leopard with the latest Xcode. My program now crashes with the ever popular EXEC_BAD_ACCESS error at seemingly random points. At first it was consistently crashing when I was attempting to reference the value in an NSDate variable (via NSLog). So I commented that line out and then it crashed with the same error on a different variable. Also, I can run the program just fine in the debugger with it set to Debug. Once it's set to Release it crashes. I've confirmed the settings are identical for Debug/Release. And as I said, this code worked fine in Leopard.
No one can say the cause without further evidence. However, given the symptoms, the *high probability* is that:
1. You have a memory management bug in your code.
2. It never showed up under Leopard by pure luck.
_______________________________________________
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