On Nov 21, 2007 3:26 PM, David Eisner wrote:
> Second question: Is it a bug in mod_perl if referencing an old
> Apache2::RequestRec object segfaults the server?

It's certainly not desired behavior, but it's a tough thing to avoid.
That code is providing access to Apache C structures underneath.
Detecting that the C structures are no longer valid is a problem that
no one has managed to solve so far.

In this case, you're actually lucky that the problem is so noticeable.
People often create closures around CGI objects and then can't figure
out why the parameter values appear to be cached. Dying horribly is
better than that, although a good error message would be better still.

- Perrin