Hi there,
I just compiled apache-1.3.12 with modssl 2.6.6 (openssl 0.9.4 to avoid
/dev/urandom problems), modphp 4.0.2, and modperl 1.2.4 on Solaris 2.8 and
haven't yet modified anything in the conf files.
Basic problem: httpd silently fails, no errors written to logfiles
(indeed, no data is written to either access_log or error_log).
ssl_engine_log gets some data:
[07/Sep/2000 19:36:27 07176] [info] Server: Apache/1.3.12, Interface: mod_ssl/2.6.6,
Library: OpenSSL/0.9.4
[07/Sep/2000 19:36:27 07176] [info] Init: 1st startup round (still not detached)
[07/Sep/2000 19:36:27 07176] [info] Init: Initializing OpenSSL library
[07/Sep/2000 19:36:27 07176] [info] Init: Seeding PRNG with 136 bytes of entropy
[07/Sep/2000 19:36:27 07176] [info] Init: Generating temporary RSA private keys
(512/1024 bits)
[07/Sep/2000 19:36:29 07176] [info] Init: Configuring temporary DH parameters
(512/1024 bits)
apachectl and httpd -X generate a corefile.
backtrace from core generated from httpd -X:
gdb /opt/pkgs/apache-1.3.12/sbin/httpd ./core
GNU gdb 5.0
Copyright 2000 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 "sparc-sun-solaris2.8"...
Core was generated by `/opt/pkgs/apache-1.3.12/sbin/httpd -X'.
Program terminated with signal 11, Segmentation Fault.
Reading symbols from /usr/lib/libsocket.so.1...done.
Loaded symbols for /usr/lib/libsocket.so.1
Reading symbols from /usr/lib/libnsl.so.1...done.
Loaded symbols for /usr/lib/libnsl.so.1
Reading symbols from /usr/lib/libdl.so.1...done.
Loaded symbols for /usr/lib/libdl.so.1
Reading symbols from /usr/lib/libm.so.1...done.
Loaded symbols for /usr/lib/libm.so.1
Reading symbols from /usr/lib/libc.so.1...done.
Loaded symbols for /usr/lib/libc.so.1
Reading symbols from /usr/lib/libcrypt_i.so.1...done.
Loaded symbols for /usr/lib/libcrypt_i.so.1
Reading symbols from /opt/pkgs/freetds/lib/libct.so.0...done.
Loaded symbols for /opt/pkgs/freetds/lib/libct.so.0
Reading symbols from /opt/pkgs/freetds/lib/libsybdb.so.0...done.
Loaded symbols for /opt/pkgs/freetds/lib/libsybdb.so.0
Reading symbols from /opt/pkgs/freetds/lib/libtds.so.0...done.
Loaded symbols for /opt/pkgs/freetds/lib/libtds.so.0
Reading symbols from /opt/pkgs/libiodbc/lib/libiodbc.so.2...done.
Loaded symbols for /opt/pkgs/libiodbc/lib/libiodbc.so.2
Reading symbols from /opt/pkgs/mysql/lib/mysql/libmysqlclient.so.6...done.
Loaded symbols for /opt/pkgs/mysql/lib/mysql/libmysqlclient.so.6
Reading symbols from /usr/lib/libresolv.so.2...done.
Loaded symbols for /usr/lib/libresolv.so.2
Reading symbols from /usr/lib/libmp.so.2...done.
Loaded symbols for /usr/lib/libmp.so.2
Reading symbols from /usr/lib/libgen.so.1...done.
Loaded symbols for /usr/lib/libgen.so.1
Reading symbols from /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1...done.
Loaded symbols for /usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
Reading symbols from /usr/lib/nss_files.so.1...done.
Loaded symbols for /usr/lib/nss_files.so.1
#0 0x224754 in free ()
(gdb) bt
#0 0x224754 in free ()
#1 0xff1eb8a8 in __regfree_std () from /usr/lib/libc.so.1
#2 0x1b5f5c in regex_cleanup (preg=0x4a3ca0) at alloc.c:2250
#3 0x1b576c in run_cleanups (c=0x4a3cb0) at alloc.c:1940
#4 0x1b2eb4 in ap_clear_pool (a=0x44c818) at alloc.c:683
#5 0x1cb2bc in standalone_main (argc=2, argv=0xffbef90c) at
http_main.c:4710
#6 0x1cc018 in main (argc=2, argv=0xffbef90c) at http_main.c:5092
(gdb)
yet more info....the interesting bits of a truss httpd -X:
fstat64(3, 0xFFBECBC0) = 0
ioctl(3, TCGETA, 0xFFBECB4C) Err#25 ENOTTY
read(3, " p a c k a g e A p a c".., 8192) = 1844
getcontext(0xFFBEEF98)
getcontext(0xFFBEEEA0)
llseek(3, 0xFFFFFFFFFFFFF93D, SEEK_CUR) = 113
close(3) = 0
Incurred fault #6, FLTBOUNDS %pc = 0x00224754
siginfo: SIGSEGV SEGV_MAPERR addr=0xD007A000
Received signal #11, SIGSEGV [default]
siginfo: SIGSEGV SEGV_MAPERR addr=0xD007A000
*** process killed ***
Anyone have any helpful ideas?
Thanks,
Arin
--
------------------------------------------------------------------
Arin Komins [EMAIL PROTECTED]
Web Systems Administrator
University of Chicago/NSIT tel: (773)834-4087
1155 E. 60th St. #302B Chicago, IL 60637 fax: (773)702-0559
------------------------------------------------------------------
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]