Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

CFURL crash: multi-threading issue?



Hi,

I've been witnessing some crashes on my project that seem to happen during
startup of the app and only when the mac is under some load, like when it
has just finished booting and the hard disk is still being hit pretty
hard.


I have already searched the list archives and the web and wasn't able to
find anything about it.

All crash logs appear to have some very consistent clues, even though the
crashes are not happening always at the same place in the code. There are
almost always two threads initializing a WebView or CFURL stuff at the
same time, the WebView being always on the main thread. Another consistent
clue is that a CFURLCache seems to always be involved. I believe CFURL is
thread-safe when not sharing instances over different threads. Is it
something I am doing wrong, or is it some bug in the frameworks?


Here are some of the crash logs:
-
<http://trac.softwarelivre.sapo.pt/sapo_msg_mac/attachment/ticket/153/crash%20sapo%20msg%201.txt >
-
<http://trac.softwarelivre.sapo.pt/sapo_msg_mac/attachment/ticket/153/crash%20sapo%20msg%202.txt >
-
<http://trac.softwarelivre.sapo.pt/sapo_msg_mac/attachment/ticket/153/SAPO%20Messenger_2008-01-24-104922_Leapfrog-iMac.crash >


Thanks,
--
João Pavão


_______________________________________________ Do not post admin requests to the list. They will be ignored. Macnetworkprog mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/macnetworkprog/email@hidden

This email sent to email@hidden


Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.