From:             [EMAIL PROTECTED]
Operating system: Unix
PHP version:      4.1.2
PHP Bug Type:     Performance problem
Bug description:  phpinfo() makes apache segfault

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 bug report at http://bugs.php.net/?id=16129&edit=1
-- 
Fixed in CVS:        http://bugs.php.net/fix.php?id=16129&r=fixedcvs
Fixed in release:    http://bugs.php.net/fix.php?id=16129&r=alreadyfixed
Need backtrace:      http://bugs.php.net/fix.php?id=16129&r=needtrace
Try newer version:   http://bugs.php.net/fix.php?id=16129&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=16129&r=support
Expected behavior:   http://bugs.php.net/fix.php?id=16129&r=notwrong
Not enough info:     http://bugs.php.net/fix.php?id=16129&r=notenoughinfo
Submitted twice:     http://bugs.php.net/fix.php?id=16129&r=submittedtwice

Reply via email to