Bug #2442 Updated: Apache 1.3.9 segfaults (sig11) when PHP documents are called
| From: | Bug Database | Date: | Tue, 05 Oct 1999 02:54:19 +0000 |
| Subject: | Bug #2442 Updated: Apache 1.3.9 segfaults (sig11) when PHP documents are called | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11539@lists.php.net to get a copy of this message | ||
ID: 2442
User Update by: gashalot@gashalot.com
Status: Open
Bug Type: Reproduceable crash
Description: Apache 1.3.9 segfaults (sig11) when PHP documents are called
UNAME OUTPUT--------------------
FreeBSD websvr1.mn1.fasturl.net 3.3-STABLE FreeBSD 3.3-STABLE #3: Sun Sep 26 20:06:38 GMT 1999
gashalot@websvr1.mn1.fasturl.net:/usr/src/sys/compile/WEBSVR1 i386
dmesg KERN OUTPUT-------FreeBSD 3.3-STABLE #3: Sun Sep 26 20:06:38 GMT 1999
gashalot@websvr1.mn1.fasturl.net:/usr/src/sys/compile/WEBSVR1
Timecounter "i8254" frequency 1193182 Hz
CPU: Pentium III (686-class CPU)
Origin = "GenuineIntel" Id = 0x673 Stepping = 3
Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CM
OV,PAT,PSE36,MMX,FXSR,<b25>>
real memory = 536870912 (524288K bytes)
avail memory = 519655424 (507476K bytes)
Programming 24 pins in IOAPIC #0
FreeBSD/SMP: Multiprocessor motherboard
cpu0 (BSP): apic id: 1, version: 0x00040011, at 0xfee00000
cpu1 (AP): apic id: 0, version: 0x00040011, at 0xfee00000
io0 (APIC): apic id: 2, version: 0x00170011, at 0xfec00000
Preloaded elf kernel "kernel" at 0xc029d000.
Pentium Pro MTRR support enabled
----------
EXTENDED HTTP INFO------------------
bash-2.03# ./httpd -V
Server version: Apache/1.3.9 (Unix)
Server built: Oct 2 1999 00:56:50
Server's Module Magic Number: 19990320:6
Server compiled with....
-D EAPI
-D HAVE_MMAP
-D USE_MMAP_SCOREBOARD
-D USE_MMAP_FILES
-D USE_FLOCK_SERIALIZED_ACCEPT
-D SINGLE_LISTEN_UNSERIALIZED_ACCEPT
-D HTTPD_ROOT="/usr/local/apache"
-D SUEXEC_BIN="/usr/local/apache/bin/suexec"
-D DEFAULT_PIDLOG="logs/httpd.pid"
-D DEFAULT_SCOREBOARD="logs/httpd.scoreboard"
-D DEFAULT_LOCKFILE="logs/httpd.lock"
-D DEFAULT_XFERLOG="logs/access_log"
-D DEFAULT_ERRORLOG="logs/error_log"
-D TYPES_CONFIG_FILE="conf/mime.types"
-D SERVER_CONFIG_FILE="conf/httpd.conf"
-D ACCESS_CONFIG_FILE="conf/access.conf"
-D RESOURCE_CONFIG_FILE="conf/srm.conf"
GDB OUTPUT (NO CORE FILES WOULD GENERATE)----------------------
(gdb) run -X
Starting program: /usr/local/apache/bin/./httpd -X
Program received signal SIGSEGV, Segmentation fault.
0x80a3407 in _estrdup (s=0x0) at alloc.c:267
267 length = strlen(s)+1;
(gdb) bt
#0 0x80a3407 in _estrdup (s=0x0) at alloc.c:267
#1 0x80a5207 in php3_init_request_info (conf=0x820ea88) at request_info.c:210
#2 0x809bfeb in php3_request_startup () at main.c:668
#3 0x809d50e in apache_php3_module_main (r=0x82df034, fd=27,
display_source_mode=0, preprocessed=0) at main.c:1902
#4 0x809aa42 in send_php3 ()
#5 0x809aaa6 in send_parsed_php3 ()
#6 0x8108f4b in ap_invoke_handler ()
#7 0x811be71 in process_request_internal ()
#8 0x811bed0 in ap_process_request ()
#9 0x8113845 in child_main ()
#10 0x81139e8 in make_child ()
#11 0x8113b43 in startup_children ()
#12 0x81140f4 in standalone_main ()
#13 0x811495b in main ()
#14 0x807645d in _start ()
(gdb)
Full Bug description available at: http://bugs.php.net/?id=2442