|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59626 Segmentaion fault for the same servers in pool
Submitted: 2011-02-16 12:50 UTC Modified: -
Avg. Score:4.0 ± 1.0
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: andrey at niakhaichyk dot org Assigned:
Status: Open Package: memcache (PECL)
PHP Version: 5.3.5 OS: Gentoo x86_64
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: andrey at niakhaichyk dot org
New email:
PHP Version: OS:


 [2011-02-16 12:50 UTC] andrey at niakhaichyk dot org
When I add the same server to pool and use persistance connection it will generate segmentation fault for getExtendedStats

Reproduce code:
    $memcache_obj = new Memcache;
    $memcache_obj->addServer('localhost', 11211);
    $memcache_obj->addServer('localhost', 11211);
    //$memcache_obj->addServer('failed_host', 11211);
    $stats = $memcache_obj->getExtendedStats();

Expected result:
No segmentation fault

Actual result:
segmentation fault


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-21 19:24 UTC] shawn at digitalpoint dot com
We had the same thing happening without persistent connections 
when upgrading to memcache 3.0.x.  PHP version 5.3.6, 
memcached 1.4.5 and memcache version 3.0.6.  Rolling memcache 
back to 2.2.6 fixed it.
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Sat Oct 24 18:01:28 2020 UTC