PHP 4.0 Bug #3434: Apache 1.3.11 crashes when trying to load PHP4b3 module

From: Date: Wed, 09 Feb 2000 02:32:50 +0000
Subject: PHP 4.0 Bug #3434: Apache 1.3.11 crashes when trying to load PHP4b3 module
Groups: php.dev 
Request: Send a blank email to php-dev+get-15323@lists.php.net to get a copy of this message
From: league@contrapunctus.net Operating system: Linux 2.2.13 PHP version: 4.0 Beta 3 PHP Bug Type: Reproduceable crash Bug description: Apache 1.3.11 crashes when trying to load PHP4b3 module 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!)

« previous php.dev (#15323) next »