|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2005-10-07 18:29 UTC] kyle at junglist dot org
Description: ------------ Hi, please see this bug report I filed with Jelsoft regarding the problem I am having. I'm hoping maybe you might have some insight into the problem we are having. Thanks! http://www.vbulletin.com/forum/bugs35.php?do=view&bugid=1540 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 20 22:00:01 2025 UTC |
We finally figured out what the problem was. The code was attempting to set() on a previously close()'d memcache connection. This reliably segfaults for me. I'm not sure if it is really considered a bug, as it is obviously bad code, but I'll leave that up to you to decide. Thanks! <?php $memcache = new Memcache; $memcache->connect('YOURMEMCACHEIP', 10000) or die ("Could not connect"); $memcache->close(); $memcache->set("foo", "bar", MEMCACHE_COMPRESSED, 10) or die ("Failed to save data at the server"); ?>