Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 29 Jan 2006 06:22:02 GMT
From:      Andrew Partan <asp@partan.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/92490: www/apache22: crash in bn_mul_add_words if module ssl_module is loaded
Message-ID:  <200601290622.k0T6M2Ak024084@www.freebsd.org>
Resent-Message-ID: <200601290630.k0T6U3R8081686@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         92490
>Category:       ports
>Synopsis:       www/apache22: crash in bn_mul_add_words if module ssl_module is loaded
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jan 29 06:30:03 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Andrew Partan
>Release:        4.11-RELEASE-p14
>Organization:
>Environment:
FreeBSD mail.penhood.net 4.11-RELEASE-p11 FreeBSD 4.11-RELEASE-p11 #4: Thu Aug 25 15:16:56 EDT 2005     asp@test1.partan.com:/usr/obj/usr/src/sys/GENERIC  i386
>Description:
              Starting apache22 with no changes to httpd.conf, it will crash immediately in bn_mul_add_words.  If you comment out the "LoadModule ssl_module", then apache22 starts up.

This is for apache-2.2.0_5 with openssl-0.9.8a.

mail# /usr/local/etc/rc.d/apache22.sh start
Performing sanity check on apache22 configuration:
Syntax OK
Starting apache22.
Bus error (core dumped)

asp@mail-214: gdb /usr/local/sbin/httpd /tmp/httpd.core 
GNU gdb 4.18 (FreeBSD)
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-unknown-freebsd"...
(no debugging symbols found)...
Core was generated by `httpd'.
Program terminated with signal 10, Bus error.
Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libaprutil-1.so.2...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libexpat.so.5...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libiconv.so.3...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libapr-1.so.2...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols found)...
done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authn_file.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authn_dbm.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authn_anon.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authn_default.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authz_host.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authz_groupfile.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authz_user.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authz_dbm.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authz_owner.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_authz_default.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_auth_basic.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_auth_digest.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_file_cache.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_cache.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_disk_cache.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_include.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_filter.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_charset_lite.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_deflate.so...
(no debugging symbols found)...done.
Reading symbols from /usr/lib/libz.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_log_config.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_logio.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_env.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_mime_magic.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_cern_meta.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_expires.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_headers.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_usertrack.so...
(no debugging symbols found)...done.
---Type <return> to continue, or q <return> to quit--- 
Reading symbols from /usr/local/libexec/apache22/mod_unique_id.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_setenvif.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_ssl.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libssl.so.4...
(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libcrypto.so.4...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_mime.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_dav.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_status.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_autoindex.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_asis.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_info.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_cgi.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_dav_fs.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_vhost_alias.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_negotiation.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_dir.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_imagemap.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_actions.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_speling.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_userdir.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_alias.so...
(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache22/mod_rewrite.so...
(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...
done.
#0  0x28401c41 in bn_mul_add_words () from /usr/local/lib/libcrypto.so.4
(gdb) bt f
#0  0x28401c41 in bn_mul_add_words () from /usr/local/lib/libcrypto.so.4
No symbol table info available.
#1  0x8 in ?? ()
No symbol table info available.
Cannot access memory at address 0x825a333e.
(gdb)  
>How-To-Repeat:
              start apache22 with the default configuration & watch it core dump.
>Fix:
              
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200601290622.k0T6M2Ak024084>