seg fault in zend_hash

php.internals

Nick Loeve

21 years ago
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