Skip navigation.
 
mlMultiple downloads crash in Leopard
FROM : Rahul Shetty
DATE : Thu Mar 13 18:31:02 2008

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.

Related mailsAuthorDate
mlMultiple downloads crash in Leopard Rahul Shetty Mar 13, 18:31
mlRe: Multiple downloads crash in Leopard Jens Alfke Mar 13, 23:15