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


Marc Guardiola <[EMAIL PROTECTED]> changed:

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




--- Comment #8 from Marc Guardiola <[EMAIL PROTECTED]>  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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to