ID: 27342
Updated by: rrichards@php.net
Reported By: nlopess@php.net
-Status: Feedback
+Status: Closed
Bug Type: Zend Engine 2 problem
Operating System: linux x86_64
PHP Version: 5CVS-2004-03-15
New Comment:
Works fine now against latest cvs
Previous Comments:
------------------------------------------------------------------------
[2004-04-07 11:17:44] sniper@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php5-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5-win32-latest.zip
------------------------------------------------------------------------
[2004-03-18 17:10:16] rrichards@php.net
Within the while loop, args gets totally hosed on the line:
args -= *(ulong*)args; (line 1566 zend_builtin_functions.c)
while (--args >= EG(argument_stack).elements) {
if (*args--) {
break;
}
args -= *(ulong*)args;
....
EG(argument_stack).element = (void **) 0x2a9556d960
args before offending line = (void **) 0x2a9556d958
args after = (void **) 0x2d2d2d5a9556c958
Totally messes up the while test and segfaults
------------------------------------------------------------------------
[2004-03-15 10:32:08] nlopess@php.net
I'm using a Pentium 4 and Win XP.
------------------------------------------------------------------------
[2004-03-15 08:50:16] abies@php.net
Doesn't crash on Alpha either.
------------------------------------------------------------------------
[2004-03-15 08:46:15] sniper@php.net
Does not crash on 32bit system..so this is propably some 64bit issue
again?
------------------------------------------------------------------------
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/27342--
Edit this bug report at http://bugs.php.net/?id=27342&edit=1