#18258 [Opn->NoF]: Gettting frequent Seg Faults on PHP scripts

From: Date: Mon, 30 Sep 2002 03:30:26 +0000
Subject: #18258 [Opn->NoF]: Gettting frequent Seg Faults on PHP scripts
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-20740@lists.php.net to get a copy of this message
ID: 18258 Updated by: iliaa@php.net Reported By: tauren@servlets.net -Status: Open +Status: No Feedback Bug Type: Reproducible crash Operating System: Red Hat 6.2 PHP Version: 4.2.1 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip Previous Comments: ------------------------------------------------------------------------ [2002-07-17 16:20:54] tauren@servlets.net I'm going to try using the latest snapshot as suggested in bug #18044. However, the bug I'm dealing with happens almost immediately after starting apache. Unfortunately, I have still not been able to get another backtrace. Things just don't seem to be running the same within gdb. I can't get any pages to serve when it is running in gdb. I don't know if the problem is cauase when sessions are used or not. I am providing Apache as a hosting provider. It is our customers who's scripts are running on the server. But I would venture to guess that sessions are most likely in use. Lastly, it does seem to happen whenever I hit a test page that outputs phpinfo(). Thanks! Tauren ------------------------------------------------------------------------ [2002-07-17 11:38:27] david+php.net@blue-labs.org That would be bug 18044 that I posted on. ------------------------------------------------------------------------ [2002-07-17 11:35:42] david+php.net@blue-labs.org You'll have to ignore sniper@php.net, he|it|whatever seems to ask for backtraces regardless of their already being posted. I have a similar problem but I've narrowed it down to sessions. <?php session_start(); ?> This code is sufficient to cause a segfault, I just added my two cents to another bug, I'll fetch that in a moment. Are you by chance using sessions? ------------------------------------------------------------------------ [2002-07-12 03:56:32] alan_k@php.net You mentioned that you do not get segfaults on the phpinfo page anymore (which is where the last gdb back trace indicated you did). So the last backtrace is not usefull anymore.. - can you run the site again in gdb, apache -X etc. and try and make it segfault. you may also like to try arvins rpms for redhat 6.2? http://rpms.arvin.dk/php/rh62/i586/ ------------------------------------------------------------------------ [2002-07-12 03:44:20] tauren@servlets.net Hi sniper@php.net, Thanks for the response. You asked for a backtrace in your message even though I have already submitted several of them. Are the ones I've submitted not useful? What more do you suggest I do? Tauren ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at http://bugs.php.net/18258 -- Edit this bug report at http://bugs.php.net/?id=18258&edit=1

« previous php.bugs (#20740) next »