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) Thanks! ------------------------------------------------------------------------ Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5 http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/
signature.asc
Description: OpenPGP digital signature