Multiple downloads crash in Leopard
Multiple downloads crash in Leopard
- Subject: Multiple downloads crash in Leopard
- From: Rahul Shetty <email@hidden>
- Date: Thu, 13 Mar 2008 23:01:02 +0530
Hi All,
We are developing an application that runs both on Tiger (10.4.9 to be
specific) and Leopard. We do quite a lot
of downloads simultaneously ( in the range of 100-200).
NSURLDownload is used for the purpose. We witness some random crashes
while doing so.
We use separate threads to carry out these downloads. One thread is
made to handle up to 10 downloads at a time. And there
are multiple threads running at the same time.
The crashes are observed only on Leopard.
Please find more information about them below
0 com.apple.CoreFoundation 0x9690e5cd
CFBundleCopyLocalizedString + 77
1 com.apple.CoreFoundation 0x9692e815
_CFErrorCreateLocalizedDescription + 277
2 com.apple.Foundation 0x936e88e8 -[NSError
localizedDescription] + 136
3 com.myCompany.xyz 0x00047100 -[myObject
didErrorOccured:request:] + 84
[......]
The following crash is observed when an error occurs during download.
0 com.apple.CoreFoundation 0x9690e5cd
CFBundleCopyLocalizedString + 77
1 com.apple.CoreFoundation 0x9692e815
_CFErrorCreateLocalizedDescription + 277
2 com.apple.CoreFoundation 0x9694f9ca
CFPropertyListWriteToStream + 538
3 com.apple.CFNetwork 0x927e63ce CFHTTPCookieStorageSync
+ 1398
4 com.apple.CFNetwork 0x927e5e00
CFHTTPCookieStorageSyncStorageObserver + 22
5 com.apple.CFNetwork 0x927e393a
CFHTTPCookieStorageObserverCallback + 32
6 com.apple.CoreFoundation 0x9695a64e CFRunLoopRunSpecific +
3166
7 com.apple.CoreFoundation 0x9695ad38 CFRunLoopRunInMode + 88
8 com.apple.Foundation 0x936b5560 +
[NSURLConnection(NSURLConnectionReallyInternal) _resourceLoadLoop:] +
320
[...]
The interesting part is the occurrence of CFBundleCopyLocalizedString
in both the crash logs. We were wondering what is the bundle that it is
trying to refer which is resulting in the crash. As I had mentioned
earlier both the crashes happen when there are a lot of parallel
downloads going on and that they
are observed only in Leopard. Add to that they are random too.
Is this some issue in Leopard that is known? Can you please provide
any inputs into the issue?
Thank you.
Regards,
Rahul.
-----------------------------------------------
Robosoft Technologies - Come home to Technology
Disclaimer: This email may contain confidential material. If you were not an intended recipient, please notify the sender and delete all copies. Emails to and from our network may be logged and monitored. This email and its attachments are scanned for virus by our scanners and are believed to be safe. However, no warranty is given that this email is free of malicious content or virus.
_______________________________________________
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