Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135863 - net-misc/neon-0.24.7 segfault during maketest
Summary: net-misc/neon-0.24.7 segfault during maketest
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Apache Team - Bugzilla Reports
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-07 00:07 UTC by Ylosar Goer
Modified: 2007-12-28 15:14 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ylosar Goer 2006-06-07 00:07:07 UTC
Emerging neon with the test feature leads to a reproducible segfault at ssl test 19. It happens on a AthlonXP. It does not happen on a Pentium-m.

-------------------------------------------------------
Output:

-> running `ssl':
 0. init.................. FAIL (could not load client.p12)
 1. load_server_certs..... pass
 2. trust_default_ca...... pass
 3. cert_fingerprint...... pass
 4. cert_identities....... pass
 5. cert_validity......... pass
 6. cert_compare.......... pass
 7. dname_compare......... pass
 8. dname_readable........ pass
 9. import_export......... pass
10. read_write............ pass
11. load_client_cert...... FAIL (could not load client.p12)
12. simple................ pass
13. simple_sslv2.......... pass
14. simple_eof............ pass
15. empty_truncated_eof... pass
16. fail_not_ssl.......... pass
17. cache_cert............ pass
18. client_cert_pkcs12.... SKIPPED
19. ccert_unencrypted..... FAILED - segmentation fault.
./run.sh: line 12: 26026 Segmentation fault      ${HARNESS} ./$f ${SRCDIR}
FAILURE
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/neon-0.24.7/work/neon-0.24.7/test'
make: *** [check] Error 2

-------------------------------------------------------
USE flags:

# emerge -vp =net-misc/neon-0.24.7
[ebuild  N    ] net-misc/neon-0.24.7  +expat +ssl +zlib 0 kB 

-------------------------------------------------------
emerge info, failing box:

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 AMD Athlon(tm) XP 1800+
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"CXXFLAGS="-march=athlon-xp -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv user
sandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://distfiles
.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="en_US.ISO8859-15"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"PORTAGE_TMPDIR="/var/tmp"PORTDIR="/usr/portage"PORTDIR_OVERLAY="/usr/local/portage"SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 apache2 apm arts avi bash-completion berkdb bitmap-fonts bzip2 caps cli crypt cups curl dri eds emboss encode enscri
pt esd expat fam foomaticdb fortran gd gdbm gif gmp gstreamer gtk2 idn imagemagick imlib isdnlog jpeg libg++ libwww mad maild
ir mikmod mp3 mpeg ncurses nls nptl ogg opengl oss pam pcre pdflib php pic png pppd python quicktime readline recode reflecti
on ruby sasl session spl sqlite ssl tcpd test threads tiff truetype truetype-fonts type1-fonts udev vhosts vorbis xml xml2 xm
ms xorg xv zlib video_cards_nvidia userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS


-------------------------------------------------------
emerge info, not-failing box:

Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r7 i686)
=================================================================
System uname: 2.6.16-gentoo-r7 i686 Intel(R) Pentium(R) M processor 1700MHz
Gentoo Base System version 1.6.14
distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=pentium-m -Os -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/X11/xkb"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=pentium-m -Os -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig buildpkg ccache collision-protect distcc distlocks fixpackages sandbox sfperms strict test userpriv usersandbox"
GENTOO_MIRRORS="http://mirror.ovh.net/gentoo-distfiles/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo/"
LANG="en_US.ISO8859-15"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://bee/gentoo-portage"
USE="x86 X a52 aac acpi alsa apache2 asf audiofile avi bash-completion berkdb bitmap-fonts bzip2 cairo caps cddb cdr cjk cli crypt cups curl dri dv dvd dvdread emboss encode exif expat fam ffmpeg flac foomaticdb fortran freetype gd gdbm gif glut gmp gnutls gstreamer gtk gtk2 gtkhtml idn imagemagick imap imlib isdnlog java javamail jpeg lcms libg++ libwww lzo mad maildir matroska mikmod mmx mmxext mng mp3 mpeg mysql ncurses network nls nptl ogg oggvorbis opengl pam pcmcia pcre perl php pic png postgres pppd python quicktime readline real reflection ruby sdl session sndfile snmp speex spl sqlite sse sse2 ssl svg tcltk tcpd test tga theora threads tiff truetype truetype-fonts type1-fonts udev usb v4l v4l2 vorbis win32codecs wma wmf wxwindows xinerama xml xml2 xorg xv xvid zlib video_cards_radeon userland_GNU kernel_linux elibc_glibc"
Unset:  CTARGET, INSTALL_MASK, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS
Comment 1 Paolo Pedroni 2006-06-22 02:14:22 UTC
<AOL> Me too! </AOL>

17. cache_cert............ pass
18. client_cert_pkcs12.... SKIPPED
19. ccert_unencrypted..... FAILED - segmentation fault.
./run.sh: line 12: 10427 Segmentation fault      ${HARNESS} ./$f ${SRCDIR}
FAILURE
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/portage/neon-0.24.7/work/neon-0.24.7/test'
make: *** [check] Error 2

!!! ERROR: net-misc/neon-0.24.7 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_test
  ebuild.sh, line 987:   Called src_test
  ebuild.sh, line 618:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.

emerge --info:
Portage 2.1 (default-linux/amd64/2006.0, gcc-3.4.6, glibc-2.3.6-r3, 2.6.16-gentoo-r9 x86_64)
=================================================================
System uname: 2.6.16-gentoo-r9 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Gentoo Base System version 1.12.1
distcc 2.18.3 x86_64-pc-linux-gnu (protocols 1 and 2) (default port 3632) [enabled]
ccache version 2.3 [enabled]
dev-lang/python:     2.4.2
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     2.3
dev-util/confcache:  0.4.2-r1
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1-r2
sys-devel/gcc-config: 1.3.13-r2
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-march=k8 -O3 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig ccache collision-protect confcache distcc distlocks fixpackages metadata-transfer sandbox sfperms strict test userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://pandemonium.tiscali.de/pub/gentoo/ http://gentoo.ngi.it http://gentoo.intergenia.de http://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://linuv.uv.es/mirror/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/"
LANG="it_IT.UTF-8"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
MAKEOPTS="-j8"
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'"
PORTAGE_TMPDIR="/var/tmp/portage"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="amd64 X Xaw3d aalib acpi alsa arts audiofile avi bash-completion berkdb bitmap-fonts bzip2 caps cdparanoia cdr cli crypt cups curl dbus dga dio dri dvd dvdr dvdread emboss emul-linux-x86 encode exif expat fbcon ffmpeg fftw flac foomaticdb fortran ftp gcj gd ggi gif glut gmp gnutls gphoto2 gpm gstreamer gtk2 hal iconv idn ieee1394 imagemagick isdnlog java javascript jikes jpeg jpeg2k kde kdeenablefinal lcms libcaca lm_sensors lzw lzw-tiff mad maildir matroska memlimit mime mmap mng motif mozilla mp3 mpeg mpi ncurses nls nptl nsplugin offensive ogg openal opengl oss pam pcre pdf pdflib perl png posix ppds pppd python qt quicktime readline recode reflection samba sasl sdl session sharedmem shorten sndfile sockets sox speex spell spl ssl svg symlink sysvipc tcltk tcpd threads tidy tiff truetype truetype-fonts type1-fonts unicode usb vcd vorbis wmf xine xml xml2 xorg xosd xpm xv xvid zlib elibc_glibc kernel_linux linguas_it userland_GNU video_cards_radeon"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 2 Paolo Pedroni 2006-06-22 02:19:53 UTC
(In reply to comment #0)
> Emerging neon with the test feature leads to a reproducible segfault at ssl
> test 19. It happens on a AthlonXP. It does not happen on a Pentium-m.

Which version of OpenSSL do you have on the two machines? Is it the same?
Comment 3 Ylosar Goer 2006-06-22 03:01:14 UTC
(In reply to comment #2)
> Which version of OpenSSL do you have on the two machines? Is it the same?

It is the same: dev-libs/openssl-0.9.7i  USE="test zlib -bindist -emacs"
Comment 4 Paolo Pedroni 2006-06-22 04:40:29 UTC
(In reply to comment #3)

> It is the same: dev-libs/openssl-0.9.7i  USE="test zlib -bindist -emacs"

On mine it's openssl-0.9.7j. So it's not openssl's fault.

By the way neon-0.25-3 and neon-0.25-5 work even less: they don't even start the testsuite exiting with a fault in libexpat.so.0 (even with USE="-expat"):

cat ../NEWS > corrupt2.gz
touch empty.gz
cat ../NEWS > random.txt
./uri-tests: error while loading shared libraries: libexpat.so.0: failed to map segment from shared object: Cannot allocate memory
FAILURE
make[1]: *** [check] Error 1
make[1]: Leaving directory `/var/tmp/portage/neon-0.25.5/work/neon-0.25.5/test'
make: *** [check] Error 2

!!! ERROR: net-misc/neon-0.25.5 failed.
Call stack:
  ebuild.sh, line 1539:   Called dyn_test
  ebuild.sh, line 987:   Called src_test
  ebuild.sh, line 618:   Called die

!!! Make check failed. See above for details.
!!! If you need support, post the topmost build error, and the call stack if relevant.
Comment 5 Paolo Pedroni 2006-06-25 14:20:18 UTC
Anyone caring about this? I can't emerge subversion with http support without this.
Comment 6 Paul de Vrieze (RETIRED) gentoo-dev 2006-06-30 04:51:55 UTC
It seems that something is wrong on your system. Try remerging gcc, binutils and perl.
Comment 7 Ylosar Goer 2006-06-30 18:00:02 UTC
(In reply to comment #6)
> It seems that something is wrong on your system. Try remerging gcc, binutils
> and perl.

perl ?

Anyway, i am not sure what happened but it seems that re-merging openssl-0.9.7j (i upgraded from 0-9-7i some time ago with no positive effect on neon) solved my problem.

i tried compiling openssl with -O2 CFLAG instead of -Os and neon merged without error, so i went back to -Os but was unable to reproduce the segfault after that. Strange.

Should i remerge gcc/libtool anyway ?

Comment 8 Paolo Pedroni 2006-07-03 06:56:28 UTC
(In reply to comment #7)
> (In reply to comment #6)
> > It seems that something is wrong on your system. Try remerging gcc, binutils
> > and perl.
> 
> perl ?
> 
> Anyway, i am not sure what happened but it seems that re-merging openssl-0.9.7j
> (i upgraded from 0-9-7i some time ago with no positive effect on neon) solved
> my problem.

That did the trick for me as well.

Comment 9 Steve Arnold archtester gentoo-dev 2006-07-04 23:09:59 UTC
Still not working after rebuilding pretty much all of the above, as well as trying various build uptions (eg, static, gnutls instead of ssl, etc).  No joy...
Comment 10 Benedikt Böhm (RETIRED) gentoo-dev 2007-12-28 15:14:49 UTC
neon-0.24.7 is gone, please reopen if it still doesn't work with 0.26.4