cURL
Haxx ad
libcurl

curl's project page on SourceForge.net

Sponsors:
Haxx

cURL > Mailing List > Monthly Index > Single Mail

curl-tracker mailing list Archives

[ curl-Bugs-1380401 ] Test 253 and 255 segfaults with curl-7.15.1

From: SourceForge.net <noreply_at_sourceforge.net>
Date: Wed, 14 Dec 2005 04:47:22 -0800

Bugs item #1380401, was opened at 2005-12-14 04:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1380401&group_id=976

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: ftp
Group: crash
Status: Open
Resolution: None
Priority: 5
Submitted By: Nobody/Anonymous (nobody)
Assigned to: Daniel Stenberg (bagder)
Summary: Test 253 and 255 segfaults with curl-7.15.1

Initial Comment:
Since these 2 tests failed with the previous version of
Curl too (7.15.0) I 'll submit a bug report - Using the
search I could only find similar bugs from 2000-2003.

[...]
test 253...sh: line 1: 27821 Segmentation fault
../src/curl --output log/curl253.out --include -v
--trace-time -g "ftp://[::1]:8996/" -P -
>>log/stdout253 2>>log/stderr253
FAILED
test 254...OK (249 out of 301, remaining: 00:18)
test 255...sh: line 1: 27853 Segmentation fault
../src/curl --output log/curl255.out --include -v
--trace-time -g "ftp://[::1]:8996/" -P - --disable-eprt
>>log/stdout255 2>>log/stderr255
FAILED
[...]
TESTDONE: 284 tests out of 286 reported OK: 99%
TESTFAIL: These test cases failed: 253 255
TESTDONE: 301 tests were considered during 101 seconds.
TESTINFO: 15 tests were skipped due to these restraints:
TESTINFO: "no stunnel" 8 times (300, 301, 302, 303,
304, 305, 306, 509)
TESTINFO: "rlimit problems" 1 times (518)
TESTINFO: "curl lacks netrc_debug support" 6 times
(130, 131, 132, 133, 134, 257)

sushibox2
/var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests #
./runtests.pl -k 253
********* System characteristics ********
* curl 7.15.1 (i686-pc-linux-gnu)
* libcurl/7.15.1 OpenSSL/0.9.7i zlib/1.2.3 libidn/0.5.20
* Features: IDN IPv6 Largefile NTLM SSL libz
* Host: sushibox2
* System: Linux sushibox2 2.6.14-gentoo #1 PREEMPT Tue
Nov 8 23:53:46 CET 2005 i686 AMD Athlon(tm) XP 1800+
AuthenticAMD GNU/Linux
* Server SSL: OFF
* libcurl SSL: ON
* libcurl debug: OFF
* valgrind: OFF
* HTTP IPv6 ON
* FTP IPv6 ON
* HTTP port: 8990
* FTP port: 8992
* FTP port 2: 8995
* HTTP IPv6 port: 8994
* FTP IPv6 port: 8996
* TFTP port: 8997
* SSL library: OpenSSL
*****************************************
test 253...[FTP IPv6 dir list with EPRT]
sh: line 1: 29166 Segmentation fault ../src/curl
--output log/curl253.out --include -v --trace-time -g
"ftp://[::1]:8996/" -P - >>log/stdout253 2>>log/stderr253

 data FAILED:
--- log/check-expected 2005-12-14 13:41:24.000000000 +0100
+++ log/check-generated 2005-12-14 13:41:24.000000000 +0100
@@ -1,11 +0,0 @@
-total 20
-drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
-drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
-drwxr-xr-x 2 98 98 512 May 2 1996
.NeXT
--r--r--r-- 1 0 1 35 Jul 16 1996
README
-lrwxrwxrwx 1 0 1 7 Dec 9 1999
bin -> usr/bin
-dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
-drwxrwxrwx 2 98 98 512 May 29 16:04
download.html
-dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
-drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
-dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr

 - abort tests
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 253
TESTDONE: 1 tests were considered during 2 seconds.

sushibox2
/var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests/log
# cat stderr253
13:42:43.918669 * About to connect() to ::1 port 8996
13:42:43.919016 * Trying ::1... connected
13:42:43.919449 * Connected to ::1 (::1) port 8996
13:42:43.921109 < 220- _ _ ____ _
13:42:43.921223 < 220- ___| | | | _ \| |
13:42:43.921309 < 220- / __| | | | |_) | |
13:42:43.921394 < 220- | (__| |_| | _ <| |___
13:42:43.921479 < 220 \___|\___/|_| \_\_____|
13:42:43.921733 > USER anonymous
13:42:43.922877 < 331 We are happy you popped in!
13:42:43.923156 > PASS curl_by_daniel_at_haxx.se
13:42:43.923886 < 230 Welcome you silly person
13:42:43.924144 > PWD
13:42:43.924794 < 257 "/nowhere/anywhere" is current
directory
13:42:43.924908 * Entry path is '/nowhere/anywhere'
13:42:43.925422 > EPRT |2|::1|51732|
13:42:43.931221 < 200 Thanks for dropping by. We
contact you later
13:42:43.931354 * Connect data stream actively
13:42:43.931766 > TYPE A
13:42:43.932707 < 200 I modify TYPE as you wanted
13:42:43.932969 > LIST
13:42:43.933472 < 150 here comes a directory
13:42:43.933651 * Connection accepted from server

[NOTE: stdout253 is empty]

sushibox2
/var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests #
./runtests.pl -k 255
********* System characteristics ********
* curl 7.15.1 (i686-pc-linux-gnu)
* libcurl/7.15.1 OpenSSL/0.9.7i zlib/1.2.3 libidn/0.5.20
* Features: IDN IPv6 Largefile NTLM SSL libz
* Host: sushibox2
* System: Linux sushibox2 2.6.14-gentoo #1 PREEMPT Tue
Nov 8 23:53:46 CET 2005 i686 AMD Athlon(tm) XP 1800+
AuthenticAMD GNU/Linux
* Server SSL: OFF
* libcurl SSL: ON
* libcurl debug: OFF
* valgrind: OFF
* HTTP IPv6 ON
* FTP IPv6 ON
* HTTP port: 8990
* FTP port: 8992
* FTP port 2: 8995
* HTTP IPv6 port: 8994
* FTP IPv6 port: 8996
* TFTP port: 8997
* SSL library: OpenSSL
*****************************************
test 255...[FTP IPv6 dir list with EPRT and --disable-eprt]
sh: line 1: 29224 Segmentation fault ../src/curl
--output log/curl255.out --include -v --trace-time -g
"ftp://[::1]:8996/" -P - --disable-eprt >>log/stdout255
2>>log/stderr255

 data FAILED:
--- log/check-expected 2005-12-14 13:41:46.000000000 +0100
+++ log/check-generated 2005-12-14 13:41:46.000000000 +0100
@@ -1,11 +0,0 @@
-total 20
-drwxr-xr-x 8 98 98 512 Oct 22 13:06 .
-drwxr-xr-x 8 98 98 512 Oct 22 13:06 ..
-drwxr-xr-x 2 98 98 512 May 2 1996
.NeXT
--r--r--r-- 1 0 1 35 Jul 16 1996
README
-lrwxrwxrwx 1 0 1 7 Dec 9 1999
bin -> usr/bin
-dr-xr-xr-x 2 0 1 512 Oct 1 1997 dev
-drwxrwxrwx 2 98 98 512 May 29 16:04
download.html
-dr-xr-xr-x 2 0 1 512 Nov 30 1995 etc
-drwxrwxrwx 2 98 1 512 Oct 30 14:33 pub
-dr-xr-xr-x 5 0 1 512 Oct 1 1997 usr

 - abort tests
TESTDONE: 0 tests out of 1 reported OK: 0%
TESTFAIL: These test cases failed: 255
TESTDONE: 1 tests were considered during 2 seconds.

sushibox2
/var/tmp/portage/curl-7.15.1/work/curl-7.15.1/tests/log
# cat stderr255
13:43:35.013402 * About to connect() to ::1 port 8996
13:43:35.013748 * Trying ::1... connected
13:43:35.014181 * Connected to ::1 (::1) port 8996
13:43:35.015839 < 220- _ _ ____ _
13:43:35.015947 < 220- ___| | | | _ \| |
13:43:35.016116 < 220- / __| | | | |_) | |
13:43:35.016199 < 220- | (__| |_| | _ <| |___
13:43:35.016280 < 220 \___|\___/|_| \_\_____|
13:43:35.016554 > USER anonymous
13:43:35.017658 < 331 We are happy you popped in!
13:43:35.017982 > PASS curl_by_daniel_at_haxx.se
13:43:35.018732 < 230 Welcome you silly person
13:43:35.018989 > PWD
13:43:35.019675 < 257 "/nowhere/anywhere" is current
directory
13:43:35.019789 * Entry path is '/nowhere/anywhere'
13:43:35.020613 > EPRT |2|::1|51737|
13:43:35.027402 < 200 Thanks for dropping by. We
contact you later
13:43:35.027532 * Connect data stream actively
13:43:35.027843 > TYPE A
13:43:35.028744 < 200 I modify TYPE as you wanted
13:43:35.028989 > LIST
13:43:35.030070 < 150 here comes a directory
13:43:35.032198 * Connection accepted from server

[NOTE: stdout255 is empty]

If you need to contact me, you can mail me at
curl-sourceforge .AT. qtea.nl

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=100976&aid=1380401&group_id=976
Received on 2005-12-14

These mail archives are generated by hypermail.

donate! Page updated November 12, 2010.
web site info

File upload with ASP.NET