Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 35140 - dev-util/subversion-0.32.1: OpenSSL internal error with openssl-0.9.7c-r1
Summary: dev-util/subversion-0.32.1: OpenSSL internal error with openssl-0.9.7c-r1
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All All
: High major
Assignee: Paul de Vrieze (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-12-05 07:57 UTC by Philipp Kern
Modified: 2004-01-06 07:55 UTC (History)
0 users

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 Philipp Kern 2003-12-05 07:57:39 UTC
Fri Dec  5 15:19:14 2003 openssl-0.9.7c-r1 has been merged.
Fri Dec  5 15:24:43 2003 db-4.1.25_p1-r3 has been merged.
Fri Dec  5 15:33:44 2003 apache-2.0.48-r1 has been merged.
Fri Dec  5 15:45:44 2003 subversion-0.32.1 has been merged.

phil@o2 ~/0x539-svn/trunk/mgmtdaemon $ svn up
ssl_lib.c(277): OpenSSL internal error, assertion failed: s->sid_ctx_length <= sizeof s->sid_ctx
Aborted

Server is gentoo/apache2-svn/0.32.1/openssl-0.9.7c-r1 (so same in a way) with mod_ssl used (https).

Portage 2.0.49-r15 (default-x86-1.4, gcc-3.2.3, glibc-2.3.2-r1, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 AMD Athlon(tm) XP 2100+
Gentoo Base System version 1.4.3.10p1
ccache version 2.3 [enabled]
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config /usr/kde/3/share/config /usr/X11R6/lib/X11/xkb /usr/kde/3.1/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs sandbox ccache"
GENTOO_MIRRORS="ftp://gentoo.inode.at/source/ http://gentoo.inode.at/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="x86 oss apm avi crypt cups encode foomaticdb gif jpeg libg++ mad mikmod mpeg ncurses nls pdflib png quicktime spell truetype xml2 xmms xv zlib gtkhtml alsa gdbm berkdb slang readline arts aalib bonobo svga tcltk java guile ruby mysql X sdl gpm tcpd pam libwww perl python esd imlib oggvorbis gtk qt motif opengl ldap cdr acl acpi apache2 dvd icc imap jikes moznocompose moznoirc vim-with-x xinerama gnome ssl kde ruby18"
Comment 1 Spider (RETIRED) gentoo-dev 2003-12-05 08:32:33 UTC
you use theese flags:
CFLAGS="-march=athlon-xp -O3 -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -funroll-loops -ffast-math -finline-functions -foptimize-sibling-calls -m3dnow -mmmx"


And expect it to -work- ??  I'm -AMAZED- at you right now.


Rebuild openssl , db, apache, and subversion + required deps with -SANE- CFLAGS, reopen this bug again if it still doesn't work.
Comment 2 Philipp Kern 2003-12-05 08:37:41 UTC
It works FINE on the server. So does EVERY other package on my computer.
I even compiled it there with -fstack-protector
Nice try anyway ;)
I could rebuild it with std cflags yes, but it doesn't seem as the problem to me as on the server everything's just fine (also https usage)

The server's emerge info:

Portage 2.0.49-r18 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.20-gentoo-r8)
=================================================================
System uname: 2.4.20-gentoo-r8 i686 Pentium III (Katmai)
Gentoo Base System version 1.4.3.12
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -ffast-math -finline-functions -foptimize-sibling-calls -mmmx -fstack-protector"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O3 -march=pentium3 -fprefetch-loop-arrays -funroll-loops -pipe -fomit-frame-pointer -frerun-loop-opt -falign-functions=4 -fforce-mem -ffast-math -finline-functions -foptimize-sibling-calls -mmmx -fstack-protector -Wno-deprecated"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://mirrors.sec.informatik.tu-darmstadt.de/gentoo http://212.219.247.14/sites/www.ibiblio.org/gentoo/ http://212.219.247.15/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.de.gentoo.org/gentoo-portage"
USE="acl apache2 berkdb crypt gd gdbm gif imap imlib innodb ipv6 jpeg libwww maildir mbox memlimit motif mysql ncurses nls oss pam pdflib perl png python readline ruby ruby18 slang sse ssl tcpd x86 xml2 xmms zlib"
Comment 3 SpanKY gentoo-dev 2003-12-05 08:55:13 UTC
before anyone is going to attempt to track this down you're going to have to
rebuild those packages with sane CFLAGS (or even just CFLAGS=-pipe)

i dont care if a ton of other packages work, doesnt mean EVERY package works
Comment 4 Spider (RETIRED) gentoo-dev 2003-12-05 09:02:25 UTC
I invalidate all packages where I see -ffast-math and -m* that isn't arch/cpu, its too many variables to even bother with debugging.  -fforce-mem doesn't make me more inclined that anything will work either
Comment 5 Philipp Kern 2003-12-05 09:59:21 UTC
Recompile with CFLAGS="-march=athlon-xp -O3 -pipe" for openssl, db, subversion didn't help.
Comment 6 Philipp Kern 2003-12-12 05:04:18 UTC
Marked as INVALID however.
It runs after some emerges without the server part (so without berkdb).
I can't really reproduce what failed exactly but keeping the bug open wouldn't help ;)
Comment 7 Philipp Kern 2004-01-06 07:55:38 UTC
This seems to be a problem with the neon library.
A re-emerge seems to fix it.