cURL / Mailing Lists / curl-users / Single Mail


SEGV in curl on some site (only 7.9.3)

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


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

The following url make curl crazy (?)

$ gdb curl #
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
Starting program: /usr/bin/curl
(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/
(gdb) bt
#0 0x401bc8a0 in _IO_link_in () from /lib/
#1 0x401bcd48 in __uflow () from /lib/
#2 0x401b29ca in _IO_getline_info () from /lib/
#3 0x401b2aae in _IO_getline () from /lib/
#4 0x401bacd7 in fgets_unlocked () from /lib/
#5 0x402837e8 in _nss_files_endservent () from /lib/
#6 0x40283e13 in _nss_files_gethostbyname_r () from /lib/
#7 0x4024159f in gethostbyname_r () from /lib/
#8 0x400348dc in Curl_getaddrinfo () from /usr/lib/
#9 0x000094b8 in ?? ()

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

Received on 2002-01-29