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
then just set / unset your custom debug levels. caller(1) helps
too. but you really need to build some user-defined debug logic into
your app.
// Jonathan Vanasco
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| FindMeOn.com - The cure for Multiple Web Personality Disorder
| Web Identity Management and 3D Social Networking
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -
| RoadSound.com - Tools For Bands, Stuff For Fans
| Collaborative Online Management And Syndication Tools
| - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - -