PHP Seg Faults, How to Trackdown?
| From: | Tim Schaab | Date: | Tue, 30 Mar 2004 19:57:01 +0000 |
| Subject: | PHP Seg Faults, How to Trackdown? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-181861@lists.php.net to get a copy of this message | ||
Greetings,
I need help tracking down a crash in PHP. I have not been able to work out a test case where it will crash reliably, so I have been hesitant to fill out a bug report.
Here's the kit I have running:
PHP4 - Latest Stable Snapshot as of 30/Mar/2004 12:18
Apache - 1.3.29
mod_ssl - 2.8.16
mod_perl - 1.29
Red hat 9 - 2.4.20 Kernel
The problem is when I try to access my web-mail sites, it will crash after a period of time. I have done a number of gdb sessions, but I need some help interpreting the results. You can find the gdb log from a few of the crashes here:
http://madweb.org/errors/Error1.txt
http://madweb.org/errors/Error2.txt
http://madweb.org/errors/Error3.txt
http://madweb.org/errors/Error4.txt
http://madweb.org/errors/Error5.txt
I thought it might be something to do with IMAP since the web-mail pages (IMP/HORDE and SquirrelMail), so I tried different versions of the UW IMAP client, but crashes still took place with both the 2000 and 2002 versions.
When PHP is compiled in debug mode, I got a ton of leak messages in Apache's error log.
I tried to setup a different Apache instance on a different port to use that one for debugging purposes. However, I can not get that on to crash. I have it running on ports 4080 and 4443(SSL) and I can not get it to crash even after pounding and pounding the web-mail sites.
So I have a decent amount of info to work from, not sure what to do next to get the crashes to stop. I am open to any and all suggestions to try and pin this bugger down.
Cheers,
Tim
--
Tim Schaab
http://madweb.org http://madtown.cc
tim@madweb.org tim@madtown.cc
The most exciting phrase to hear in science, the one that heralds new
discoveries, is not "Eureka!" (I found it!) but "That's funny"
-- Isaac Asimov