You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2008/08/05 15:30:40 UTC

DO NOT REPLY [Bug 45559] New: Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

https://issues.apache.org/bugzilla/show_bug.cgi?id=45559

           Summary: Segfaults of apache on RHEL3, also different ldd output
                    of bin/httpd (related?)
           Product: Apache httpd-2
           Version: 2.0.63
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: All
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: mguardiola@asp4all.nl


Created an attachment (id=22382)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=22382)
strace output when apache segfaults

Hi,

Since we've upgraded to apache 2.0.63 we're experiencing random segmentation
faults at apache startup. Disabling certain modules (php and jk) and lowering
the number of configured threads lead to a decreased 'chance' of crashing.
Still however, it shouldn't be the modules problem since they work fine on
2.0.61 .

ldd of bin/httpd on 2.0.61:

        libz.so.1 => /usr/lib/libz.so.1 (0x009fc000)
        libssl.so.4 => /lib/libssl.so.4 (0x00f26000)
        libcrypto.so.4 => /lib/libcrypto.so.4 (0x00715000)
        libgssapi_krb5.so.2 => /usr/kerberos/lib/libgssapi_krb5.so.2
(0x00bae000)
        libkrb5.so.3 => /usr/kerberos/lib/libkrb5.so.3 (0x002bb000)
        libcom_err.so.3 => /usr/kerberos/lib/libcom_err.so.3 (0x004ab000)
        libk5crypto.so.3 => /usr/kerberos/lib/libk5crypto.so.3 (0x0094a000)
        libresolv.so.2 => /lib/libresolv.so.2 (0x004cb000)
        libaprutil-0.so.0 => /usr/local/apache/lib/libaprutil-0.so.0
(0x00ceb000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x00111000)
        libapr-0.so.0 => /usr/local/apache/lib/libapr-0.so.0 (0x00bff000)
        librt.so.1 => /lib/tls/librt.so.1 (0x006f0000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00131000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00f64000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00abc000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x00343000)
        libdl.so.2 => /lib/libdl.so.2 (0x004f2000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00153000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x006d2000)


ldd of bin/httpd on 2.0.63:

        libz.so.1 => /usr/lib/libz.so.1 (0x00698000)
        libaprutil-0.so.0 => /usr/local/apache/lib/libaprutil-0.so.0
(0x00275000)
        libexpat.so.0 => /usr/lib/libexpat.so.0 (0x007d5000)
        libapr-0.so.0 => /usr/local/apache/lib/libapr-0.so.0 (0x0053d000)
        librt.so.1 => /lib/tls/librt.so.1 (0x00d21000)
        libm.so.6 => /lib/tls/libm.so.6 (0x00111000)
        libcrypt.so.1 => /lib/libcrypt.so.1 (0x00eb5000)
        libnsl.so.1 => /lib/libnsl.so.1 (0x00bf0000)
        libpthread.so.0 => /lib/tls/libpthread.so.0 (0x002b4000)
        libdl.so.2 => /lib/libdl.so.2 (0x00afc000)
        libc.so.6 => /lib/tls/libc.so.6 (0x00133000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00dc2000)


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559





--- Comment #6 from Marc Guardiola <mg...@asp4all.nl>  2008-08-06 14:47:51 PST ---
I could do that. I'm not sure though if openssl will handle bugs regarding an
'old' version patched by RedHat. I'd first have to see if this problem happens
with the latest version of openssl as well, if this isn't the case then it
could be RedHat's problem. Then RedHat maybe doesn't care because they're not
shipping 2.0.63 . What a cruel world we live in.

Things that would make me think it's an issue with apache is that versions
prior to 2.0.63 work like a charm, as does our other software that is linked to
openssl. Also strange and that 2.0.63 crashes 'most of the time' instead of
always. However, the thing that works in favour of apache is that we dont have
this problem on RHEL4. RHEL3 and RHEL4 got the same version of openssl though,
0.9.7a (patched). Although RedHat perhaps didn't patch them identically.

Do you have an idea what changes in 2.0.63 regarding the aproach of using the
openssl libraries could cause this ? If it's a bug in openssl, maybe it's
already out there.. ?


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Marc Guardiola <mg...@asp4all.nl> changed:

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




--- Comment #2 from Marc Guardiola <mg...@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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Ruediger Pluem <rp...@apache.org> changed:

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




--- Comment #3 from Ruediger Pluem <rp...@apache.org>  2008-08-06 02:27:40 PST ---
Please try bt full instead of bt. Looks like a crash in the openssl library.
Regarding the differences in your ldd output, this seems to be caused by
http://svn.apache.org/viewvc?view=rev&revision=607260 and works as designed.


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Marc Guardiola <mg...@asp4all.nl> changed:

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




-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Ruediger Pluem <rp...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Ruediger Pluem <rp...@apache.org>  2008-08-05 11:36:59 PST ---
Please provide a backtrace of the crashed process.
Regarding the ldd output: Your 2.0.63 is not compiled with mod_ssl and SSL
support.


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Marc Guardiola <mg...@asp4all.nl> changed:

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




--- Comment #8 from Marc Guardiola <mg...@asp4all.nl>  2008-08-15 13:08:45 PST ---
Looks like the segfault happens on the second call, indeed seems to have to do
with line 63. See below:

# gdb ./httpd
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"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) b ssl_engine_init.c:63
No source file named ssl_engine_init.c.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (ssl_engine_init.c:63) pending.
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread -1218512448 (LWP 7139)]
Breakpoint 2 at 0x1539ea: file ssl_engine_init.c, line 63.
Pending breakpoint "ssl_engine_init.c:63" resolved
[Fri Aug 15 21:41:56 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
[Switching to Thread -1218512448 (LWP 7139)]

Breakpoint 2, ssl_init_SSLLibrary (s=0x83f8f20) at ssl_engine_init.c:63
63          SSL_load_error_strings();
(gdb) c
Continuing.
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/local/apache/modules/mod_ssl.so"
Breakpoint 2 at 0x1569ea: file ssl_engine_init.c, line 63.

Breakpoint 2, ssl_init_SSLLibrary (s=0x83f8848) at ssl_engine_init.c:63
63          SSL_load_error_strings();
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x0021fe2a in ERR_reason_error_string () from /lib/libcrypto.so.4
(gdb) c
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit

----------------

# gdb ./httpd
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"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) b ssl_engine_init.c:63
No source file named ssl_engine_init.c.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (ssl_engine_init.c:63) pending.
(gdb) b ssl_engine_init.c:64
No source file named ssl_engine_init.c.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 2 (ssl_engine_init.c:64) pending.
(gdb) run -X
Starting program: /usr/local/apache/bin/httpd -X
[Thread debugging using libthread_db enabled]
[New Thread -1218528832 (LWP 7222)]
Breakpoint 3 at 0xb259ea: file ssl_engine_init.c, line 63.
Pending breakpoint "ssl_engine_init.c:63" resolved
Breakpoint 4 at 0xb259f2: file ssl_engine_init.c, line 64.
Pending breakpoint "ssl_engine_init.c:64" resolved
[Fri Aug 15 21:48:52 2008] [warn] NameVirtualHost *:80 has no VirtualHosts
[Switching to Thread -1218528832 (LWP 7222)]

Breakpoint 3, ssl_init_SSLLibrary (s=0x8130f20) at ssl_engine_init.c:63
63          SSL_load_error_strings();
(gdb) c
Continuing.

Breakpoint 4, ssl_init_SSLLibrary (s=0x8130f20) at ssl_engine_init.c:64
64          SSL_library_init();
(gdb) c
Continuing.
warning: Temporarily disabling breakpoints for unloaded shared library
"/usr/local/apache/modules/mod_ssl.so"
Breakpoint 3 at 0xc519ea: file ssl_engine_init.c, line 63.
Breakpoint 4 at 0xc519f2: file ssl_engine_init.c, line 64.

Breakpoint 3, ssl_init_SSLLibrary (s=0x8130848) at ssl_engine_init.c:63
63          SSL_load_error_strings();
(gdb) c
Continuing.

Program received signal SIGSEGV, Segmentation fault.
0x00e81e2a in ERR_reason_error_string () from /lib/libcrypto.so.4
(gdb) c
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559





--- Comment #5 from Ruediger Pluem <rp...@apache.org>  2008-08-06 11:58:09 PST ---
Sorry no real idea what it is. SSL_load_error_strings does not take any input
parameters, so this smells like something weird is going on inside openssl.
Mind to report this to the openssl bugtracker?


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Will Rowe <wr...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|ASSIGNED                    |RESOLVED
         Resolution|                            |INVALID




--- Comment #9 from Will Rowe <wr...@apache.org>  2008-08-15 17:04:15 PST ---
I thought this looked familiar, thanks for testing.

Either upgrade to the current OpenSSL, or hound redhat for a "patched" update
to their one-off release of OpenSSL.  Either way, this is not an httpd issue.


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559


Will Rowe <wr...@apache.org> changed:

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




--- Comment #7 from Will Rowe <wr...@apache.org>  2008-08-14 12:18:29 PST ---
Could you please set a breakpoint at ssl_engine_init.c:63

confirm if this segfaults on the first time you continue into this line,
or if the segfault is on a subsequent call to this line?


-- 
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


DO NOT REPLY [Bug 45559] Segfaults of apache on RHEL3, also different ldd output of bin/httpd (related?)

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=45559





--- Comment #4 from Marc Guardiola <mg...@asp4all.nl>  2008-08-06 06:18:11 PST ---
Hi,

See below for the bt full. 

# 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 -1218532928 (LWP 10559)]
[Wed Aug 06 15:16:01 2008] [warn] NameVirtualHost *:80 has no VirtualHosts

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218532928 (LWP 10559)]
0x00281e2a in ERR_reason_error_string () from /lib/libcrypto.so.4
(gdb) bt full
#0  0x00281e2a in ERR_reason_error_string () from /lib/libcrypto.so.4
No symbol table info available.
#1  0x0027e55e in lh_insert () from /lib/libcrypto.so.4
No symbol table info available.
#2  0x00280d3b in ERR_set_implementation () from /lib/libcrypto.so.4
No symbol table info available.
#3  0x002813c3 in ERR_load_ERR_strings () from /lib/libcrypto.so.4
No symbol table info available.
#4  0x00b15fd3 in ERR_load_SSL_strings () from /lib/libssl.so.4
No symbol table info available.
#5  0x00b0d26e in SSL_load_error_strings () from /lib/libssl.so.4
No symbol table info available.
#6  0x001248f6 in ssl_init_SSLLibrary (s=0x90dd848) at ssl_engine_init.c:63
No locals.
#7  0x00124c56 in ssl_init_Module (p=0x90d90a8, plog=0x9111188,
ptemp=0x911a1a8, base_server=0x90dd848) at ssl_engine_init.c:226
        mc = (SSLModConfigRec *) 0x9191150
        sc = (SSLSrvConfigRec *) 0x9191150
        s = (server_rec *) 0x0
#8  0x0807d798 in ap_run_post_config ()
No symbol table info available.
#9  0x08082192 in main ()
No symbol table info available.
(gdb) c
Continuing.

Program terminated with signal SIGSEGV, Segmentation fault.
The program no longer exists.
(gdb) quit


-- 
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