#36084 [NEW]: apache2 segfaults on phpinfo()

From: Date: Thu, 19 Jan 2006 12:09:05 +0000
Subject: #36084 [NEW]: apache2 segfaults on phpinfo()
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-92188@lists.php.net to get a copy of this message
From: clive at darkarts dot co dot za Operating system: FreeBSD PHP version: 5.1.2 PHP Bug Type: Reproducible crash Bug description: apache2 segfaults on phpinfo() Description: ------------ segfault from within apache2, or also if run from the CLI. Reproduce code: --------------- <?php phpinfo(); ?> Expected result: ---------------- The phpinfo output Actual result: -------------- it get's to the 'Apache Environment' section, and within there it gets up to 'SERVER_ADDR' which it displays. tail snippet of html generated: <tr><td class="e">SERVER_SOFTWARE </td><td class="v">Apache/2.2.0 (FreeBSD) mod_ssl/2.2.0 OpenSSL/0.9.7e-p1 DAV/2 PHP/5.1.2 </td></tr> <tr><td class="e">SERVER_NAME </td><td class="v">subzero2 </td></tr> <tr><td class="e">SERVER_ADDR </td><td class="v">192.168.2.15 It then segfaults. apache2 log message: [Thu Jan 19 13:56:48 2006] [notice] child pid 32499 exit signal Abort trap (6) httpd in free(): error: junk pointer, too high to make sense If run from the CLI it also seg faults, here is the tail of the command line output of the same: _ENV["SSH_AUTH_SOCK"] => /tmp/ssh-YxlQmP5Url/agent.32515 _ENV["SHLVL"] => 2 _ENV["PWD"] => /home/users/clive _ENV["OLDPWD"] => /home/users/clive _ENV["_"] => /usr/local/bin/php PHP License This program is free software; you can redistribute it and/or modify it under the terms of the PHP License as published by the PHP Group and included in the distribution in the file: LICENSE This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. If you did not receive a copy of the PHP license, or have any questions about PHP licensing, please contact license@php.net. zsh: segmentation fault (core dumped) php /usr/local/www/apache22/data/index.php -- Edit bug report at http://bugs.php.net/?id=36084&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36084&r=trysnapshot44 Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36084&r=trysnapshot51 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36084&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=36084&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=36084&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=36084&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=36084&r=needscript Try newer version: http://bugs.php.net/fix.php?id=36084&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=36084&r=support Expected behavior: http://bugs.php.net/fix.php?id=36084&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=36084&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=36084&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=36084&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36084&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=36084&r=dst IIS Stability: http://bugs.php.net/fix.php?id=36084&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=36084&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=36084&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=36084&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=36084&r=mysqlcfg

« previous php.bugs (#92188) next »