Re: [PHP4BETA] DSO startup fails
| From: | Sascha Schumann | Date: | Sat, 29 May 1999 13:43:17 +0000 |
| Subject: | Re: [PHP4BETA] DSO startup fails | ||
| References: | 1 2 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1165@lists.php.net to get a copy of this message | ||
On Sat, May 29, 1999 at 04:31:19PM +0300, Zeev Suraski wrote:
> Did you build PHP from scratch? If you didn't, try a full make clean and
> remake. automake's dependencies don't work right at all.
>
> I can't think of anything else other than broken struct sizes that will
> cause target_function_table to become corrupted. I have never compiled
> Apache as a DSO though.
>
Ok, I did a make distclean now. Still the same symptome.
Is it correct that CG(function_table) is NULL?
(gdb) up
#1 0x2000188cda4 in zend_register_functions (functions=0x200019fe4b0,
function_table=0x200018db0a0) at zend_API.c:618
618 if (zend_hash_add(target_function_table, ptr->fname,
strlen(ptr->fname)+1, &internal_function, sizeof(zend_internal_function),
NULL) == FAILURE) {
(gdb) p target_function_table
$1 = (HashTable *) 0x0
(gdb) p compiler_globals.function_table
$2 = (HashTable *) 0x0
--
Regards,
Sascha Schumann
Consultant
--
PHP 4 Beta