ZTS build and classes

From: Date: Fri, 12 Dec 2003 00:09:34 +0000
Subject: ZTS build and classes
Groups: php.internals 
Request: Send a blank email to internals+get-6359@lists.php.net to get a copy of this message
There appears to be some sort of a memory corruption error when registering class hashtable in ZTS. Valgrind goes absolutely crazy with thousands of "Invalid read of size 1" errors such as this: ==17567== at 0x40023316: memcpy (mac_replace_strmem.c:259) ==17567== by 0x814FFD1: _zend_hash_add_or_update (zend_hash.c:242) ==17567== by 0x8151A14: zend_hash_copy (zend_hash.c:754) ==17567== by 0x814792A: compiler_globals_ctor (zend.c:438) ==17567== Address 0x41C6FF46 is 2 bytes before a block of size 10 alloc'd ==17567== at 0x4002BA2D: malloc (vg_replace_malloc.c:153) ==17567== by 0x812CFA6: zend_strndup (zend_alloc.c:419) ==17567== by 0x813A0FD: zend_register_long_constant (zend_constants.c:170) ==17567== by 0x8139CDA: zend_register_standard_constants (zend_constants.c:97) Ilia

« previous php.internals (#6359) next »