#21800 [Ver->Csd]: Segfault in CLI
| From: | stas@php.net | Date: | Sun, 15 Jun 2003 11:45:41 +0000 |
| Subject: | #21800 [Ver->Csd]: Segfault in CLI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-41924@lists.php.net to get a copy of this message | ||
ID: 21800
Updated by: stas@php.net
-Reported By: eru@php.net
+Reported By: carl at thep dot lu dot se
-Status: Verified
+Status: Closed
Bug Type: Zend Engine 2 problem
-Operating System: RH 8.0
+Operating System: Linux
PHP Version: 5CVS-2003-01-21 (dev)
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-01-21 13:05:13] iliaa@php.net
The bug occurs due to the handler in execute_data.opline->handler not
being set.
------------------------------------------------------------------------
[2003-01-21 12:47:55] moriyoshi@php.net
not reproduced with ZE1 => reclassfying as ZE2 problem
------------------------------------------------------------------------
[2003-01-21 12:45:08] moriyoshi@php.net
verified
------------------------------------------------------------------------
[2003-01-21 12:36:38] carl at thep dot lu dot se
the following produces a coredump:
root@numenor-19:30 [~]:php -ea
Interactive mode enabled
<? echo "hurga"; ?>
Segmentation fault (core dumped)
Backtrace gives
(gdb) bt
#0 0x00000000 in ?? ()
#1 0x081f3a4f in execute (op_array=0x0) at
/usr/local/src/cvs/php5/Zend/zend_execute.c:1218
#2 0x081d78b9 in execute_new_code () at
/usr/local/src/cvs/php5/Zend/zend_execute_API.c:827
#3 0x081be693 in zendparse () at
/usr/local/src/cvs/php5/Zend/zend_language_parser.y:148
#4 0x081c272d in compile_file (file_handle=0xbffff930, type=2) at
/usr/local/src/cvs/php5/Zend/zend_language_scanner.l:297
#5 0x081e14ad in zend_execute_scripts (type=8, retval=0x0,
file_count=3) at /usr/local/src/cvs/php5/Zend/zend.c:992
#6 0x081a84c7 in php_execute_script (primary_file=0xbffff930) at
/usr/local/src/cvs/php5/main/main.c:1691
#7 0x0820966f in main (argc=2, argv=0xbffff9c4) at
/usr/local/src/cvs/php5/sapi/cli/php_cli.c:753
#8 0x420158d4 in __libc_start_main () from /lib/i686/libc.so.6
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=21800&edit=1