#23285 [Asn->Csd]: zendlex coredump
| From: | wez@php.net | Date: | Thu, 29 May 2003 09:03:53 +0000 |
| Subject: | #23285 [Asn->Csd]: zendlex coredump | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-40631@lists.php.net to get a copy of this message | ||
ID: 23285
Updated by: wez@php.net
Reported By: momo@php.net
-Status: Assigned
+Status: Closed
Bug Type: Scripting Engine problem
Operating System: RH9
PHP Version: 4.3.3-dev
Assigned To: wez
New Comment:
This bug has been fixed in CVS.
In case this was a PHP problem, snapshots of the sources are packaged
every three hours; this change will be in the next snapshot. You can
grab the snapshot at http://snaps.php.net/.
In case this was a documentation problem, the fix will show up soon at
http://www.php.net/manual/.
In case this was a PHP.net website problem, the change will show
up on the PHP.net site and on the mirror sites in short time.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2003-05-28 20:05:49] sniper@php.net
Yes, that patch makes it not to crash anymore.
If there aren't any side-effects of it..commit? :)
------------------------------------------------------------------------
[2003-05-28 16:39:52] wez@php.net
Try this patch:
http://www.php.net/~wez/zendlex.diff
------------------------------------------------------------------------
[2003-05-25 06:37:02] momo@php.net
the bug still exists using gcc version 3.2.2 20030222
here how u can easly reproduce it:
[root@moshe-lap php4]# cat ../../gen-php-seg.php
<?
$p = fopen("tmp","wb");
$str="";
for($a=0;$a<1024;$a++) $str.="/**/ ";
fwrite($p,"<? ");
for($a=0;$a<512;$a++) fwrite($p,$str);
fwrite($p," ?> ");
fclose($p);
?>
[root@moshe-lap php4]# ./sapi/cli/php ../../tmp
Segmentation fault
------------------------------------------------------------------------
[2003-05-21 10:15:04] sniper@php.net
It still happens for me (using gcc 2.95.3)..
------------------------------------------------------------------------
[2003-05-20 19:19:42] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-STABLE-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-STABLE-latest.zip
It appears recent changes have resolved this bug.
------------------------------------------------------------------------
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/23285
--
Edit this bug report at http://bugs.php.net/?id=23285&edit=1