#21800 [Opn->Ver]: Segfault in CLI
| From: | moriyoshi@php.net | Date: | Tue, 21 Jan 2003 18:45:08 +0000 |
| Subject: | #21800 [Opn->Ver]: Segfault in CLI | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-30850@lists.php.net to get a copy of this message | ||
ID: 21800
Updated by: moriyoshi@php.net
Reported By: eru@php.net
-Status: Open
+Status: Verified
Bug Type: Reproducible crash
Operating System: RH 8.0
PHP Version: 5CVS-2003-01-21 (dev)
New Comment:
verified
Previous Comments:
------------------------------------------------------------------------
[2003-01-21 12:36:38] eru@php.net
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