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?