Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#116 closed defect (duplicate)

memory leaks while comparing xcache_get results

Reported by: judas_iscariote Owned by: moo
Priority: major Milestone: 3.0.0
Component: cacher Version: 1.2.1
Keywords: leaks Cc:
Application: PHP Version: 5_2CVS
Other Exts: SAPI: Irrelevant
Probability: Always Blocked By:
Blocking:

Description

memory leak with the following code

<?php
$a = array(1, 2);
$c = $a;

xcache_set("a", $a);

xcache_set("c", $c);

if(xcache_get('a') == xcache_get('c')) {
    echo "hrmmkay\n";
}

?>
Script:  'crash.php'
/home/cristian/php5/Zend/zend_vm_execute.h(182) :  Freeing 0x00C964F8 (24 bytes), script=crash.php
Last leak repeated 1 time
[Fri Aug 17 02:59:41 2007]  Script:  'crash.php'
/home/cristian/xcache-stable/processor_real.c(17119) :  Freeing 0x00C96568 (24 bytes), script=crash.php
Last leak repeated 3 times
[Fri Aug 17 02:59:41 2007]  Script:  'crash.php'
/home/cristian/xcache-stable/processor_real.c(15651) :  Freeing 0x00C965D8 (64 bytes), script=crash.php
Last leak repeated 3 times
[Fri Aug 17 02:59:41 2007]  Script:  'crash.php'
/home/cristian/xcache-stable/processor_real.c(16923) :  Freeing 0x00C96750 (72 bytes), script=crash.php
Last leak repeated 1 time
[Fri Aug 17 02:59:41 2007]  Script:  'crash.php'
/home/cristian/xcache-stable/processor_real.c(15636) :  Freeing 0x00C967F0 (64 bytes), script=crash.php
/home/cristian/php5/Zend/zend_alloc.c(2323) : Actual location (location was relayed)
Last leak repeated 1 time
=== Total 14 memory leaks detected ===

Change History (2)

comment:1 Changed 7 years ago by moo

  • Resolution set to duplicate
  • Status changed from new to closed

this is duplicate as #95, i've updated the summary there

comment:2 Changed 6 years ago by moo

  • Milestone changed from 1.2.2 to 1.4.0
Note: See TracTickets for help on using tickets.