# Segfault in CVS version

- Thread: https://externals.io/message/2136
- Original archive: https://news-web.php.net/php.internals/2136
- Started by l0t3k on 2003-06-04T00:21:49+00:00
- Messages: 2
- 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

---

## #2136 — l0t3k — 2003-06-04T00:21:49+00:00

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

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

---

## #2151 — Sebastian Bergmann — 2003-06-04T07:48:50+00:00

URL: https://externals.io/message/2136#2151 · In reply to: #2136

l0t3k wrote:
> this may have been missed because this section is only for ZTS

  Hopefully fixed in CVS,
Sebastian

-- 
  Sebastian Bergmann
  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/

  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
