I have a little app that downloads stock prices and was working perfectly (for years) until my recent upgrade to 10.5.7. After the upgrade, the program would crash on this
We're seeing the same issue, using both the non-deprecated stringWithContentsOfURL
and sendSynchronousRequest
(in different places). We see the same type of behavior; the call can work fine for many iterations, and then will randomly fail (on identical requests).
Given that the synchronous calls are built on top of the async mechanism, there's no reason these calls shouldn't still be working properly. Unfortunately, we don't have a solution yet either.
Crashes in objc_msgSend are usually due to improper object life-cycle (i.e. object has been released and it's being sent a message).
Run your code with NSZombieEnabled to figure out if this is indeed your problem and to see which object is being release early.