-
Notifications
You must be signed in to change notification settings - Fork 326
Closed
Description
I'm sorry I can't dump the core dump file, because my kernel does not support that.
Test in:
PHP 7.0.1
libmemcached 1.0.18
Memcached 1.4.25(unix socket)
igbinary/igbinary7
php-memcached php7 branch
When i test in php7 code like this,it's work:
$key='test';
$mc=new Memcached();
$mc->addServer('/tmp/memcached.sock', 0);
$mc->set($key,'1234567890',86400);
$data=$mc->get($key);
echo $data;
But when using Wordpress 4.4 with Memcached Object Cache, segmentation fault.
using:
./configure --with-php-config=/usr/local/php7/bin/php-config --enable-memcached-igbinary --with-libmemcached-dir=/usr/local/libmemcached --enable-memcached --disable-memcached-sasl --with-zlib-dir=/usr/local/zlib
Dec 26 23:34:28 kn007 kernel: php-fpm[24038]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:28 kn007 kernel: php-fpm[24039]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:28 kn007 kernel: php-fpm[23965]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:28 kn007 kernel: php-fpm[24040]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:29 kn007 kernel: php-fpm[24041]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:29 kn007 kernel: php-fpm[24043]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:29 kn007 kernel: php-fpm[23966]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:29 kn007 kernel: php-fpm[24044]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:34:29 kn007 kernel: php-fpm[24045]: segfault at 10 ip 00007fea56a6c971 sp 00007ffde363b7c0 error 6 in igbinary.so[7fea56a63000+c000]
Dec 26 23:37:24 kn007 kernel: show_signal_msg: 12 callbacks suppressed
using:
./configure --with-php-config=/usr/local/php7/bin/php-config --with-libmemcached-dir=/usr/local/libmemcached --enable-memcached --disable-memcached-sasl --with-zlib-dir=/usr/local/zlib
it's working, but
PHP Warning: Memcached::get(): could not unserialize value, no igbinary support in /var/www/kn007.net/wp-content/object-cache.php on line 1300
I'm not sure that it's php-memcached error or igbinary error.
Thank you.
Metadata
Metadata
Assignees
Labels
No labels