cURL / Mailing Lists / curl-users / Single Mail

curl-users

SEGV in curl on some site (only 7.9.3)

From: François Pons <fpons_at_mandrakesoft.com>
Date: 29 Jan 2002 17:42:08 +0100

Hello,

I run into trouble using curl 7.9.3 (curl 7.9.2 is running correctly on this
topic).

The following url make curl crazy (?)

$ gdb curl #ftp://ftp.vat.tu-dresden.de/pub/Mandrake-devel/cooker/i586/Mandrake/RPMS
GNU gdb 5.1
Copyright 2001 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-mandrake-linux"...
(no debugging symbols found)...
(gdb) run ftp://ftp.vat.tu-dresden.de/pub/Mandrake-devel/cooker/i586/Mandrake/RPMS
Starting program: /usr/bin/curl ftp://ftp.vat.tu-dresden.de/pub/Mandrake-devel/cooker/i586/Mandrake/RPMS
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x401bc8a0 in _IO_link_in () from /lib/libc.so.6
(gdb) bt
#0 0x401bc8a0 in _IO_link_in () from /lib/libc.so.6
#1 0x401bcd48 in __uflow () from /lib/libc.so.6
#2 0x401b29ca in _IO_getline_info () from /lib/libc.so.6
#3 0x401b2aae in _IO_getline () from /lib/libc.so.6
#4 0x401bacd7 in fgets_unlocked () from /lib/libc.so.6
#5 0x402837e8 in _nss_files_endservent () from /lib/libnss_files.so.2
#6 0x40283e13 in _nss_files_gethostbyname_r () from /lib/libnss_files.so.2
#7 0x4024159f in gethostbyname_r () from /lib/libc.so.6
#8 0x400348dc in Curl_getaddrinfo () from /usr/lib/libcurl.so.2
#9 0x000094b8 in ?? ()
(gdb)

I got the same problem on another application directly interfaced with libcurl,
but unable to reduce the problem on a simple .c file.

Thanks,
François.
Received on 2002-01-29