cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Segfault with CURLOPT_STDERR (was: How to use CURLOPT_DEBUGFUNCTION with Perl)

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Mon, 24 May 2004 16:43:34 +0200 (CEST)

On Mon, 24 May 2004, Jan Theofel wrote:

> Here's the gdb output:
>
> (gdb) where
> #0 0x08519dbb in ?? ()
> #1 0x403178c7 in Curl_infof (data=Variable "data" is not available.
> ) at sendf.c:138

Can you do a 'frame 1' and see what the local variables contain at this point?
It looks like some kind of bad messup. I don't understand that text about the
data variable though (unless you run an optimized librarary or something).

> Does this help?

It's a good start indeed.

-- 
     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-24