Edit report at http://bugs.php.net/bug.php?id=52288&edit=1

 ID:               52288
 Updated by:       [email protected]
 Reported by:      stadnicki at gmail dot com
 Summary:          PHP: Segmentation fault: 11 (core dumped) when
                   extension memcached.so is added
-Status:           Open
+Status:           Bogus
 Type:             Bug
 Package:          Reproducible crash
 Operating System: FreeBSD 7.3 amd64
 PHP Version:      5.2.13

 New Comment:

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.


Previous Comments:
------------------------------------------------------------------------
[2010-07-08 11:46:25] stadnicki at gmail dot com

The same thing on different machine with the same OS and other stuff.

------------------------------------------------------------------------
[2010-07-08 11:44:10] 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)"









------------------------------------------------------------------------



-- 
Edit this bug report at http://bugs.php.net/bug.php?id=52288&edit=1

Reply via email to