[stunnel-users] Memory allocated in a different thread at network.c, line 63
futhark77 at gmail.com
Mon Feb 27 23:53:59 CET 2012
Version 4.45 is ok - at least it is not printing this error. I will stress
test my setup tomorrow.
The problem appears starting at 4.46:
STUNNEL_SOURCE=stunnel-4.52 # INTERNAL ERROR: Memory allocated in a
different thread at network.c, line 63
STUNNEL_SOURCE=stunnel-4.50 # INTERNAL ERROR: Wrong thread at network.c,
STUNNEL_SOURCE=stunnel-4.49 # INTERNAL ERROR: Wrong thread at network.c,
STUNNEL_SOURCE=stunnel-4.47 # INTERNAL ERROR: Out of memory at network.c,
STUNNEL_SOURCE=stunnel-4.46 # INTERNAL ERROR: Out of memory at network.c,
STUNNEL_SOURCE=stunnel-4.45 # ok!
2012/2/27 Philippe A. <futhark77 at gmail.com>
> I find the following error my syslog when stopping stunnel 4.52. The
> program seems to be unable to shutdown cleanly (ex: pid file doesn`t get
> stunnel: INTERNAL ERROR: Memory allocated in a different thread at
> network.c, line 63
> This is how I configured:
> LDFLAGS=-Wl,-rpath,/usr/local/app/openssl/lib64 \
> ./configure --prefix=/usr/local/app/stunnel \
> --includedir=$PKG_HOME/openssl/include/ \
> --with-ssl=$PKG_HOME/openssl/ \
> --with-threads=fork \
> Where PKG_HOME is a variable of my own.
> I had the same error with version 4.51.
> I do not see the error when running in foreground. I do not see the error
> either if I compile with threads instead of fork.
> In case this information is needed, this is how I configured openssl.
> ./config --prefix=/usr/local/app/openssl --libdir=lib64 shared
> zlib-dynamic no-ssl2
> This is on RHEL 5.5
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the stunnel-users