Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 67146 - stunnel core dumps with SIGSEGV
Summary: stunnel core dumps with SIGSEGV
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Lance Albertson (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-10-11 12:52 UTC by Hamish Marson
Modified: 2005-05-13 20:03 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Hamish Marson 2004-10-11 12:52:48 UTC
When stunnel starts, it immediately SIGSEGV's gdb strack trace shows
damned root # gdb stunnel
GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/sbin/stunnel 
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint

Program received signal SIGSEGV, Segmentation fault.
0x4012da38 in ?? ()
(gdb) where
#0  0x4012da38 in ?? ()
#1  0x08072aa0 in ERR_load_crypto_strings ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
damned root # 

Reproducible: Always
Steps to Reproduce:
1. type stunnel
2.
3.

Actual Results:  
damned root # gdb stunnel
GNU gdb 6.0
Copyright 2003 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 "i686-pc-linux-gnu"...(no debugging symbols
found)...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/sbin/stunnel 
warning: Unable to find dynamic linker breakpoint function.
GDB will be unable to debug shared library initializers
and track explicitly loaded dynamic code.
warning: shared library handler failed to enable breakpoint

Program received signal SIGSEGV, Segmentation fault.
0x4012da38 in ?? ()
(gdb) where
#0  0x4012da38 in ?? ()
#1  0x08072aa0 in ERR_load_crypto_strings ()
(gdb) quit
The program is running.  Exit anyway? (y or n) y
damned root #
Comment 1 Hamish Marson 2004-10-11 12:55:56 UTC
damned root # stunnel -version
stunnel 4.05 on i686-pc-linux-gnu PTHREAD+LIBWRAP with OpenSSL 0.9.6 24 Sep 2000
 
Global options
cert            = /etc/stunnel/stunnel.pem
ciphers         = ALL:!ADH:RC4+RSA:+SSLv2:@STRENGTH
debug           = 5
key             = /etc/stunnel/stunnel.pem
pid             = /var/lib/run/stunnel.pid
RNDbytes        = 64
RNDfile         = /dev/urandom
RNDoverwrite    = yes
session         = 300 seconds
verify          = none
 
Service-level options
TIMEOUTbusy     = 300 seconds
TIMEOUTclose    = 60 seconds
TIMEOUTidle     = 43200 seconds
damned root # 
Comment 2 Lance Albertson (RETIRED) gentoo-dev 2005-05-13 20:03:59 UTC
Are you still having this problem?