#29803 [NEW]: Seg fault on count($GLOBALS, COUNT_RECURSIVE);

From: Date: Mon, 23 Aug 2004 20:10:03 +0000
Subject: #29803 [NEW]: Seg fault on count($GLOBALS, COUNT_RECURSIVE);
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-65122@lists.php.net to get a copy of this message
From: jome@php.net Operating system: Linux 2.4.26 PHP version: 5CVS-2004-08-23 (dev) PHP Bug Type: Reproducible crash Bug description: Seg fault on count($GLOBALS, COUNT_RECURSIVE); Description: ------------ Crash on count($GLOBALS, COUNT_RECURSIVE); ./configure --disable-all --enable-cli --enable-debug --enable-memory-limit Reproduce code: --------------- <?php count($GLOBALS, COUNT_RECURSIVE); ?> Expected result: ---------------- Something similar to how var_dump() handles var_dump($GLOBALS). Actual result: -------------- Segmentation fault #0 0x08125815 in zend_hash_num_elements (ht=0x818cf30) at /usr/local/src/php5-200408231830/Zend/zend_hash.c:987 987 IS_CONSISTENT(ht); -- Edit bug report at http://bugs.php.net/?id=29803&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=29803&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=29803&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=29803&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=29803&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=29803&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=29803&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=29803&r=needscript Try newer version: http://bugs.php.net/fix.php?id=29803&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=29803&r=support Expected behavior: http://bugs.php.net/fix.php?id=29803&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=29803&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=29803&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=29803&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=29803&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=29803&r=dst IIS Stability: http://bugs.php.net/fix.php?id=29803&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=29803&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=29803&r=float

« previous php.bugs (#65122) next »