httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)
Date Tue, 05 Aug 2008 23:03:05 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Marc Guardiola <mguardiola@asp4all.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |ASSIGNED




--- Comment #2 from Marc Guardiola <mguardiola@asp4all.nl>  2008-08-05 16:03:05 PST
---
Both versions are configured and compiled in exactly the same way, with ssl
support, with the following configure parameters:

./configure --enable-so --prefix=/usr/local/apache --enable-mods-shared="proxy
ssl deflate rewrite headers expires" --enable-vhost-alias

modules/mod_ssl.so is present after compiling. LoadModule ssl_module
modules/mod_ssl.so works, https works fine. The script below shows how I tested
this repeatedly. 

----
for version in 61 63; do
  cd /export/redhatsrc/TARS
  rm -Rf httpd-2.0.$version
  rm -Rf httpd-2.0.$version.tar.gz
  echo wget; wget -q
http://archive.apache.org/dist/httpd/httpd-2.0.$version.tar.gz
  echo tar; tar xzf httpd-2.0.$version.tar.gz
  cd httpd-2.0.$version
  echo confgure; ./configure --enable-so --prefix=/usr/local/apache
--enable-mods-shared="proxy ssl deflate rewrite headers expires"
--enable-vhost-alias > /dev/null
  echo make; make > /dev/null
  echo 2.0.$version:
  ldd .libs/httpd
  echo ""
done
----

wget
tar
configure
config.status: WARNING:  apr-config.in seems to ignore the --datarootdir
setting
make
libtool: link: warning: `-version-info' is ignored for programs
2.0.61:
        libz.so.1 => /usr/lib/libz.so.1 (0x00671000)
        libssl.so.4 => /lib/libssl.so.4 (0x0057b000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x00829000)
        libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
(0x00111000)
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x00131000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x00ee8000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x0018f000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x00d17000)
        libaprutil-0.so.0 => /usr/local/apache/lib/libaprutil-0.so.0
(0x00c16000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x009ef000)
        libapr-0.so.0 => /usr/local/apache/lib/libapr-0.so.0 (0x007da000)
        librt.so.1 => /lib/tls/librt.so.1 (0x00955000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00c6e000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00eb2000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x001a1000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x001b6000)
        libdl.so.2 => /lib/libdl.so.2 (0x001e2000)
        libc.so.6 => /lib/tls/libc.so.6 (0x006a0000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00b26000)

wget
tar
configure
config.status: WARNING:  apr-config.in seems to ignore the --datarootdir
setting
make
libtool: link: warning: `-version-info' is ignored for programs
2.0.63:
        libz.so.1 => /usr/lib/libz.so.1 (0x00584000)
        libaprutil-0.so.0 => /usr/local/apache/lib/libaprutil-0.so.0
(0x00ddf000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x005b2000)
        libapr-0.so.0 => /usr/local/apache/lib/libapr-0.so.0 (0x003e4000)
        librt.so.1 => /lib/tls/librt.so.1 (0x00162000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00a8b000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00c53000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x0018d000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00111000)
        libdl.so.2 => /lib/libdl.so.2 (0x00a0d000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00eae000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00298000)
--


See below for the backtrace, attempt #3 segfaults.

# gdb ./httpd 2>&1 | tee gdb-httpd.txt
GNU gdb Red Hat Linux (6.3.0.0-1.138.el3rh)
Copyright 2004 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-redhat-linux-gnu"...(no debugging symbols
found)
Using host libthread_db library "/lib/tls/libthread_db.so.1".

(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1218524736 (LWP 29662)]
[Wed Aug 06 00:39:16 2008] [warn] NameVirtualHost *:80 has no VirtualHosts

Program received signal SIGTERM, Terminated.
[Switching to Thread -1218524736 (LWP 29662)]
0x00174d7c in accept () from /lib/tls/libpthread.so.0
(gdb) run -X
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/apache/bin/httpd -X
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1218516544 (LWP 29691)]
[Wed Aug 06 00:39:47 2008] [warn] NameVirtualHost *:80 has no VirtualHosts

Program received signal SIGTERM, Terminated.
[Switching to Thread -1218516544 (LWP 29691)]
0x008f6d7c in accept () from /lib/tls/libpthread.so.0
(gdb) run -X
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/local/apache/bin/httpd -X
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1218528832 (LWP 29734)]
[Wed Aug 06 00:41:06 2008] [warn] NameVirtualHost *:80 has no VirtualHosts

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218528832 (LWP 29734)]
0x00360e2a in ERR_reason_error_string () from /lib/libcrypto.so.4
(gdb) bt
#0  0x00360e2a in ERR_reason_error_string () from /lib/libcrypto.so.4
#1  0x0035d55e in lh_insert () from /lib/libcrypto.so.4
#2  0x0035fd3b in ERR_set_implementation () from /lib/libcrypto.so.4
#3  0x003603c3 in ERR_load_ERR_strings () from /lib/libcrypto.so.4
#4  0x00a92fd3 in ERR_load_SSL_strings () from /lib/libssl.so.4
#5  0x00a8a26e in SSL_load_error_strings () from /lib/libssl.so.4
#6  0x00df78f6 in ssl_init_SSLLibrary (s=0x97d0848) at ssl_engine_init.c:63
#7  0x00df7c56 in ssl_init_Module (p=0x97cc0a8, plog=0x9804188,
ptemp=0x980d1a8, base_server=0x97d0848) at ssl_engine_init.c:226
#8  0x0807d798 in ap_run_post_config ()
#9  0x08082192 in main ()
(gdb)


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message