Subject: pkg/10150: Core dump using ap-ssl-2.6.3 pkg
To: None <gnats-bugs@gnats.netbsd.org>
From: None <cchang@zembu.com>
List: netbsd-bugs
Date: 05/18/2000 11:00:22
>Number:         10150
>Category:       pkg
>Synopsis:       dlopen() coredumps when starting apache ssl (installed using ap-ssl pkg)
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Thu May 18 11:01:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     
>Release:        NetBSD-current Sun Apr 16
>Organization:
  Zembu Labs
>Environment:
	700Mhz Athlon, NetBSD int 1.4X, i386--netbsd, (not sure what to put for "libraries") 
System: NetBSD int 1.4X NetBSD 1.4X (GENERIC) #1: Sun Apr 16 22:20:38 EDT 2000 perry@snark.piermont.com:/usr/src/sys/arch/i386/compile/GENERIC i386


>Description:

Installed openssl-0.95a, apache-1.3.12, and ap-ssl-2.6.3 packages.  Core dumps when running apachectl startssl.  Package listing and gdb run follows.

bash-2.04# pkg_info
ssh-1.2.27          Secure shell client and server (remote login program)
cfengine-1.5.3nb2   Automate configuration and administration of large systems
perl-5.00404        Practical Extraction and Report Language
db-2.7.7            Sleepycat Software's Berkeley DB version 2
bash-2.04           The GNU Bourne Again Shell
pkglibtool-1.2p2    Generic shared library support script for NetBSD packages
openssl-0.9.5a      Secure Socket Layer and cryptographic library
apache-1.3.12       The Apache web server (http://www.apache.org/)
libperl-5.00404     PERL core library as a shared object
p5-CGI-2.66         perl5 module for writing forms-based CGI programs
ap-ssl-2.6.3        Secure Sockets Layer module for Apache
gdbm-1.7.3          The GNU database manager

  ###########################
bash-2.04# 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) r -DSSL
Starting program: /usr/pkg/sbin/httpd -DSSL
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...(no debugging symbols found)...
(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x480aec30 in _rtld_unref_dag ()
(gdb) where
#0  0x480aec30 in _rtld_unref_dag ()
#1  0x480aec78 in _rtld_unref_dag ()
#2  0x480aeb53 in _rtld_unload_object ()
#3  0x480aee28 in _rtld_dlopen ()
#4  0x804fbbe in dlopen ()
#5  0x8081698 in ap_os_dso_load ()
#6  0x806b05c in load_module ()
#7  0x806f0a7 in invoke_cmd ()
#8  0x806f633 in ap_handle_command ()
#9  0x806f67c in ap_srm_command_loop ()
#10 0x806f976 in ap_process_resource_config ()
#11 0x806ffc4 in ap_read_config ()
#12 0x8077173 in main ()
#13 0x804fae5 in ___start ()

>How-To-Repeat:
Install openssl-0.95a, apache-1.3.12, and ap-ssl-2.6.3 packages.
Run apachectl startssl
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: