Hi,

I have some issues with static members of internal classes.
AFAICS no extension uses them so far (did I miss something?).

There seems to be missing a proper cleanup routine for the
static_member hashtable in PHP-5.0 because there are mem-leaks
for each property to which another value (i.e. strings) will
be assigned.

And in PHP-5.1 there seems to be a cleanup routine which causes a memory read 
error:

_zval_internal_dtor(_zval_struct * 0x00f22340, char * 0x106665a0 `string', 
unsigned int 401) line 79 + 11 bytes
_zval_internal_ptr_dtor(_zval_struct * * 0x00f222ac, char * 0x1067203c 
`string', unsigned int 181) line 401 + 27 bytes
_zval_internal_ptr_dtor_wrapper(_zval_struct * * 0x00f222ac) line 181 + 25 bytes
zend_hash_destroy(_hashtable * 0x00f20a80) line 519 + 15 bytes
destroy_zend_class(_zend_class_entry * * 0x01140a6c) line 178 + 15 bytes
zend_hash_destroy(_hashtable * 0x0113f2f0) line 519 + 15 bytes
compiler_globals_dtor(_zend_compiler_globals * 0x00ea2870, void * * * 
0x00ea1ab0) line 461 + 15 bytes
tsrm_shutdown() line 180 + 34 bytes
main(int 3, char * * 0x00ea1b20) line 1152 + 8 bytes
mainCRTStartup() line 338 + 17 bytes
KERNEL32! 77e9893d()

Thanks for any insight!

--
Michael - < mike(@)php.net >

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to