[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-general
Subject:    [PHP] Symfony 1.4 segfaulting Apache on php-pecl-memcache 3.0.8
From:       Jakov Sosic <jsosic () gmail ! com>
Date:       2015-08-08 1:09:03
Message-ID: 55C556AF.1050009 () gmail ! com
[Download RAW message or body]

Hi guys,

I've got a coredump of apache running with mod_php. 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...

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic