Re: mod_perl2 crash with php loaded.

[prev] [thread] [next] [Date index for 2004/11/23]

From: Stas Bekman
Subject: Re: mod_perl2 crash with php loaded.
Date: 16:49 on 23 Nov 2004
Dan Sully wrote:
> So this just started happening, and I'm trying to track down why.
> 
> I recently upgraded to BerkelyDB 4.3.21, and now mod_perl (1.99_17 or SVN
> Trunk) and PHP (4.3.9 or 5.0.2) don't like to play together anymore. I can
> have one or the other loaded, but not both. Downgrading to the previous
> version of BDB doesn't fix this. Core dumps every time - here's the 
> backtrace:
> 
> #0  0xb773c30b in Perl_gv_fetchmeth () from 
> /pkg/httpd-2.0.52/modules/mod_perl.so
> (gdb) bt
> #0  0xb773c30b in Perl_gv_fetchmeth () from 
> /pkg/httpd-2.0.52/modules/mod_perl.so
> #1  0xb773c7bf in Perl_gv_fetchmeth_autoload () from 
> /pkg/httpd-2.0.52/modules/mod_perl.so
> #2  0xb773ee27 in Perl_Gv_AMupdate () from 
> /pkg/httpd-2.0.52/modules/mod_perl.so
> #3  0xb773f195 in Perl_gv_handler () from 
> /pkg/httpd-2.0.52/modules/mod_perl.so
> #4  0x00000063 in ?? ()
> (gdb) q
> 
> I've tried compiling with MP_DEBUG=1 to get line numbers or more info, 
> but no luck there.
> 
> perl is 5.8.3, no threads. Apache 2.0.52 prefork. Linux based system.

To submit problems reports please always following these guidelines:
http://perl.apache.org/bugs/

Most likely php and perl are linked against different -ldb versions and 
that's why you have the problem. recompile both with the same library and 
chances are that this will resolve your problem.

        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html

(message missing)

mod_perl2 crash with php loaded.
Dan Sully 16:36 on 23 Nov 2004

Re: mod_perl2 crash with php loaded.
Stas Bekman 16:49 on 23 Nov 2004

Re: mod_perl2 crash with php loaded.
Dan Sully 17:03 on 23 Nov 2004

Re: mod_perl2 crash with php loaded.
Stas Bekman 17:06 on 23 Nov 2004

Re: mod_perl2 crash with php loaded.
Dan Sully 17:08 on 23 Nov 2004

Re: mod_perl2 crash with php loaded.
Stas Bekman 17:13 on 23 Nov 2004

Re: mod_perl2 crash with php loaded.
Dan Sully 17:22 on 23 Nov 2004

Re: mod_perl2 crash with php loaded.
Stas Bekman 17:39 on 23 Nov 2004

Generated at 11:26 on 21 Dec 2004 by mariachi v0.52