# Segfault in CVS version

- Thread: https://externals.io/message/2137
- Original archive: https://news-web.php.net/php.internals/2137
- Started by l0t3k on 2003-06-04T00:27:18+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #2137 — l0t3k — 2003-06-04T00:27:18+00:00

URL: https://externals.io/message/2137#2137

in zend_startup (zend.c) the GLOBAL_CONSTANTS_TABLE is not malloced, so the
later attempt on line 585 to initialize it causes a nice buglet

<code>
 zend_hash_init_ex(GLOBAL_CONSTANTS_TABLE, 20, NULL, ZEND_CONSTANT_DTOR, 1,
0);
</code>

this may have been missed because this section is only for ZTS

l0t3k
