• 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: CFNetwork crash!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CFNetwork crash!


  • Subject: Re: CFNetwork crash!
  • From: Avi Drissman <email@hidden>
  • Date: Tue, 16 Jul 2002 13:07:47 -0400

At 9:54 AM -0700 7/16/02, Becky Willrich wrote:

However, your backtrace looks very much like an over-release of one of the socket streams; any chance from your end that's the case?

Very unlikely. This is a grafting of CFNetwork code onto an OT-based app. There is an OT Endpoint Table (hence the otEndpointPtr). I allocate the streams and stuff them in the table. They sit there with a retain value of 1, until my disposal routine CFReleases them and immediately nils out the variables to prevent that. Any clients grab and use them, but never touch the retain count.

BTW, if you're working in obj-c

I'm not; just a mixture of C, C++, and Java. No need for another language in the mix.

Avi

--
Avi Drissman
email@hidden
Argh! This darn mail server is trunca
_______________________________________________
macnetworkprog mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/macnetworkprog
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: CFNetwork crash!
      • From: Becky Willrich <email@hidden>
References: 
 >Re: CFNetwork crash! (From: Becky Willrich <email@hidden>)

  • Prev by Date: Re: CFNetwork crash!
  • Next by Date: Re: CFNetwork crash!
  • Previous by thread: Re: CFNetwork crash!
  • Next by thread: Re: CFNetwork crash!
  • Index(es):
    • Date
    • Thread