Comment 7 for bug 44019

Revision history for this message
Gary Coady (garycoady) wrote : Re: [Bug 44019] Re: Apache segfaults on more than 50% of requests when running mod_perl2 application on Dell Xeon servers

Robin Smidsrød wrote:
> During the PerlTrace all I noticed these lines relating to localization of variables (I have changed all identificators and hostnames/IPs, but it shouldn't really matter).
>
> modperl_env_magic_set_all: [4741/0x8185958] localizing: SCRIPT_NAME => /object.pl

This definitely looks like something you're using is localizing the
environment. I'm attaching a patch, can you try it out?
You can apply the patch with
patch -p1 < mod_perl_r357236.patch

>> Otherwise, there's another known reason for a crash in this area: if
>> your $r object is a closure, the code may fail to work, and crash.
>
> Could you explain this problem a bit more in detail? I'm uncertain if I'm affected by this.

No, it's doubtful then - you would have to go out of your way to do this
since it causes crashes :-)