Subject: NetBSD 1.4Q/i386 + Apache 1.3.11+PHP3.0.7
To: None <tech-pkg@netbsd.org>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
List: tech-pkg
Date: 02/27/2000 21:48:28
  Is anyone running such a combination? I have userland from the November snapshot.

  I built from -current pkgsrc this evening. I get a SEGV in:

pzero-[~] root 4 #gdb /usr/pkg/sbin/httpd
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386--netbsd"...(no debugging symbols found)...
(gdb) attach 11913
Attaching to program `/usr/pkg/sbin/httpd', process 11913
Reading symbols from /usr/libexec/ld.elf_so...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libcrypt.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libc.so.12...(no debugging symbols
found)...done.
Reading symbols from /usr/pkg/lib/httpd/mod_php3.so...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libz.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libm.so.0...(no debugging symbols
found)...done.
Reading symbols from /usr/lib/libresolv.so.1...(no debugging symbols
found)...done.
0x480fcb13 in accept ()
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x48154c76 in _php3_hash_environment ()
(gdb) bt
#0  0x48154c76 in _php3_hash_environment ()
#1  0x4818f124 in lex_scan ()
#2  0x48159fe2 in read_next_token ()
#3  0x481534a4 in phplex ()
#4  0x48181a53 in phpparse ()
#5  0x48154ea4 in php3_parse ()
#6  0x481550a8 in apache_php3_module_main ()
#7  0x48152504 in send_php3 ()
#8  0x4815256e in send_parsed_php3 ()
#9  0x806e79d in ap_invoke_handler ()
#10 0x807be3b in process_request_internal ()
#11 0x807be8b in ap_process_request ()
#12 0x807604c in child_main ()
#13 0x807622a in make_child ()
#14 0x80764ef in perform_idle_server_maintenance ()
#15 0x80768c1 in standalone_main ()
#16 0x8076e37 in main ()
#17 0x804fa49 in ___start ()
(gdb)