Re: [PHP4BETA] DSO startup fails
| From: | Sascha Schumann | Date: | Sat, 29 May 1999 17:43:06 +0000 |
| Subject: | Re: [PHP4BETA] DSO startup fails | ||
| References: | 1 2 3 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-1185@lists.php.net to get a copy of this message | ||
On Sat, May 29, 1999 at 04:23:01PM +0200, Sascha Schumann wrote:
> On Sat, May 29, 1999 at 05:19:24PM +0300, Zeev Suraski wrote:
> > On Sat, 29 May 1999, Sascha Schumann wrote:
> >
> > > 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 ()
> >
> >
> > Does CG(function_table) end up having a value afterwards? If it does, set
> > a breakpoint for when compiler_globals.function_table changes, and see
> > what causes it to become NULL.
>
> Will try it later.
Ok, this problem was created due the php3 module which somehow had found its
way into the configuration. After removing it, Apache starts up as normal.
Now, the next problem emerges. The backtrace is not very helpful.
Program received signal SIGSEGV, Segmentation fault.
0x200004f304c in _IO_new_fclose ()
(gdb) bt
#0 0x200004f304c in _IO_new_fclose ()
#1 0x2000187c81c in zend_open_file_dtor (f=0x1201b9a20) at zend-scanner.l:172
#2 0x2000187c81c in zend_open_file_dtor (f=0x1201b9a20) at zend-scanner.l:172
It happens independently from the content of the script. Test cases include:
(nothing)
<? ?>
<? echo "test"; ?>
test
--
Regards,
Sascha Schumann
Consultant
--
PHP 4 Beta