Bug#711213: libapache2-mod-perl2: occasional core dumps after the test suite

Niko Tyni ntyni at debian.org
Sat Jun 15 10:53:31 UTC 2013


On Fri, Jun 14, 2013 at 10:24:07AM +0200, Stefan Fritsch wrote:
 
> The problem is that MP_CMD_SRV_DECLARE2(authz_provider) and 
> MP_CMD_SRV_DECLARE2(authn_provider) register the cleanup against 
> parms->server->process->pool which lives longer than the pconf pool 
> and therefore the load time of the mod-perl shared object. It should 
> probably use parms->pool (which is pconf) instead.

> Now, if there is a good reason that the above functions use server-
> >process->pool, we need to figure out a way to fix that. But the 
> original commit of that code has no comment with respect to the pool 
> requirement. Therefore I think it may be simply a bug and you should 
> test it with a cleanup against pconf, first.

Thanks! The attached patch indeed fixes the problem for me without
introducing any new regressions in the test suite.

@pkg-perl: I'm away from my keys ATM; could somebody please upload
this? The ia64 problem (#711167) is still a mystery but I have high
hopes this at least fixes the armel buildd crashes.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Make-sure-authn-and-authz-providers-are-cleaned-up-i.patch
Type: text/x-diff
Size: 1425 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-perl-maintainers/attachments/20130615/cf510b74/attachment-0001.patch>


More information about the pkg-perl-maintainers mailing list