abrt 1.1.1 detected a crash.
Attached file: backtrace
cmdline: lftp hftp://ftp.windriver.com
comment: I tried to upload a file to ftp drop box via http proxy. Lftp crashed after sending some data. I tried few times, always the same crash.
reason: Process /usr/bin/lftp was killed by signal 11 (SIGSEGV)
release: Fedora release 13 (Goddard)
How to reproduce
1. export http_proxy="http://foo.bar.com:8080/; export ftp_proxy="http://foo.bar.com:8080/; export proxy="http://foo.bar.com:8080/;
2. dd if=/dev/zero of=/tmp/please-remove-lftp-test.bin bs=1024 count=1024
2. lftp ftp.windriver.com
3. cd incoming
4. put /tmp/please-remove-lftp-test.bin
-> lftp ftp.windriver.com:~/incoming> put /tmp/please-remove-lftp-test.bin
Segmentation fault (core dumped)n' at 196608 (18%) 2.7K/s eta:5m [Waiting for response...]
Created attachment 421146 [details]
thank you for reporting. I was not able to reproduce the bug but the backtrace has provided enough information. I suppose the issue was produced by corrupted mtime.
I've patched affected code and built rawhide's rpm. Please, if you are able to reproduce it could you test ptached rpm using:
yum update lftp --enablerepo=rawhide
thanks, I did try it with version:
It didn't crash anymore. Didn't upload the file either :) It uploaded the file to some phase, but then it goes to such state:
$ lftp hftp://ftp.windriver.com
lftp ftp.windriver.com:~> cd incoming
cd ok, cwd=~/incoming
lftp ftp.windriver.com:~/incoming> put /tmp/please-remove-lftp-test.bin
`...please-remove-lftp-test.bin' at 0 (0%)
and just keeps updating the ETA time. I'm not sure if the download finished or not.
Here's the failed wireshark capture of the TCP stream:
# cat Desktop/lftp-hftp-wr.com.pcap
PUT ftp://ftp.windriver.com/incoming/please-remove-lftp-test.bin;type=i HTTP/1.1
Last-Modified: Mon, 28 Jun 12:02:37 2010 GMT
HTTP/1.1 200 OK
Via: 1.1 FIESPRX001
<meta http-equiv="Content-Type" content="text-html; charset=UTF-8">
<TITLE>Server error message </TITLE>
<BODY><H1>ISA Server: extended error message : </H1>
<PRE>200 Switching to Binary mode.
227 Entering Passive Mode (192,124,127,9,195,154)
550 Failed to open file.
Created attachment 427408 [details]
fixes crash when corrupted date
Thanks for test and report. I've got the same issue with ftp.windriver.com.
I made test environment with vsftpd and squid. Patched code worked fine. Well, I'm going to put the patch to F-12, F-13 and upstream.