#25433 [Opn->Csd]: php-cli crashes on php -m with Zend Optimizer
| From: | sniper@php.net | Date: | Mon, 08 Sep 2003 12:59:24 +0000 |
| Subject: | #25433 [Opn->Csd]: php-cli crashes on php -m with Zend Optimizer | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-47251@lists.php.net to get a copy of this message | ||
ID: 25433
Updated by: sniper@php.net
Reported By: yavo at siava dot org
-Status: Open
+Status: Closed
Bug Type: Reproducible crash
Operating System: RedHat 7.2
PHP Version: 4.3.3
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-09-08 08:52:29] yavo at siava dot org
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
[root@customers 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
[root@**** 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
[root@**** root]#
Actual result:
--------------
[root@**** 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 this bug report at http://bugs.php.net/?id=25433&edit=1