ID:               45640
 Updated by:       [EMAIL PROTECTED]
 Reported By:      hhiacxk02 at sneakemail dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: gentoo
 PHP Version:      5.2.6
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php5.2-latest.tar.gz
 
For Windows (zip):
 
  http://snaps.php.net/win32/php5.2-win32-latest.zip

For Windows (installer):

  http://snaps.php.net/win32/php5.2-win32-installer-latest.msi

And if the snapshot crashes, provide a gdb backtrace of the crash.


Previous Comments:
------------------------------------------------------------------------

[2008-07-27 19:02:37] hhiacxk02 at sneakemail dot com

Description:
------------
A segmentation fault occurs when extending two classes.


Reproduce code:
---------------
<?php
class CACHE extends memcache
{
  public function GetKey($key)
  {
    $this->connect('unix:///tmp/memcache1.sock',0);
    $value = $this->get($key);
    return $value;
  }
}
class Users extends CACHE
{
        function Get($key)
        {
                $return = $this->GetKey($key);
                return $return;
        }
}
$cache = new Users;
$cache->Get('key');
?>

Expected result:
----------------
The memcached results

Actual result:
--------------
Segmentation Fault


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=45640&edit=1

Reply via email to