FAQ
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

Search Discussions

  • Ilia Alshanetsky at Dec 12, 2003 at 12:17 am
    Nm, problem already solved with latest commit to zend_constants.c

    Ilia

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-internals @
categoriesphp
postedDec 11, '03 at 11:58p
activeDec 12, '03 at 12:17a
posts2
users1
websitephp.net

1 user in discussion

Ilia Alshanetsky: 2 posts

People

Translate

site design / logo © 2022 Grokbase