Oleg Makarenko wrote:

>
> Apache core dumps only when AddModule mod_ssl.c comes before AddModule
> mod_php4.c... that is probably a mod_php issue so I'll also try mod_php list.

I have found nothing useful on php site :(

The other workaround I have found is to use LD_PRELOAD=libpthread.so httpd
-DSSL.
With LD_PRELOAD everything works fine again... ?!

It seems like it matters when pthread is loaded (as with LD_PRELOAD and moving
php4 before mod_ssl I effectively force pthreads to be loaded before mod_ssl)...
and it should be loaded (if it should at all) before mod_ssl...

That is very easy to verify... just build php as DSO using
--with-mysql=shared,/usr (assumng you have libmysql.so in /usr/lib)... as
official MySQL rpm comes with pthreads linked in (--enable-thread-safe-client)
you should get the same effect I have with MySQL and Oracle libs. Sure I can
build MySQL statically or without tthreads support but what can I do with Oracle
libs?

so the problem somehow related to pthreads??? Does that make any sense?? It
seems like if I have some module that was linked with pthreads I must place it
before mod_ssl to avoid core dumps .... very strange... unbelievable... can
somebody help?

Oleg



______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to