From: yavo at siava dot org Operating system: RedHat 7.2 PHP version: 4.3.3 PHP Bug Type: Reproducible crash Bug description: php-cli crashes on php -m with Zend Optimizer
Description: ------------ I have php v4.3.3 with zend optimizer v2.1.0 loaded. When I run php -m I get a Segmentation fault. Other than this it appears that the system runs ok. here are the compiled modules [EMAIL PROTECTED] root]# php -m [PHP Modules] Turck MMCache Zend Optimizer bcmath bz2 calendar ctype dba dbx dio exif ftp gd gettext gmp iconv mbstring mysql ncurses openssl overload pcre posix pspell session shmop sockets standard sysvsem sysvshm tokenizer wddx xml xmlrpc yp zlib [Zend Modules] Turck MMCache Zend Optimizer Segmentation fault [EMAIL PROTECTED] root]# php -v PHP 4.3.3 (cli) (built: Sep 1 2003 13:46:25) Copyright (c) 1997-2003 The PHP Group Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies with Turck MMCache v2.3.20, Copyright (c) 2002-2003 TurckSoft, St. Petersburg, by Dmitry Stogov with Zend Optimizer v2.1.0, Copyright (c) 1998-2003, by Zend Technologies [EMAIL PROTECTED] root]# Actual result: -------------- [EMAIL PROTECTED] root]# gdb /usr/bin/php GNU gdb Red Hat Linux (5.2-2) Copyright 2002 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "i386-redhat-linux"... (gdb) run Starting program: /usr/bin/php Program exited normally. (gdb) Quit (gdb) run -m Starting program: /usr/bin/php -m [PHP Modules] Turck MMCache Zend Optimizer bcmath bz2 calendar ctype dba dbx dio exif ftp gd gettext gmp iconv mbstring mysql ncurses openssl overload pcre posix pspell session shmop sockets standard sysvsem sysvshm tokenizer wddx xml xmlrpc yp zlib [Zend Modules] Turck MMCache Zend Optimizer Program received signal SIGSEGV, Segmentation fault. zend_unregister_functions (functions=0x4257cb70, count=-1, function_table=0x0) at /usr/local/src/php-4.3.3/Zend/zend_API.c:1079 1079 while (ptr->fname) { (gdb) -- Edit bug report at http://bugs.php.net/?id=25433&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25433&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25433&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25433&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25433&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25433&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25433&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25433&r=support Expected behavior: http://bugs.php.net/fix.php?id=25433&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25433&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25433&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25433&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25433&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25433&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25433&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25433&r=gnused