I want to test my localhost maschine with ssl but i always get an segault # ab2-ssl https://localhost/ This is ApacheBench, Version 2.0.40-dev <$Revision: 1.121.2.10 $> apache-2.0 Copyright (c) 1996 Adam Twiss, Zeus Technology Ltd, http://www.zeustech.net/ Copyright (c) 1998-2002 The Apache Software Foundation, http://www.apache.org/ Benchmarking localhost (be patient)...Segmentation fault Reproducible: Always Steps to Reproduce: 1. ab2-ssl https://localhost/ 2. Segfault Actual Results: i reemerged apache but nothing changed # emerge info Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.3.3, glibc-2.3.3.20040420-r0, 2.6.7-gentoo-r9) ================================================================= System uname: 2.6.7-gentoo-r9 i686 AMD Athlon(tm) XP 2400+ Gentoo Base System version 1.4.16 ccache version 2.3 [enabled] Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.3 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" 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/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -O2 -pipe -fomit-frame-pointer" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="ftp://update.server4free.de/gentoo ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ ftp://ftp.tu-clausthal.de/pub/linux/gentoo/ ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://update.intergenia.de/gentoo-portage" USE="apache2 apm arts avi berkdb crypt cups curl doc encode firebird flash foomaticdb gd gdbm gif gpm gtk2 imap imlib ipv6 java javascript jpeg ldap libg++ libwww mad mcal mikmod mpeg mysql ncurses nls odbc oggvorbis opengl oss pam pdflib pear-db perl png postgres postgrey python quicktime readline sdl slang spell sqlite ssl tcpd tiff truetype vhosts wmf x86 xml2 xmms xv zlib"
Can you provide an strace? thanks
Created attachment 37348 [details] Strace Log for ab2-ssl https://localhost/ Here my Stracelog for ab2-ssl
I am able to reproduce this on a current apache (2.0.54-r12), however this isn't something that is specific to Gentoo. I did some research, and it looks like there are many issues with how SSL is implemented in ab. The source even lists the SSL support as "_experimental/rudimentary_ SSL support" Resolving UPSTREAM.
*** Bug 176636 has been marked as a duplicate of this bug. ***
*** Bug 187377 has been marked as a duplicate of this bug. ***