php.net |  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: 2021-03-25 16:30 UTC
Votes:2
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: cmb (profile)
Status: Closed 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:
Package:
Bug Type:
Summary:
From: andrey at niakhaichyk dot org
New email:
PHP Version: OS:

 

 [2011-02-16 12:50 UTC] andrey at niakhaichyk dot org
Description:
------------
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();
    print_r($stats);

Expected result:
----------------
No segmentation fault

Actual result:
--------------
segmentation fault

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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.
 [2021-03-25 16:30 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2021-03-25 16:30 UTC] cmb@php.net
The official bug tracker for PECL/memcache is now at
<https://github.com/websupport-sk/pecl-memcache/issues>.

So, if this is still an issue with either of the current memcache
versions (4 or 8), please file an issue there.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 10 21:01:33 2024 UTC