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>