Bug 6957 - php-memcached triggering SIGABORT
: php-memcached triggering SIGABORT
Status: RESOLVED FIXED
Product: Desktop Bugs
Classification: ROSA Desktop
Component: Main Packages
: Fresh
: x86_64 Linux
: Normal normal
: ---
Assigned To: ROSA Linux Bugs
: ROSA Linux Bugs
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-20 12:20 MSD by surgatus
Modified: 2016-04-20 15:54 MSD (History)
1 user (show)

See Also:
RPM Package: php-memcached
ISO-related:
Bad POT generating:
Upstream:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description surgatus 2016-04-20 12:20:24 MSD
Description of problem:

When attempting to use Memcached::set() function, PHP crashes with this error:

php: libmemcached/storage.cc:321: memcached_return_t memcached_send_ascii(memcached_st*, memcached_server_write_instance_st, const char*, size_t, const char*, size_t, time_t, uint32_t, uint64_t, bool, bool, memcached_storage_action_t): Assertion `memcached_failed(rc)' failed.

# rpm -qa |grep memcached
lib64memcached9-1.0.4-3-rosa2014.1.x86_64
memcached-1.4.22-2-rosa2014.1.x86_64
php-memcached-2.0.1-4-rosa2014.1.x86_64

Steps to Reproduce:

<?php
$memcache = new Memcached;
$result = $memcache->addServer('127.0.0.1', 11211, 60);

$memcache->set('Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0', '', 0);
$memcache->get('test');
$memcache->set('test', '', 0);
?>

With $memcache->set('Mozilla/5.0 (X11; ', '', 0); - Ok
With $memcache->set('Mozilla/5.0 (X11; L', '', 0); - Error
Comment 1 surgatus 2016-04-20 15:54:58 MSD
Сейчас вышло обновление php-memcached до 
php-memcached-2.2.0-1-rosa2014.1.x86_64.rpm 
В нём проблема исправилась.

Спасибо!