test 253...sh: line 1: 28073 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 304, remaining: 00:19) test 255...sh: line 1: 28105 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 With CFLAGS="-O0 -march=athlon64 -pipe -g2 -ggdb" it doesn't segfault. Portage 2.1.3_rc8 (default-linux/x86/2006.1/desktop, gcc-4.1.2, glibc-2.5-r4, 2.6.20-gentoo-r8 i686) ================================================================= System uname: 2.6.20-gentoo-r8 i686 AMD Athlon(tm) 64 Processor 3500+ Gentoo Base System release 1.12.9 Timestamp of tree: Fri, 20 Jul 2007 11:20:01 +0000 distcc[7448] (dcc_remove_state_file) Warning: failed to unlink /root/.distcc/state/binstate_7448: Permission denied [disabled] ccache version 2.4 [enabled] dev-java/java-config: 1.3.7, 2.0.33-r1 dev-lang/python: 2.4.4-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: 2.4-r7 dev-util/confcache: 0.4.2-r1 sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.61 sys-devel/automake: 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10 sys-devel/binutils: 2.17 sys-devel/gcc-config: 1.3.16 sys-devel/libtool: 1.5.23b virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-O2 -march=athlon64 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/X11/xkb /usr/share/config" CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/terminfo /etc/texmf/web2c" CXXFLAGS="-O2 -march=athlon64 -pipe -fvisibility-inlines-hidden" DISTDIR="/usr/portage/distfiles" FEATURES="ccache collision-protect cvs digest distlocks fixpackages metadata-transfer noinfo parallel-fetch sandbox sfperms splitdebug strict test unmerge-orphans userfetch userpriv usersandbox" GENTOO_MIRRORS="ftp://ftp.snt.utwente.nl/pub/os/linux/gentoo http://www.ibiblio.org/pub/Linux/distributions/gentoo" LANG="de_DE.utf8" LDFLAGS="-Wl,-O1 -Wl,--sort-common -Wl,--as-needed" LINGUAS="de" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/distfiles' --exclude='/local' --exclude='/packages' --exclude-from=/etc/portage/rsync_excludes" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" USE="3dnow 3dnowext X aac acl acpi alsa apache2 audiofile berkdb bitmap-fonts bzip2 cairo cddb cdparanoia cdr chroot cli cracklib crypt css cups curl dbus dga doc dvd dvdr eds emacs emboss encode exif faad fam ffmpeg firefox flac fontconfig fortran gd gif glut gphoto2 gpm graphviz hal hbci iconv idl idn imagemagick imap ipv6 isdnlog jack javascript jpeg jpeg2k kde kdehiddenvisibility kipi ladcca lame lcms ldap libg++ lirc lm_sensors lzo mad maildir matroska mbox md5sum midi mmx mmxext mng mp3 mp4 mpeg mudflap musepack nas ncurses network nfs nls nptl nptlonly ofx ogg openexr opengl openmp pam pcap pcre perl png postgres ppds pppd python qt3 qt4 quicktime readline reflection rtc ruby samba sasl scanner sdl session skey slp snmp sox spell spl sse sse2 ssl subversion svg svga tcpd test tetex theora threads tiff transcode truetype truetype-fonts type1-fonts unicode usb vorbis win32codecs wmf x264 x86 xattr xcb xcomposite xerces xine xml xorg xv xvid yaz zeroconf zlib" ALSA_CARDS="intel8x0" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" USERLAND="GNU" VIDEO_CARDS="fbdev nvidia vesa" Unset: CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
All tests aside from SSH server run on AMD64 here against curl-7.16.4 - no segfaults.
have you got a ipv6 kernel module loaded? can you paste output from: $ cd /var/tmp/portage/net-misc/curl-7.15.5-r1/work/curl-7.15.5/tests $ ./runtests.pl -gvdkp 253 255 when gdb runs type "bt" to list a backtrace Please also attach output files from the log directory too. SSH tests won't run because in Gentoo the tests are run as root. curl-7.15.5-r1 was chosen as the next stable because it didn't have an ABI bump that means a significant revdep-rebuild. If you've migrated to 7.16.4 and done your revdep-rebuild I'd stay there. I'd still appreciate the failed output from 7.15.4 though.
(In reply to comment #2) > have you got a ipv6 kernel module loaded? I run a ipv6 capable kernel in an ipv4 environment, but if this were an issue, the tests wouldn't pass through with -O0, no?! The tests listed as disabled because of no ipv6 net are otherones anyways. > can you paste output from: > $ cd /var/tmp/portage/net-misc/curl-7.15.5-r1/work/curl-7.15.5/tests > $ ./runtests.pl -gvdkp 253 255 ********* System characteristics ******** * curl 7.15.5 (i686-pc-linux-gnu) * libcurl/7.15.5 OpenSSL/0.9.8d zlib/1.2.3 libidn/0.6.9 * Features: IDN IPv6 Largefile NTLM SSL libz * Host: iglu * System: Linux iglu 2.6.20-gentoo-r8 #1 PREEMPT Mon May 7 10:17:58 CEST 2007 i686 AMD Athlon(tm) 64 Processor 3500+ AuthenticAMD GNU/Linux * Server SSL: ON * libcurl SSL: ON * libcurl debug: OFF * valgrind: OFF * HTTP IPv6 ON * FTP IPv6 ON * HTTP port: 8990 * FTP port: 8992 * FTP port 2: 8995 * HTTPS port: 8991 * HTTP IPv6 port: 8994 * FTP IPv6 port: 8996 * TFTP port: 8997 * SSL library: OpenSSL * Libtool lib: ON ***************************************** test 253...[FTP IPv6 dir list with EPRT] sh: line 1: 4926 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 2007-07-21 15:32:30.000000000 +0200 +++ log/check-generated 2007-07-21 15:32:30.000000000 +0200 @@ -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 5 seconds. Stops here, gdb doesn't get invoked.
just removed this version.