cURL / Mailing Lists / curl-library / Single Mail

curl-library

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

From: Jan Theofel <theofel_at_etes.de>
Date: Wed, 26 May 2004 15:51:29 +0200

Hello Daniel,

On Wed, May 26, 2004 at 03:01:25PM +0200, Daniel Stenberg wrote:
> On Wed, 26 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
> >
> > Does this help finding the seg fault or is there anything I can do?
>
> Did you miss my reply?
>
> http://curl.haxx.se/mail/lib-2004-05/0232.html

The mail didn't arrive here, but others (also from the lit) do. Very strange.

Here's the output although I think it won't help very much:

(gdb) frame 1
#1 0x403178c7 in Curl_infof (data=Variable "data" is not available.
) at sendf.c:138
138 sendf.c: No such file or directory.
        in sendf.c

Because the "frame 1" look not so good I also did a "frame 2":
(gdb) frame 2
#2 0x4032a77a in Curl_connecthost (conn=0x851a8c8, remotehost=0x8519d33, port=21, sockconn=0x851a974, addr=0xbfffe7ac, connected=0xbfffe7b3 "") at connect.c:571
571 connect.c: No such file or directory.
        in connect.c

If I understand that correct, the gdb need the source files for that but doesn't
find them. Where do I find the connect.c to add this path with the -d option to
gdb? The file seems neither to be be in the sources of curl nor in the sources
of the WWW::Curl::easy module.

Thanks,
Jan

-- 
Jan Theofel                              Fon:  +49 (7 11) 48 90 83 - 0
ETES - EDV-Systemhaus GbR                Fax:  +49 (7 11) 48 90 83 - 50
Libanonstrasse 58 A * D-70184 Stuttgart  Web: http://www.etes.de
Received on 2004-05-26