|  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
Have you experienced this issue?
Rate the importance of this bug to you:

 [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-2021 The PHP Group
All rights reserved.
Last updated: Sat Jan 16 15:01:23 2021 UTC