Re: PHP 4.0 Bug #5615 Updated: SIGSEGV combining PHP/OCI8/SSL
| From: | Oleg Makarenko | Date: | Wed, 23 Aug 2000 10:38:28 +0000 |
| Subject: | Re: PHP 4.0 Bug #5615 Updated: SIGSEGV combining PHP/OCI8/SSL | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-30314@lists.php.net to get a copy of this message | ||
That seems to be related:
>Yes, I know and I use it from 4.0.0RC... the simple
LD_PRELOAD=libpthread.so before
>httpd sometime helps too... but it is very subtle... sometime it helps
sometime it
>make things even worse... All this sounds like a black magic for me... To
make sure
>that linking with libpthread does solve the problem and not only hides it
we need
>to know why exactly apache crashes.
>Oleg
Rasmus Lerdorf wrote:
> If you link your Apache httpd binary against libpthread (verify with ldd
> to make sure you got it right) this problem will go away.
>
> -Rasmus
>
> On Wed, 23 Aug 2000, Oleg Makarenko wrote:
>
> > I see the same behavior... but it is not related to 4.0.2RC2... the
same was
> > true for all php4 versions I have tried...
> > The workaround that works for me is to move AddModule mod_php4.c
somewhat
> > higher in httpd.conf (before mod_ssl)... That bug is believed to be in
> > glibc2.1.3 not in php4... mysql client libs from official MySql rpm
were
> > compiled with threads support and the bug is probably related to
libpthread as
> > I see exactly the same core dump traces with Oracle libs that were
linked with
> > libpthreads too. I am going to try it with glibc2.1.92.
> >
> > Oleg
> >