$ cat /tmp/1.php
<?php
$mc = new Memcached();
$mc->addServer('messages.oudgrb.0001.use1.cache.amazonaws.com', 11211);
$mc->set("hi", "hello world\n");
echo $mc->get("hi");
$mc->getServerByKey("test");
$ php /tmp/1.php
hello world
*** glibc detected *** php: double free or corruption (fasttop):
0x0000000001f3ee40 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7e626)[0x7f8e9604e626]
/lib/x86_64-linux-gnu/libc.so.6(freeaddrinfo+0x28)[0x7f8e9609db58]
/usr/lib/libmemcached.so.6(memcached_server_list_free+0x3b)[0x7f8e8ea189ab]
/usr/lib/libmemcached.so.6(memcached_free+0x19)[0x7f8e8ea16e49]
/usr/lib/php5/20090626/memcached.so(+0x5782)[0x7f8e8ec28782
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/922098
Title:
getServerByKey doesn't returned a cloned structure
To manage notifications about this bug go to:
https://bugs.launchpad.net/libmemcached/+bug/922098/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs