cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: bugs in sample C code for fopen (retry)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 3 May 2004 09:21:27 +0200 (CEST)

On Mon, 3 May 2004, Dickerson wrote:

> (this seemed to have gotten bounced the first time I sent it so I am trying
> again.)

You weren't subscribed, so your posting was held for a list admin (=me) to
ack/reject.

> In the "fread" pass it dies when it calls url_fopen and tries to execute
> the line:

> while(curl_multi_perform(multi_handle, &file->still_running) ==
> CURLM_CALL_MULTI_PERFORM );

> and outputs:
> Segmentation fault (core dumped)

Hoa! This is indeed badness. Can you just verify that you pass in sensible
data to libcurl here, and if you do, can you produce a stack trace from the
core dump? (see docs/BUGS)

-- 
     Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
      Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-05-03