Bug #16129 Updated: phpinfo() makes apache segfault
| From: | sniper@php.net | Date: | Fri, 28 Jun 2002 01:19:03 +0000 |
| Subject: | Bug #16129 Updated: phpinfo() makes apache segfault | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-12291@lists.php.net to get a copy of this message | ||
ID: 16129
Updated by: sniper@php.net
Reported By: veins@skreel.org
-Status: Open
+Status: Closed
Bug Type: Reproducible crash
Operating System: Unix
PHP Version: 4.1.2
New Comment:
Well, I can't reproduce this (never have) so I'm closing it.
Feel free to reopen if you get this with 4.2.1 or any future
release.
And if this happens, try produce a gdb backtrace. Instructions how to
do it can be found here:
http://bugs.php.net/bugs-generating-backtrace.php
Previous Comments:
------------------------------------------------------------------------
[2002-06-27 20:35:02] veins@skreel.org
I can't test it because i don't have a test box right now and don't
feel like installing a snapshot on the prod.
sorry
------------------------------------------------------------------------
[2002-06-27 20:06:53] sniper@php.net
Please try this snapshot:
http://snaps.php.net/php4-latest.tar.gz
------------------------------------------------------------------------
[2002-03-17 19:52:59] veins@skreel.org
phpinfo() makes apache child process segfault on my OpenBSD-3.0-stable
system, people I know experienced the same on Linux and FreeBSD.
script:
<?
phpinfo();
?>
Some errors that occur due to that (I just put each entry once, but
most of them appear hundreds of times in my logs):
[Sat Mar 9 10:28:34 2002] [notice] child pid 16046 exit signal
Segmentation fault (11)
httpd in free(): warning: recursive call.
httpd in malloc(): warning: recursive call.
FATAL: emalloc(): Unable to allocate 10 bytes
FATAL: emalloc(): Unable to allocate 12 bytes
httpd in realloc(): warning: recursive call.
Ever since I disabled the use of phpinfo() no more of these errors seem
to appear, if I re-enable it, they appear again. I don't know exactly
when the free, malloc, emalloc and realloc problems happen, however the
segmentation fault happens as I send the request for the script.
my actual configuration is visible at:
http://www.skreel.org/info.php
(this is a cached page so it won't segfault :p)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16129&edit=1