Subject: apache + mod_ssl + libc db bug?
To: None <tech-pkg@netbsd.org>
From: Johnny C. Lam <lamj@stat.cmu.edu>
List: tech-pkg
Date: 03/06/2001 02:56:16
I'm running the 20010206 i386 NetBSD-current snapshot from
ftp.netbsd.org.  With pkgsrc from 20010306, compiling apache + ap-ssl
and trying to start apache yields a core dump.  This package works
with NetBSD 1.5.  The trace from the coredump (I don't know how to do
anything else useful in gdb) is below.

	Any ideas as to what's wrong?

	Thanks,

     -- Johnny C. Lam <lamj@stat.cmu.edu>
        Department of Statistics, Carnegie Mellon University
        http://www.stat.cmu.edu/~lamj/

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"...
Core was generated by `httpd'.
Program terminated with signal 11, Segmentation fault.
Reading symbols from /usr/libexec/ld.elf_so...done.
Reading symbols from /usr/lib/libcrypt.so.0...done.
Reading symbols from /usr/lib/libc.so.12...done.
Reading symbols from /usr/pkg/lib/httpd/mod_ssl.so...done.
Reading symbols from /usr/lib/libssl.so.1...done.
Reading symbols from /usr/lib/libcrypto.so.0...done.
#0  0x48147fff in __log2 ()
(gdb) bt
#0  0x48147fff in __log2 ()
#1  0x48145dd6 in __call_hash ()
#2  0x48145707 in __hash_open ()
#3  0x481455a7 in __hash_open ()
#4  0x48115924 in dbm_fetch ()
#5  0x48182767 in ssl_scache_dbm_expire ()
#6  0x48182117 in ssl_scache_dbm_init ()
#7  0x48181c59 in ssl_scache_init ()
#8  0x48178ca9 in ssl_init_Module ()
#9  0x8074a7d in ap_init_modules ()
#10 0x807c82c in standalone_main ()
#11 0x807d057 in main ()
#12 0x804fba5 in ___start ()
(gdb) quit