Bug #14161 Updated: segfault after strange code
| From: | sander@php.net | Date: | Sat, 26 Jan 2002 10:34:31 +0000 |
| Subject: | Bug #14161 Updated: segfault after strange code | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-78174@lists.php.net to get a copy of this message | ||
ID: 14161
Updated by: sander
Reported By: hegyvari@ardents.hu
Old Status: Feedback
Status: Open
Bug Type: Scripting Engine problem
Operating System: Redhat 6.2
PHP Version: 4.0.6
New Comment:
Reopened.
Previous Comments:
------------------------------------------------------------------------
[2002-01-05 16:49:27] lobbin@php.net
Any updates on this?
------------------------------------------------------------------------
[2001-12-14 14:06:38] mfischer@php.net
As I said, it doesn't crash but it leaks:
mfischer@ficken:~/src/php/bugtest$ php -f 14161.php
end.
./zend_execute.c(1962) : Freeing 0x082E0B64 (3 bytes),
script=14161.php
zend_variables.c(106) : Actual location (location was relayed)
mfischer@ficken:~/src/php/bugtest$ cat 14161.php
<?
#$str='1,2,3,4,5,6,7,8,9';
$str = '';
echo $str[0][NO];
echo "end.";
?>
mfischer@ficken:~/src/php/bugtest$ php -f 14161.php
end.
./zend_execute.c(1962) : Freeing 0x082E0B64 (3 bytes),
script=14161.php
zend_variables.c(106) : Actual location (location was relayed)
------------------------------------------------------------------------
[2001-12-14 13:27:56] yohgaki@php.net
It does not crash with 4.1.0 CVS.
Is there something special to make PHP crash?
Could you try 4.1.0?
------------------------------------------------------------------------
[2001-11-21 10:18:32] hegyvari@ardents.hu
It works here, is that dot at the end of php3 really there?
The configuration is PHP4.0.6 compiled with:
'./configure' '--with-oci8'
'--with-apache=/coca/install/apache_1.3.22/' '--enable-sigchild'
'--enable-track-vars' '--with-mysql' '--with-pgsql=/usr/local/pgsql'
------------------------------------------------------------------------
[2001-11-21 10:18:28] mfischer@php.net
Reproduced with 4.0.6 (crash) and reported memory leak with current
CVS:
mfischer@debian:~/src/php/bugtest$ php -f 14161.php
end../zend_execute.c(1962) : Freeing 0x082FC3E4 (3 bytes),
script=14161.php
zend_variables.c(106) : Actual location (location was relayed)
Last leak repeated 6 times
Reclassifying this as a ZE problem.
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/?id=14161
Edit this bug report at http://bugs.php.net/?id=14161&edit=1