Re: Crash in CFReadStreamRead
Re: Crash in CFReadStreamRead
- Subject: Re: Crash in CFReadStreamRead
- From: Frederick Cheung <email@hidden>
- Date: Sat, 29 Oct 2005 20:15:47 +0100
On 10/28/05, Jan E. Schotsman <email@hidden> wrote:
> Hello,
>
> When downloading a URL (GET request) on Panther I often get the
> following crash in CFReadStreamRead:
>
> Thread 0 Crashed:
> 0 com.apple.CoreFoundation 0x90190f74 CFRetain + 0x20
> 1 com.apple.CFNetwork 0x92741828 _CFNetConnectionGetState + 0x2c
> 2 com.apple.CFNetwork 0x9274255c httpRequestRead + 0x7c
> 3 com.apple.CoreFoundation 0x901c38ac CFReadStreamRead + 0x180
>
> Crash may seem to happen at another point inside CFReadStreamRead too.
> On Tiger this never happens.
> Sometimes it happened when the first bytes are read, in in other cases
> when the second chunk of bytes is read.
>
I vaguely recall having seen a similar crash when using persistent
connections (kCFStreamPropertyHTTPAttemptPersistentConnection). Try
turning those off (they may be on by default). I also remember a
problem where proxy dictionaries weren't retained, but that might only
have been ftp streams.
Fred
_______________________________________________
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