[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Troubleshooting Apache2 Segfaults


On 1/21/07, Jonathan Vanasco <suppressed> wrote:

On Jan 21, 2007, at 12:05 PM, Joel Gwynn wrote:

> I've got a mod_perl application which segfaults on every 10th or so
> requests.  Here's what I get in my error log:
>
> [notice] child pid xxxx exit signal Segmentation fault (11)
>
> How would I go about troubleshooting this?


toss a bunch of
        DEBUG_USER_LOGIC && print STDERR "\nHere i am"

lines where  you think the issue might happen.

also have stuff like:
        DEBUG_USER_LOGIC && debug_function( "message here" )
lines around your functions too


Is DEBUG_USER_LOGIC shorthand for something?


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.