Version 4.45 is ok - at least it is not printing this error. I will stress test my setup tomorrow. <br><br>The problem appears starting at 4.46:<br><br>STUNNEL_SOURCE=stunnel-4.52 # INTERNAL ERROR: Memory allocated in a different thread at network.c, line 63<br>
STUNNEL_SOURCE=stunnel-4.50 # INTERNAL ERROR: Wrong thread at network.c, line 63<br>STUNNEL_SOURCE=stunnel-4.49 # INTERNAL ERROR: Wrong thread at network.c, line 63<br>STUNNEL_SOURCE=stunnel-4.47 # INTERNAL ERROR: Out of memory at network.c, line 63<br>
STUNNEL_SOURCE=stunnel-4.46 # INTERNAL ERROR: Out of memory at network.c, line 63<br>STUNNEL_SOURCE=stunnel-4.45 # ok!<br><br><br><br><div class="gmail_quote">2012/2/27 Philippe A. <span dir="ltr"><<a href="mailto:futhark77@gmail.com">futhark77@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hello,<br><br>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 removed). <br>
<br>stunnel: INTERNAL ERROR: Memory allocated in a different thread at network.c, line 63<br>
<br>This is how I configured:<br><br>� LDFLAGS=-Wl,-rpath,/usr/local/app/openssl/lib64 \<br>��� ./configure --prefix=/usr/local/app/stunnel \<br>��� --includedir=$PKG_HOME/openssl/include/ \<br>��� --with-ssl=$PKG_HOME/openssl/ \<br>

��� --with-threads=fork \<br>��� --disable-libwrap��� <br><br>Where PKG_HOME is a variable of my own. <br><br>I had the same error with version 4.51. <br><br>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.<br>

<br>In case this information is needed, this is how I configured openssl.<br><br>� ./config --prefix=/usr/local/app/openssl --libdir=lib64 shared zlib-dynamic no-ssl2��� <br><br>This is on RHEL 5.5<br><br>Regards.<br>
</blockquote></div><br>