• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: CFURL crash: multi-threading issue?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFURL crash: multi-threading issue?


  • Subject: Re: CFURL crash: multi-threading issue?
  • From: Jeff Jenkins <email@hidden>
  • Date: Mon, 28 Jan 2008 13:47:02 -0800

Hi,

Can you tell me what APIs you are using and on what your threading model is?  Specifically, I am wondering what NSURL-family APIs you are using (this is what gets the CFURL-stuff invovled).

Thanks!

-- jrj

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 sapo msg 1.txt >
-
<http://trac.softwarelivre.sapo.pt/sapo_msg_mac/attachment/ticket/153/crash sapo msg 2.txt >
-
<http://trac.softwarelivre.sapo.pt/sapo_msg_mac/attachment/ticket/153/SAPO Messenger_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:

This email sent to email@hidden

  • Follow-Ups:
    • Re: CFURL crash: multi-threading issue?
      • From: João Pavão <email@hidden>
  • Prev by Date: Re(2): CFURL crash: multi-threading issue?
  • Next by Date: delete the entry from loginwindow.plist using command
  • Previous by thread: Re(2): CFURL crash: multi-threading issue?
  • Next by thread: Re: CFURL crash: multi-threading issue?
  • Index(es):
    • Date
    • Thread