perl-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Philippe M. Chiasson" <>
Subject Re: [PATCH]Re: segfault analysis
Date Mon, 14 May 2007 21:46:35 GMT
Torsten Foertsch wrote:
> On Sunday 06 May 2007 19:11, Torsten Foertsch wrote:
>> I am in the middle of the analysis of a segfault. The segfault happens in a
>> $r->push_handlers(PerlFixupHandler=>sub{}). Unfortunately it happens not
>> for every request but after 13. Finally, I think I have tracked it down to
>> something to talk about.
> The attached patch fixes that. The problem was that with an already 
> initialized rcfg (ravp && *ravp == true) but no handler configured in dcfg a

> pointer allocated from r->pool was saved in dcfg.
> That happens if there is no handler configured at startup time but more than 
> one for the same phase at request time.

Committed revision 537990.
Committed revision 537992. (re-indent)


Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5       m/gozer\@(apache|cpan|ectoplasm)\.org/

View raw message