Hi Ralf/all,
>
> Are you sure it's caused by SSL_SDBM? I think you've a general compiler
> problem, because crt1.o is usually an internal part of the compiler AFAIK.
> When it's really related to SSL_SDBM try to trace down the failure by
running
> the shell scripts with "sh -x".
That was not the original problem... I only used SSL_SDBM because someone
suggested it might help. However, since setting SSLSessionCache to "none"
makes no difference, I don't think SSL_SDBM is going to help anyway.
Here is my original message:
-----------
Hi,
I'm getting segmentation faults running
Apache/1.3.6+PHP/3.0.7+mod_ssl/2.2.8+OpenSSL/0.9.2b on RedHat 5.1 (Linux
2.0.34/Pentium).
I searched through the list archives and this seems to be a very common
problem but with no published solution.
Apache starts up OK, and seems fine, but when browsing I get lots of broken
images and, strangely, can't seem to POST any data. Others have said this
problem afflicts large pages/graphics >20KB, which it probably does, but for
me it just seems to choke on every page.
The browser gives errors like "Connection reset" or "Network error", and I
get the following in my Apache error_log:
[Thu Apr 29 19:30:23 1999] [notice] Apache/1.3.6 (Unix) PHP/3.0.7
mod_ssl/2.2.8 OpenSSL/0.9.2b configured -- resuming normal operations
[Thu Apr 29 19:31:05 1999] [notice] child pid 26455 exit signal Segmentation
fault (11)
[Thu Apr 29 19:39:56 1999] [notice] child pid 26458 exit signal Segmentation
fault (11)
etc
I've just been having a play with OpenSSL and discovered that it is
segfaulting as well -- probably related.
$ ./openssl version
OpenSSL 0.9.2b 22 Mar 1999
Segmentation fault (core dumped)
$ gdb "./openssl version" ./core
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain
conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux"...
version: No such file or directory.
Core was generated by `./openssl version'.
Program terminated with signal 11, Segmentation fault.
find_solib: Can't read pathname for load map: Input/output error
#0 0x4006575a in ?? () from /lib/libc.so.6
(gdb)
BTW I'm not getting a core from Apache. OpenSSL was compiled with:
$ ./config (says it's "Configuring for linux-elf")
$ make
$ make test (some tests fail, as follows)
...
testing X509 conversions
p -> d
make[1]: *** [test_x509] Error 1
make[1]: Leaving directory `/usr/stor/inst/openssl-0.9.2b/test'
make: *** [tests] Error 2
$ make install
Mod_SSL/Apache was compiled with:
$ ./configure --with-apache=../apache
$ cd ../apache
$ SSL_BASE=/usr/stor/inst/openssl-0.9.2b
./configure --prefix=/usr/local/etc/https \
--sysconfdir=/usr/local/etc/https/conf --enable-module=info \
--enable-module=speling --enable-module=rewrite \
--activate-module=src/modules/php3/libphp3.a --enable-module=ssl
$ make
$ make install
I have libc-5.3.12-27 and glibc-2.1-0.990311 if it matters (OpenSSL core
seems to indicate a libc problem?).
All help appreciated! Thanks for your time and patience,
Simon Garner
EXPIO Communications, Ltd.
http://www.expio.co.nz
[EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]