Re: seg fault in zend_hash (with bt)
| From: | Alan Knowles | Date: | Wed, 30 Mar 2005 01:19:47 +0000 |
| Subject: | Re: seg fault in zend_hash (with bt) | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-15669@lists.php.net to get a copy of this message | ||
Is this the sqlite "build it with gawk" bug?
Regards
Alan
On Wed, 2005-03-30 at 11:09 +1000, Nick Loeve wrote:
> Sorry here is the BT from GDB
>
> (gdb) run
> Starting program: /home/nick/Desktop/build-src/php-src/sapi/cli/php
> [Thread debugging using libthread_db enabled]
> [New Thread 1076758816 (LWP 13474)]
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 1076758816 (LWP 13474)]
> 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;
> (gdb) bt
> #0 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
> #1 0x081c85c9 in zend_do_implement_interface (ce=0x82eca98, iface=0x0)
> at /home/nick/Desktop/build-src/php-src/Zend/zend_compile.c:2090
> #2 0x081db539 in zend_class_implements (class_entry=0x82eca98,
> num_interfaces=2) at
> /home/nick/Desktop/build-src/php-src/Zend/zend_API.c:1646
> #3 0x080f5944 in zm_startup_sqlite (type=1, module_number=4) at
> /home/nick/Desktop/build-src/php-src/ext/sqlite/sqlite.c:1024
> #4 0x081da4c8 in zend_register_module_ex (module=0x82e9e20) at
> /home/nick/Desktop/build-src/php-src/Zend/zend_API.c:1227
> #5 0x081a06b0 in php_startup_extensions (ptr=0x82a1e8c, count=152) at
> /home/nick/Desktop/build-src/php-src/main/main.c:1269
> #6 0x0824561b in php_startup_internal_extensions () at
> main/internal_functions_cli.c:72
> #7 0x081a0c80 in php_module_startup (sf=0x0, additional_modules=0x0,
> num_additional_modules=152) at
> /home/nick/Desktop/build-src/php-src/main/main.c:1452
> #8 0x0824458e in main (argc=1, argv=0xbffffac4) at
> /home/nick/Desktop/build-src/php-src/sapi/cli/php_cli.c:632
>
> --
> 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
>
--
Alan Knowles <alan@akbkhome.com>