On Mon, Jan 11, 1999, Fritz Elfert wrote:
> 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.
Yes, you're right. I've tried it initally just with mod_ssl as a DSO. Now
I've tried it again with additional DSOs and it now segfaults inside OpenSSL
for me again, too. Very strange situation...
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]