php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #52288 PHP: Segmentation fault: 11 (core dumped) when extension memcached.so is added
Submitted: 2010-07-08 11:44 UTC Modified: 2010-07-08 12:52 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: stadnicki at gmail dot com Assigned:
Status: Not a bug Package: Reproducible crash
PHP Version: 5.2.13 OS: FreeBSD 7.3 amd64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: stadnicki at gmail dot com
New email:
PHP Version: OS:

 

 [2010-07-08 11:44 UTC] stadnicki at gmail dot com
Description:
------------
FreeBSD 7.3 compiled as adm64.
libmemcached-0.40 (from /usr/ports)
libxml2-2.7.7 (from /usr/ports patched and not patched)
PHP-5.2.13 (from source code)
trying memcached-1.0.0, memcached-1.0.1 and memcached-1.0.2 (from source code and from /usr/ports)

PHP ./configure
'--prefix=/usr/local/php-5.2.13' '--target=i686-pc-freebsd' '--disable-debug' '--enable-exif' '--enable-libxml' '--enable-soap' '--with-iconv' '--with-zlib' '--enable-cli' '--with-curl' '--enable-mbstring=all' '--with-gettext' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-gd' '--with-openssl' '--with-freetype-dir=/home/www' '--with-jpeg-dir' '--with-pear=/usr/local/php/lib/php' '--with-freetype-dir=/home/www/' '--with-mysql=/usr/local/mysql' '--with-mssql' '--with-mcrypt'

PHP modules (via `php -m'):
[PHP Modules]
ctype
curl
date
dom
exif
fileinfo
filter
gd
gettext
gpassmode
hash
iconv
ionCube Loader
json
libxml
mbstring
mcrypt
memcache
mssql
mysql
openssl
pcre
pdf
PDO
pdo_mysql
pdo_sqlite
posix
rc4
Reflection
rst_sql
session
SimpleXML
soap
SPL
SQLite
standard
tokenizer
xdebug
xml
xmlreader
xmlwriter
zlib

[Zend Modules]
Xdebug
the ionCube PHP Loader

PHP modules via extension in php.ini:
extension=pdf.so
extension=rst_sql.so
extension=gpassmode.so
extension=pdo_mysql.so
extension=fileinfo.so
extension=rc4.so

installing memcached.so via /usr/ports (as a module for PHP 5.3.2) - OK
installing memcached.so from source code (source from pecl.php.net, phpize) - OK

When added in php.ini:
extension=memcached.so
then run `php -m', PHP is dumping core "Segmentation fault: 11 (core dumped)"





Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2010-07-08 11:46 UTC] stadnicki at gmail dot com
The same thing on different machine with the same OS and other stuff.
 [2010-07-08 12:52 UTC] johannes@php.net
-Status: Open +Status: Bogus
 [2010-07-08 12:52 UTC] johannes@php.net
The module most likely wasn't compiled for that version of PHP or a similar problem or is caused by FreeBSD's dlopen which is known to cause problems if modules are loaded in a wrong order. This sounds more like a "support" issue than a bug. And if there is a bug it is in the memcache module so please report at pecl.php.net and provide a gdb backtrace if regular support channels can't help.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Apr 27 06:01:30 2024 UTC