Re: [PHP4BETA] DSO startup fails

From: Date: Sat, 29 May 1999 14:13:20 +0000
Subject: Re: [PHP4BETA] DSO startup fails
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-1167@lists.php.net to get a copy of this message
On Sat, May 29, 1999 at 04:49:39PM +0300, Zeev Suraski wrote: > On Sat, 29 May 1999, Sascha Schumann wrote: > > > 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? > > Only if somehow, functions are getting registered before zend_startup() is > called. Put a breakpoint in zend_startup() and see if this somehow > happens. > Nope, zend_startup() is called prior. Any ideas? (gdb) bt #0 zend_startup_module (module=0x200019fe590) at zend_API.c:560 #1 0x2000182e860 in module_startup_modules () at internal_functions.c:123 #2 0x200022fcf20 in php3_module_startup () at main.c:1240 #3 0x200022fade0 in php3_create_dir () #4 0x1200118a0 in ap_single_module_configure () #5 0x120008720 in load_module () -- Regards, Sascha Schumann Consultant -- PHP 4 Beta

« previous php.version4 (#1167) next »