Changeset 172

Show
Ignore:
Timestamp:
02/23/06 12:11:21 (3 years ago)
Author:
hrak
Message:

Don't increase parent refcount in restore_class_parent. This is wrong and leads to trouble in the Zend shutdown phase (zend_destroy_class). This most likely also fixes the REMOVE_POINTER_FROM_LIST segfault of bug #1432758

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • eaccelerator/trunk/ChangeLog

    r171 r172  
     12006-02-23  Hans Rakers <hans at parse dot nl> 
     2 
     3        * Don't increase parent refcount in restore_class_parent. This is wrong 
     4          and leads to trouble in the Zend shutdown phase (zend_destroy_class). 
     5          This most likely also fixes the REMOVE_POINTER_FROM_LIST segfault of 
     6          bug #1432758 
     7 
    182006-02-22  Hans Rakers <hans at parse dot nl> 
    29 
  • eaccelerator/trunk/ea_restore.c

    r170 r172  
    739739                to->clone = to->parent->clone; 
    740740#endif 
    741                 to->parent->refcount++; 
    742741                ea_debug_printf(EA_DEBUG, "restore_class_parent: found parent %s..\n", to->parent->name); 
    743742                ea_debug_printf(EA_DEBUG, "restore_class_parent: parent type=%d child type=%d\n", to->parent->type, to->type);