From:             
Operating system: FreeBSD 7.3 amd64
PHP version:      5.2.13
Package:          Reproducible crash
Bug Type:         Bug
Bug description:PHP: Segmentation fault: 11 (core dumped) when extension 
memcached.so is added

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 bug report at http://bugs.php.net/bug.php?id=52288&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=52288&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=52288&r=trysnapshot53
Try a snapshot (trunk):              
http://bugs.php.net/fix.php?id=52288&r=trysnapshottrunk
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=52288&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=52288&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=52288&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=52288&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=52288&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=52288&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=52288&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=52288&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=52288&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=52288&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=52288&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=52288&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=52288&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=52288&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=52288&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=52288&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=52288&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=52288&r=mysqlcfg

Reply via email to