Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 9 Sep 2010 02:11:06 GMT
From:      Ken Chen <ken73.chen@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150399: pecl-memcached core dump
Message-ID:  <201009090211.o892B6i6011596@www.freebsd.org>
Resent-Message-ID: <201009090220.o892K1oe014200@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150399
>Category:       ports
>Synopsis:       pecl-memcached core dump
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 09 02:20:00 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Ken Chen
>Release:        7.2-RELEASE-p3
>Organization:
>Environment:
FreeBSD db4.xxxx.com 7.2-RELEASE-p3 FreeBSD 7.2-RELEASE-p3 #2: Thu Aug 20 05:55:19 CST 2009     root@db4.xxxx.com:/usr/obj/usr/src/sys/DB4  amd64
>Description:
After install pecl-memcached from ports, the PHP 5.3.3 core dumped. This problem does not occur on 6.2 and 8.0.

db4# php -m
[PHP Modules]
Core
date
ereg
json
libxml
memcached
pcre
Reflection
session
SPL
standard
xml

[Zend Modules]

Segmentation fault (core dumped)
db4# gdb /usr/local/bin/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"...
Core was generated by `php'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /lib/libcrypt.so.4...done.
Loaded symbols for /lib/libcrypt.so.4
Reading symbols from /usr/local/lib/libpcre.so.0...done.
Loaded symbols for /usr/local/lib/libpcre.so.0
Reading symbols from /lib/libm.so.5...done.
Loaded symbols for /lib/libm.so.5
Reading symbols from /usr/local/lib/libxml2.so.5...done.
Loaded symbols for /usr/local/lib/libxml2.so.5
Reading symbols from /lib/libz.so.4...done.
Loaded symbols for /lib/libz.so.4
Reading symbols from /usr/local/lib/libiconv.so.3...done.
Loaded symbols for /usr/local/lib/libiconv.so.3
Reading symbols from /lib/libc.so.7...done.
Loaded symbols for /lib/libc.so.7
Reading symbols from /libexec/ld-elf.so.1...done.
Loaded symbols for /libexec/ld-elf.so.1
#0  0x000000007b5647b0 in ?? ()
(gdb) bt
#0  0x000000007b5647b0 in ?? ()
#1  0x000000007a74b7d5 in xmlFreeMutex () from /usr/local/lib/libxml2.so.5
#2  0x000000007a74b215 in xmlCleanupGlobals () from /usr/local/lib/libxml2.so.5
#3  0x000000007a6e3d3a in xmlCleanupParser () from /usr/local/lib/libxml2.so.5
#4  0x000000000045f338 in php_libxml_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/ext/libxml/libxml.c:583
#5  0x000000000045f823 in zm_shutdown_libxml (type=1, module_number=3) at /usr/ports/lang/php5/work/php-5.3.3/ext/libxml/libxml.c:655
#6  0x00000000005c6b26 in module_destructor (module=0x7af60270) at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend_API.c:2098
#7  0x00000000005ce1f4 in zend_hash_apply_deleter (ht=0x8b4460, p=0x7afbd4c0) at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend_hash.c:611
#8  0x00000000005ce35a in zend_hash_graceful_reverse_destroy (ht=0x8b4460) at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend_hash.c:646
#9  0x00000000005bc888 in zend_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/Zend/zend.c:759
#10 0x0000000000548aad in php_module_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/main/main.c:2138
#11 0x00000000006abff6 in main (argc=2, argv=0x7fffffffec80) at /usr/ports/lang/php5/work/php-5.3.3/sapi/cli/php_cli.c:1387
(gdb) frame 4
#4  0x000000000045f338 in php_libxml_shutdown () at /usr/ports/lang/php5/work/php-5.3.3/ext/libxml/libxml.c:583
583			xmlCleanupParser();
(gdb) 
>How-To-Repeat:
cd /usr/ports/lang/php5
make all install
cd /usr/ports/databases/pecl-memcached
make all install
php -m

>Fix:


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009090211.o892B6i6011596>