#21800 [NEW]: Segfault in CLI
From: eru@php.net
Operating system: RH 8.0
PHP version: 5CVS-2003-01-21 (dev)
PHP Bug Type: Reproducible crash
Bug description: Segfault in CLI
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 bug report at http://bugs.php.net/?id=21800&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=21800&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=21800&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=21800&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=21800&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=21800&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=21800&r=support
Expected behavior: http://bugs.php.net/fix.php?id=21800&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=21800&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=21800&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=21800&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21800&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=21800&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=21800&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=21800&r=gnused
Thread (5 messages)
- eru@php.net