ports/141051: devel/ZendOptimizer: Segfaults on amd64 platforms

Helmut Schneider jumper99 at gmx.de
Tue Dec 1 11:30:03 UTC 2009


>Number:         141051
>Category:       ports
>Synopsis:       devel/ZendOptimizer: Segfaults on amd64 platforms
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Dec 01 11:30:01 UTC 2009
>Closed-Date:
>Last-Modified:
>Originator:     Helmut Schneider
>Release:        8.0-RELEASE amd64
>Organization:
>Environment:
>Description:
# php ./phpinfo.php > /dev/null
Segmentation fault: 11 (core dumped)
# gdb php ./php.core
GNU gdb 6.1.1 [FreeBSD]
Copyright 2004 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 "amd64-marcel-freebsd"...(no debugging symbols found)...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libcrypt.so.5
Reading symbols from /lib/libm.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libxml2.so.5...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.5...(no debugging symbols found)...done.
Loaded symbols for /lib/libz.so.5
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.7...(no debugging symbols found)...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /usr/local/lib/compat/libm.so.4...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/compat/libm.so.4
Reading symbols from /usr/local/lib/php/20060613/Optimizer/php-5.2.x/ZendOptimizer.so...(no debugging symbols found)...done.
Loaded symbols for /usr/local/lib/php/20060613/Optimizer/php-5.2.x/ZendOptimizer.so
Reading symbols from /libexec/ld-elf.so.1...(no debugging symbols found)...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x0000000000000000 in ?? ()
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00000008076455e7 in ?? () from /usr/local/lib/php/20060613/Optimizer/php-5.2.x/ZendOptimizer.so
#2  0x0000000807740491 in ?? () from /usr/local/lib/php/20060613/Optimizer/php-5.2.x/ZendOptimizer.so
#3  0x00000008008350d0 in ?? () from /libexec/ld-elf.so.1
#4  0x000000080070cc61 in dlsym () from /libexec/ld-elf.so.1
#5  0x000000080070cd97 in dlclose () from /libexec/ld-elf.so.1
#6  0x00000000004fff44 in zend_llist_destroy ()
#7  0x0000000000509783 in zend_shutdown ()
#8  0x00000000004c586a in php_module_shutdown ()
#9  0x000000000058e24b in main ()
(gdb)

I read *many* posts in the internet and it seems that this problem is well known since 6.x-RELEASE. Shouldn't we mark ZendOptimizer as broken on amd64 platforms?!
>How-To-Repeat:

>Fix:
Remove 

zend_extension_manager.optimizer="/usr/local/lib/php/20060613/Optimizer"

from php.ini.

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list