#37089 [NEW]: Segmentation Fault on array_pop()
| From: | info at mgeiger dot de | Date: | Sat, 15 Apr 2006 07:05:33 +0000 |
| Subject: | #37089 [NEW]: Segmentation Fault on array_pop() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-95813@lists.php.net to get a copy of this message | ||
From: info at mgeiger dot de
Operating system: Linux
PHP version: 5.1.2
PHP Bug Type: Reproducible crash
Bug description: Segmentation Fault on array_pop()
Description:
------------
The command line php engine creates a segmentation fault when using
array_pop(). The Apache module doesn't have this problem.
Reproduce code:
---------------
<?
$ar = array (345, 567);
var_dump ($ar);
$v = array_pop ($ar);
var_dump ($v);
?>
Actual result:
--------------
# /usr/local/php5/bin/php fehler.php
array(2) {
[0]=>
int(345)
[1]=>
int(567)
}
Segmentation fault
--
Edit bug report at http://bugs.php.net/?id=37089&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37089&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=37089&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37089&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=37089&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=37089&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=37089&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=37089&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=37089&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=37089&r=support
Expected behavior: http://bugs.php.net/fix.php?id=37089&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=37089&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=37089&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=37089&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37089&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=37089&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=37089&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=37089&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=37089&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=37089&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=37089&r=mysqlcfg