cURL / Mailing Lists / curl-users / Single Mail

curl-users

Re: Segmentation fault | curl ftp

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 16 Feb 2012 23:01:51 +0100 (CET)

On Thu, 16 Feb 2012, Luis Gonzalez wrote:

> 1. # gdb curl
> 2. (gdb) run --noproxy 10.129.33.98 -T procesa.pid -v -Q "TYPE I" -Q "PWD" oracle:bdd98oracle ftp://10.129.33.98
> .
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff74d8660 in inet_pton4 () from /lib64/libc.so.6
> (gdb) where
> #0 0x00007ffff74d8660 in inet_pton4 () from /lib64/libc.so.6
> #1 0x00007ffff74d879b in inet_pton () from /lib64/libc.so.6
> #2 0x00007ffff7bb7719 in Curl_getaddrinfo () from /usr/local/lib/libcurl.so.4
> #3 0x00007ffff7b8b48f in Curl_resolv () from /usr/local/lib/libcurl.so.4

Ouch! Can you please rebuild curl with -g (and not strip the binary) and redo
the same thing? Then you'll get arguments, variables and line numbers and we
might actually understand what this means.

This is code that hasn't changed much in quite some time so it is a bit
surprising to me.

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ:        http://curl.haxx.se/docs/faq.html
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2012-02-16