php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3434 Apache 1.3.11 crashes when trying to load PHP4b3 module
Submitted: 2000-02-09 03:32 UTC Modified: 2000-02-11 16:39 UTC
From: league at contrapunctus dot net Assigned:
Status: Closed Package: Reproducible Crash
PHP Version: 4.0 Beta 3 OS: Linux 2.2.13
Private report: No CVE-ID: None
 [2000-02-09 03:32 UTC] league at contrapunctus dot net
This bug appears to have the same symptoms as bug 2782.

Apache crashes when trying to load PHP4 module, but it does not give any warning messages (as in bug 2782).

Apache is 1.3.11, self-compiled, sources from www.apache.org.

PHP4b3 was configured with 
  ./configure --with-apxs=/var/mysql/bin/apxs
              --with-mysql=shared,/usr

(I know, Apache is installed in a very weird place..)

Here is a transcript:

bash$ gdb bin/httpd
GNU gdb 4.18
Copyright 1998 Free Software Foundation, Inc.
[...]
(gdb) run
Starting program: /var/mysql/bin/httpd 

Program received signal SIGSEGV, Segmentation fault.
0x20636973 in ?? ()
(gdb) bt
#0  0x20636973 in ?? ()
#1  0x40238ba8 in sapi_startup (sf=0x402d1400) at SAPI.c:79
#2  0x4027b602 in php_init_handler (s=0x80cab74, p=0x80cab4c) at mod_php4.c:503
#3  0x806db89 in ap_init_modules ()
#4  0x80779dd in main ()
#5  0x4007d1eb in __libc_start_main (main=0x80776ac <main>, argc=1, 
    argv=0xbffffc34, init=0x804ec18 <_init>, fini=0x80ab7fc <_fini>, 
    rtld_fini=0x4000a610 <_dl_fini>, stack_end=0xbffffc2c)
    at ../sysdeps/generic/libc-start.c:90

It crashes inside sapi_startup, at exactly the same place
as in bug 2782 (line 79, SAPI.c).

But there were no warnings, and this is a newer version of Apache than in bug 2782.  (I guess I'm lobbying to reopen 2782!)

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-02-11 16:39 UTC] andrei at cvs dot php dot net
Much things have changed in SAPI since Beta 3. Please try upgrading
to CVS version or wait for Beta 4. With luck, this problem is gone.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 05:01:28 2024 UTC