Summary: | net-misc/curl -self tests fail on hardened | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Michal Suchanek <hramrach> |
Component: | Current packages | Assignee: | The Gentoo Linux Hardened Team <hardened> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | dragonheart |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Michal Suchanek
2006-01-06 13:58:45 UTC
curl version 7.15.1 ********* System characteristics ******** * curl 7.15.1 (i686-pc-linux-gnu) * libcurl/7.15.1 GnuTLS/1.4.4 zlib/1.2.3 libidn/0.5.15 * Features: IDN IPv6 Largefile SSL libz * Host: spider * System: Linux spider 2.6.16-hardened-r11 #6 Fri Sep 8 21:57:13 EST 2006 i686 Pentium III (Coppermine) GenuineIntel 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: GnuTLS Confirmed on: curl-7.15.1-r1 curl-7.15.3 curl-7.15.5 curl-7.16.0 (failed once on test 252 but was unable to replicate) USE="ssl ipv6 ldap ares gnutls idn kerberos krb4 test" # emerge --info Portage 2.1.1-r2 (hardened/x86/2.6, gcc-3.4.6, glibc-2.3.6-r4, 2.6.16-hardened-r11 i686) ================================================================= System uname: 2.6.16-hardened-r11 i686 Pentium III (Coppermine) Gentoo Base System version 1.12.6 Last Sync: Fri, 08 Dec 2006 18:20:01 +0000 distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled] app-admin/eselect-compiler: [Not Present] dev-java/java-config: [Not Present] dev-lang/python: 2.3.5, 2.4.3-r4 dev-python/pycrypto: 2.0.1-r5 dev-util/ccache: [Not Present] dev-util/confcache: [Not Present] sys-apps/sandbox: 1.2.17 sys-devel/autoconf: 2.13, 2.60 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2 sys-devel/binutils: 2.16.1-r3 sys-devel/gcc-config: 1.3.13-r4 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.17-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe" Does curl-7.16.0 work for you? Note php has a bug with curl - see bug 157560 (In reply to comment #0) > Portage 2.0.51.22-r3 (default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r2, > 2.6.14-gentoo-r2-src i686) I would suggest that the gcc version is probably the difference. The recommendation has to be to try with gcc-3.4.6-r2 (especially as it seems to be fine with that from dragonheart's tests). Another possibility is that the ipv6 tests (which are what 253 and 255 are) cause curl call something from a shared library that caused the smash. Note that the function reported by the glibc-2.3 stack smash handler is the function that was smashed - the function that did the smashing was one called by the reported function (and so could be in a shared library). The advice remains the same, however - update to gcc-3.4.6-r2, but rebuild the dependencies with it as well. curl-7.15.1 works for me, if you still have this issue after upgrading your gcc (and recompiling curl with that version of gcc) please reopen this bug. |