On Sat, 9 Jan 1999, Ralf S. Engelschall wrote:
>
> As Jan Wedekind <[EMAIL PROTECTED]> and others already discovered for
> mod_ssl, SSLeay and OpenSSL dumps core on some platforms when used under a
> Dynamic Shared Object (DSO) situation. For instance when you build
[...]
> cause the segfaults on dereferencing. It was clear that this isn't a bug in
> SSLeay/OpenSSL, because the same code works fine on other platforms, of
> course.
Well i'm not shure.
[...]
> my Solaris 2.6 horrible crashes without PIC in OpenSSL. So, I've just added
> "-fPIC" to the solaris-sparc-gcc line in OpenSSL's Configure script,
> recompiled my libssl.so (that's mod_ssl's DSO, not the ssl library of OpenSSL)
> with the now PIC-aware libssl.a (that's OpenSSL's ssl library) and BINGO: All
> works fine. No more core dumps on new SSL connections.
Hmm, not 100% fine. I added the -fPIC and recompiled the whole stuff.
Now, when mod_ssl is the only DSO-module apart from apache's
"standard"-modules, it works. But when i add more DSO's (mod_perl,
PHP3 or mod_jserv) it still segfaults like before. Tomorrow, i will
rebuild it with -g and run it under gdb.
System is Linux 2.0.36, apache-config like in my last mail.
Ciao
-Fritz
--
Fritz Elfert phone: +49 931 281122
Wuerzburg/Germany email: [EMAIL PROTECTED]
---------------------------------------------------------------------------
______________________________________________________________________
OpenSSL Project http://www.openssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]