Re: mod_perl, SVN::Core-related segfault condition

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

From: Dorian Taylor
Subject: Re: mod_perl, SVN::Core-related segfault condition
Date: 20:40 on 23 Nov 2004
oops, sorry, was in the wrong mutt window.

> >what exactly is required from mod_perl in the preflight config
> >stage? does it basically just `use' every preloaded module in the
> >conf to see if it can?
 
> I'm not sure what do you ask. I meant apr design problem, not modperl's 
> one. mod_perl does not init apr, httpd does.

ah, gotcha.
 
> BTW, I think you may have the same problem with mod_cgi. I'm not sure 
> whether apr_terminate is called on child process shutdown.

interesting, i'll look.

> OK, so post that XS module that reproduces the problem and I'll see if 
> something can be done.

attached. you'll need to supply LIBS and INC to the Makefile.PL.
 
> It depends on how it is implemented. The fix should be most likely in the 
> SVN module. It should detect that it's running under Apache or APR 
> environment and in which case not run the shutdown of apr environment. And 
> this solution will be transparent to mod_perl.

i guess anything that accesses apr directly is affected. SVN::Core
should probably really use APR::Pool anyway. i'll discuss it with the author.

# httpd.conf
PerlLoadModule APR::CrashMe

        -- 
        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_perl, SVN::Core-related segfault condition
Dorian Taylor 19:58 on 22 Nov 2004

Re: mod_perl, SVN::Core-related segfault condition
Dorian Taylor 19:51 on 23 Nov 2004

Re: mod_perl, SVN::Core-related segfault condition
Dorian Taylor 20:40 on 23 Nov 2004

Re: mod_perl, SVN::Core-related segfault condition
Dorian Taylor 20:41 on 23 Nov 2004

Re: mod_perl, SVN::Core-related segfault condition
Dorian Taylor 22:08 on 23 Nov 2004

Re: mod_perl, SVN::Core-related segfault condition
Dorian Taylor 17:31 on 24 Nov 2004

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