# seg fault in zend_hash

- Thread: https://externals.io/message/15667
- Original archive: https://news-web.php.net/php.internals/15667
- Started by Nick Loeve on 2005-03-30T00:59:47+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

---

## #15667 — Nick Loeve — 2005-03-30T00:59:47+00:00

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

I was just wondering if i should report this as a bug?
I have the latest CVS 5.1 code, and i can build it ok, but when PHP 
segfaults on startup.
I am using Ubuntu Hoary on a P4.

./configure --prefix=/usr/local/php5 
--with-config-file-path=/usr/local/php5/lib
make

The SAPI's build ok, but if i run the CLI through GDB i get this error 
when it starts:
------------------------------------------------------------------------------------
This GDB was configured as "i386-linux"...Using host libthread_db 
library "/lib/tls/i686/cmov/libthread_db.so.1".

(gdb) run
Starting program: /home/nick/Desktop/build-src/php-src/sapi/cli/php
[Thread debugging using libthread_db enabled]
[New Thread 1076758816 (LWP 13455)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076758816 (LWP 13455)]
zend_hash_merge_ex (target=0x82ecb30, source=0x98, 
pCopyConstructor=0x81d63a0 <zval_add_ref>, size=4, 
pMergeSource=0x81c8510 <do_inherit_constant_check>,
    pParam=0x0) at /home/nick/Desktop/build-src/php-src/Zend/zend_hash.c:818
818         p = source->pListHead;

------------------------------------------------------------------------------------

I also get no error message but apache2 crashes if i build the 
apache2handler SAPI.

Cheers

-- 
Nick Loeve
Sputnik Agency

t: +613 953 44 333
f: +613 953 44 833
m: 0422 790 661
w: www.sputnikagency.com

Level One
31 Greeves Street
St. Kilda 3182
