cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: crash while receiving huge image data from server via POST

From: Jerry G. Chiuan <jerry_at_oridus.com>
Date: Fri, 6 Feb 2004 19:20:04 -0800

Hi Daniel,
I think I misunderstood it

the crash actually is whinin my application
however, MSVC debugger points to curl but my application, I don't know why?
$%#&...
I found it should be in my part once I use *Purify*

I guess it is due to MSVC debugger can't recognize callback blabla..., maybe
debug environment is not fully accurate : )
But, how come Purify can pinpoint it correctly

sorry for this confusion
- Jerry

> Hi Daniel,
> I tried to trace into curl codes and found it *always* crashes here:
>
> CURLcode Curl_client_write( )
> {
> ::::
> if ( type & CLIENTWRITE_BODY) {
> wrote = data->set.fwrite(......) <--- this line
> }
> ::::
> }
>
> this is the call stack:
> Curl_client_write( ) -- sendf.c
> Curl_httpchunk_read( ) -- http_chunks.c
> Curl_readwrite( ) --transfer.c
> Transfer( ) -- transfer.c
> Curl_perform( ) -- transfer.c
> curl_easy_perform( ) -- easy.c
Received on 2004-02-07