curl-users
Re: Segmentation fault | curl ftp
Date: Sun, 19 Feb 2012 21:08:00 -0600
I was testing with another user in the same server, and I realize there is no problem with curl, but when I try using curl with root user I got the Segmentation Fault.
I want to rebuild curl like you said, but I'm not sure how to do that. Can you give an advice?
There is maybe something wrong with GLIBC library?
Luis
On Feb 16, 2012, at 4:01 PM, Daniel Stenberg wrote:
> 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
-------------------------------------------------------------------
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-20