You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by "Philippe M. Chiasson" <go...@ectoplasm.org> on 2007/12/03 08:20:38 UTC
Re: [mp1] PerlFreshRestart, perl_reload_inc, segmentation fault (patch)
Michael Rendell wrote:
> Subject: [mp1] PerlFreshRestart, perl_reload_inc, segmentation fault (patch)
>
> When using mod_perl-1.30 (with perl 5.8.5, apache 1.3.37)
> with "PerlFreshRestart On" (yes, dangerous), httpd gets a segmentation
> fault.
Yup, verified this one.
> Using valgrind, discovered that part of the problem is related
> to the way memory is used in perl_reload_inc() (src/modules/perl/perl_util.c):
>
> [...]
>
> Changing the ap_table_setn() to ap_table_set() fixes this particular
> problem.
>
> Hope this is useful,
Very much so! Thanks a lot.
Committed revision 600439.
--
Philippe M. Chiasson GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/ m/gozer\@(apache|cpan|ectoplasm)\.org/