i386/51676: <cvsup breaks apache with modssl>

andy andy at accelerate.uk.com
Thu May 1 15:40:12 PDT 2003


>Number:         51676
>Category:       i386
>Synopsis:       <cvsup breaks apache with modssl>
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May 01 15:40:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     andy
>Release:        FreeBSD 4.8-STABLE i386
>Organization:
>Environment:
System: FreeBSD dns1.accelerate.uk.com 4.8-STABLE FreeBSD 4.8-STABLE #2: Thu May 1 10:35:54 BST 2003 root at dns1.accelerate.uk.com:/usr/src/sys/compile/MULTI-DNS1 i386


	<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 11, Segmentation fault.
Reading symbols from /usr/lib/libcrypt.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libmm.so.12...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libc.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mmap_static.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_vhost_alias.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_env.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_define.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_log_config.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mime_magic.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_mime.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_negotiation.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_status.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_info.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_include.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_autoindex.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_dir.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_cgi.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_asis.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_imap.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_actions.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_speling.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_userdir.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_alias.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_rewrite.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_access.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth_anon.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_auth_db.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_digest.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/libproxy.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_cern_meta.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_expires.so...(no debugging symbols found)...done.
---Type <return> to continue, or q <return> to quit---
Reading symbols from /usr/local/libexec/apache/mod_headers.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_usertrack.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_unique_id.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_setenvif.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/libauth_mysql.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libmysqlclient.so.10...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libz.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libm.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/mod_throttle.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/libphp3.so...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libc-client4.so.8...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libintl.so.4...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libpam.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/compat/libssl.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/lib/compat/libcrypto.so.2...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libiconv.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/local/libexec/apache/libphp4.so...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libcrypto.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libssl.so.3...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libmcrypt.so.8...(no debugging symbols found)...done.
Reading symbols from /usr/local/lib/libltdl.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/lib/libbz2.so.1...(no debugging symbols found)...done.
Reading symbols from /usr/libexec/ld-elf.so.1...(no debugging symbols found)...done.
#0  0x28591a1a in sk_num () from /usr/lib/compat/libcrypto.so.2

-su-2.05b# exec strace -f -o /tmp/strace.out /usr/local/sbin/httpd -X
-su-2.05b# tail -50 strace.out
2663  ioctl(4, TIOCGETA, 0xbfbff418)    = -1 ENOTTY (Inappropriate ioctl for device)
2663  fstat(4, {st_mode=S_IFREG|0444, st_size=37804, ...}) = 0
2663  break(0x8105000)                  = 0
2663  read(4, "[PHP]\n\n;;;;;;;;;;;\n; WARNING ;\n;"..., 16384) = 16384
2663  break(0x8106000)                  = 0
2663  read(4, ";;;;;;;;;\n\n; UNIX: \"/path1:/path"..., 16384) = 16384
2663  break(0x8107000)                  = 0
2663  read(4, "ssql.max_persistent = -1\n\n; Maxi"..., 16384) = 5036
2663  read(4, "", 16384)                = 0
2663  ioctl(4, TIOCGETA, 0xbfbfe834)    = -1 ENOTTY (Inappropriate ioctl for device)
2663  close(4)                          = 0
2663  break(0x8108000)                  = 0
2663  break(0x8109000)                  = 0
2663  break(0x810a000)                  = 0
2663  break(0x810b000)                  = 0
2663  break(0x810c000)                  = 0
2663  break(0x810d000)                  = 0
2663  break(0x810e000)                  = 0
2663  break(0x810f000)                  = 0
2663  break(0x8110000)                  = 0
2663  break(0x8111000)                  = 0
2663  break(0x8112000)                  = 0
2663  break(0x8113000)                  = 0
2663  break(0x8114000)                  = 0
2663  break(0x8115000)                  = 0
2663  break(0x8116000)                  = 0
2663  break(0x8117000)                  = 0
2663  break(0x8118000)                  = 0
2663  break(0x8119000)                  = 0
2663  break(0x811a000)                  = 0
2663  break(0x811b000)                  = 0
2663  break(0x811c000)                  = 0
2663  break(0x811d000)                  = 0
2663  break(0x811e000)                  = 0
2663  break(0x811f000)                  = 0
2663  break(0x8120000)                  = 0
2663  break(0x8121000)                  = 0
2663  break(0x8122000)                  = 0
2663  break(0x8123000)                  = 0
2663  break(0x8124000)                  = 0
2663  break(0x8125000)                  = 0
2663  break(0x8126000)                  = 0
2663  break(0x8127000)                  = 0
2663  break(0x8128000)                  = 0
2663  break(0x8129000)                  = 0
2663  break(0x812a000)                  = 0
2663  break(0x812b000)                  = 0
2663  break(0x812c000)                  = 0
2663  --- SIGSEGV (Segmentation fault) ---
2663  --- SIGSEGV (Segmentation fault) ---


May  1 23:27:23 dns1 /kernel: pid 2832 (httpd), uid 0: exited on signal 11 (core dumped)

-su-2.05b# apachectl configtest
Syntax OK


>
>Description:
	<cvsup'd on 30/04/03 and rebuilt machine, since havent been able to start apache. Have rebuilt complete source 
using make buildworld and remade apache from ports and still the same effect. Other services using openssl on the 
machine apear unaffected.>
>How-To-Repeat:
	<cvs up to 4.8 RELEASE from RC1 and buildworld, rebuild openssl and apache13-modssl from ports, run apache.>
>Fix:

	


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list