Re: CFNetwork crash!
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.