On Fri, Nov 5, 2010 at 11:03 AM, Liam Healy <l...@healy.washington.dc.us>wrote:
> On Fri, Nov 5, 2010 at 2:20 AM, Ramakrishnan Muthukrishnan > <rkrish...@debian.org> wrote: > > On Fri, Nov 5, 2010 at 2:13 AM, Liam Healy <l...@healy.washington.dc.us> > wrote: > >> > >> OK, done. Now it segfaults > >> > >> curl -v --krb clear ftp://healy@zzzz/archive/catalogs/ > >> * About to connect() to zzzz port 21 (#0) > >> * Trying aaa.bbb.ccc.ddd... connected > >> * Connected to zzzz (132.250.112.17) port 21 (#0) > >> < 220 khan FTP server (Version 5.60) ready. > >> * Trying mechanism GSSAPI... > >> Segmentation fault > >> > >> curl --version > >> curl 7.21.0 (x86_64-pc-linux-gnu) libcurl/7.21.2 OpenSSL/0.9.8o > > > > Looks like your curl version is 7.21.0 and libcurl is 7.21.2. Please > > try with curl version also upgraded to the same version. > > > > thanks > > Ramakrishnan > > > > Curl 7.21.2 doesn't make any difference; > > wget > http://ftp.us.debian.org/debian/pool/main/c/curl/curl_7.21.2-1_amd64.deb > dpkg -i curl_7.21.2-1_amd64.deb > curl -V > curl 7.21.2 (x86_64-pc-linux-gnu) libcurl/7.21.2 OpenSSL/0.9.8o > zlib/1.2.3.4 libidn/1.15 libssh2/1.2.6 > Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps > pop3 pop3s rtsp scp sftp smtp smtps telnet tftp > Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz > > curl --krb clear ftp://healy@zzzz/archive/catalogs/ > Segmentation fault > > Liam > I am still seeing this problem. I decided to run with gdb to see if the output would be informative. I'm not sure how to interpret the result, but perhaps it means something to an expert. I could recompile with debugging symbols if that would help. Thank you. gdb curl GNU gdb (GDB) 7.0.1-debian Copyright (C) 2009 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html > This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>... Reading symbols from /usr/bin/curl...(no debugging symbols found)...done. (gdb) run --krb clear ftp://healy@zzzz/archive/catalogs Starting program: /usr/bin/curl --krb clear ftp://healy @mira/archive/catalogs [Thread debugging using libthread_db enabled] Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7b9dc45 in Curl_ftpsendf () from /usr/lib/libcurl.so.4 (gdb) where #0 0x00007ffff7b9dc45 in Curl_ftpsendf () from /usr/lib/libcurl.so.4 #1 0x00007ffff7bb14d4 in ?? () from /usr/lib/libcurl.so.4 #2 0x00007ffff7bb1dba in Curl_sec_login () from /usr/lib/libcurl.so.4 #3 0x00007ffff7b9cb56 in ?? () from /usr/lib/libcurl.so.4 #4 0x00007ffff7b99846 in ?? () from /usr/lib/libcurl.so.4 #5 0x00007ffff7b9ebea in Curl_protocol_connect () from /usr/lib/libcurl.so.4 #6 0x00007ffff7ba1b72 in Curl_connect () from /usr/lib/libcurl.so.4 #7 0x00007ffff7bb0178 in ?? () from /usr/lib/libcurl.so.4 #8 0x0000000000408f9f in ?? () #9 0x00007ffff741bc4d in __libc_start_main () from /lib/libc.so.6 #10 0x00000000004024e9 in ?? () #11 0x00007fffffffe238 in ?? () #12 0x000000000000001c in ?? () #13 0x0000000000000004 in ?? () #14 0x00007fffffffe529 in ?? () #15 0x00007fffffffe537 in ?? () #16 0x00007fffffffe53d in ?? () #17 0x00007fffffffe543 in ?? () #18 0x0000000000000000 in ?? () (gdb) Liam