On 2 Aug 2010, at 11:50 AM, David Duncan wrote: > On Aug 2, 2010, at 9:40 AM, Fritz Anderson wrote: > >> The didReceiveData: callback asserts that the data accumulator exists. In >> certain circumstances (it seems to be with four of these requests started >> nearly simultaneously), the assertion is triggered. self.dataAccumulator is >> nil, and there is a significant amount of data coming in - 30K out of a 200K >> image. > > > It is unclear how you are managing having multiple requests. Do you have > multiple instances of this class, or does -loadAsync just get called 4 times?
Yes, I have multiple instances of this class. Any one loader object has exactly one NSURLConnection in its entire lifetime. This is a loader for images in a table. Up to four image cells may be visible at a time. When the table first appears, each visible cell creates a loader object, and each of those initiates a download. Four downloads, but a loader doesn't know about anything but its own NSURLConnection. I think the parallel-download thing may be a red herring. And my "solution" may simply have moved the expression of the bug somewhere I haven't found yet. — F _______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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 arch...@mail-archive.com