-
Notifications
You must be signed in to change notification settings - Fork 327
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault when re-adding server after resetServerList() and using DISTRIBUTION=CONSISTENT #79
Comments
php 5.4.16 |
Hello. setOption(Memcached::OPT_LIBKETAMA_COMPATIBLE, true); var_dump($m->addServer($host, $port, $weight)); var_dump($m->resetServerList()); var_dump($m->addServer($host, $port, $weight)); var_dump($m->getServerList()); ?>this is promlem exists on fedora 19: $ php test.php (gdb) bt on fedora 18 no problem: $ php test.php how to solve this problem? Thanks. |
backtrace with debuginfo: (gdb) bt |
this problem is only present with libmemcached-1.0.16! with libmemcached-1.0.8 all correct. |
Looks like an upstream issue. |
Closing because this was verified as a bug in libmemcached 1.0.16. |
If somebody else stumbles across this: I am experiencing this exact issue with libmemached 1.0.18. It's not a php-memcached bug, for sure. How to fix: In the above mentioned Launchpad page the "continuum patch" linked, which fixes the issue as far as I can tell. It's not part of the official version 1.0.18, though. |
Testscript and backtrace @ https://gist.github.com/arjenschol/5729158
The text was updated successfully, but these errors were encountered: