[H-GEN] Apache segfaulting... how to debug

Michael Anthon michael at anthon.net
Wed Jul 9 21:07:19 EDT 2003


[ Humbug *General* list - semi-serious discussions about Humbug and     ]
[ Unix-related topics. Posts from non-subscribed addresses will vanish. ]

Ok, thanks for the inputs gents.  So far I have been able to get an 
strace of a process that is dying 
(http://tamsapp.pwcglobal.com.au/mca/temp/12978.trc) and one that isn't 
(http://tamsapp.pwcglobal.com.au/mca/temp/12977.trc).

These look fairly similar to me apart from the fact that one terminates 
with a SIGSEGV, which I think fits in with my theory that it only 
happens when the child process is terminated by the parent, and then 
only occasionally.  I'm not sure how I came up with that theory but it 
seems to fit. The number of faults I'm getting would otherwise be 
noticed by users I'm sure (or maybe this is being overly kind to my users?)

I'm not really in a position to do hardware tests on this machine at the 
  moment, might get a chance over the weekend but I doubt it.

Following David's suggestions, I've poked around a bit.  Neither apache 
or the apache php module is linked against pthreads, however, the oci8 
php module IS linked against it.  Is that likely to cause a problem?  I 
might try rebuilding apache and php to see if I can get then linked 
against libpthread as well.

Cheers,
Michael


--
* This is list (humbug) general handled by majordomo at lists.humbug.org.au .
* Postings to this list are only accepted from subscribed addresses of
* lists 'general' or 'general-post'.  See http://www.humbug.org.au/



More information about the General mailing list