php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #70216 memcache coredumps with symfony 1.4
Submitted: 2015-08-08 14:01 UTC Modified: -
From: jsosic at gmail dot com Assigned:
Status: Open Package: memcache (PECL)
PHP Version: 5.6.12 OS: CentOS 6
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: jsosic at gmail dot com
New email:
PHP Version: OS:

 

 [2015-08-08 14:01 UTC] jsosic at gmail dot com
Description:
------------
This is backtrace:

(gdb) bt
#0  mmc_pool_select (pool=0x7fa0473d4600) at /usr/src/debug/php-pecl-memcache-3.0.8/NTS/memcache_pool.c:1422
#1  0x00007fa03091bcb8 in mmc_pool_run (pool=0x7fa0473d4600) at /usr/src/debug/php-pecl-memcache-3.0.8/NTS/memcache_pool.c:1674
#2  0x00007fa030915883 in zif_memcache_get (ht=<value optimized out>, return_value=<value optimized out>, return_value_ptr=<value optimized out>, this_ptr=<value optimized out>,
    return_value_used=<value optimized out>) at /usr/src/debug/php-pecl-memcache-3.0.8/NTS/memcache.c:1687
#3  0x00007fa03d28a74c in xdebug_handle_hit_value@plt () from /usr/lib64/php/modules/xdebug.so
#4  0x00007fa04753db10 in ?? ()
#5  0x000000004753db10 in ?? ()
#6  0x0000000000000000 in ?? ()

(gdb) print (char *)executor_globals.active_op_array->function_name
$16 = 0x7fa02899a668 "get"

(gdb) print (char *)executor_globals.active_op_array->filename
$17 = 0x7fa028997460 "/home/dev/site-php56/vendor/symfony/symfony1/lib/cache/sfMemcacheCache.class.php"

(gdb) quit


This the PHP function which triggers the error:

 /**
  * @see sfCache
  */
  public function get($key, $default = null)
  {
    $value = $this->memcache->get($this->getOption('prefix').$key);

    return false === $value ? $default : $value;
  }



Did anyone experience similar errors? Do you have any suggestions how to proceed?


Just a quick sidenote - everything works perfectly with php 5.4 and same version of memcache module... 


Patches

Add a Patch

Pull Requests

Add a Pull Request

 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Tue Dec 10 07:01:24 2019 UTC