I've been testing Synapse's own httpsserv-demo. It works well on 
Windows, but on Linux it appears not to be thread-safe and crashes 
badly.

I changed the demo slightly to make it console-based (msgbox -> 
writeln), so it would not require X11. When I fire lots of wget-
requests from several computers simultaneously at it, it crashes very 
fast with the error message below.

I'm using Debian 5.0.5 on a Dell PowerEdge T100.
Compiler: FPC 2.4.1 (latest 2.4.0 from the fixes-branch)
The error can be reproduced with both the stable- and trunk-versions 
of Synapse.

My changes and an unstripped binary are available at:
http://www.starsoft.fi/jarto/httpsserv.tgz

Regards,

Jarto Tarpio

Error message:
*** glibc detected *** ./httpsservconsole: double free or corruption 
(!prev): 0xb6402830 ***
======= Backtrace: =========
/lib/i686/cmov/libc.so.6[0xb7633764]
/lib/i686/cmov/libc.so.6(cfree+0x96)[0xb7635966]
/usr/lib/i686/cmov/libcrypto.so.0.9.8(CRYPTO_free+0x3a)[0xb7430cca]
/usr/lib/i686/cmov/libcrypto.so.0.9.8(ERR_clear_error+0x5c0)[0xb74a26f
0]
/usr/lib/libssl.so(SSL_CTX_use_certificate_chain_file+0x242)[0xb757651
2]
...



------------------------------------------------------------------------------
Sell apps to millions through the Intel(R) Atom(Tm) Developer Program
Be part of this innovative community and reach millions of netbook users 
worldwide. Take advantage of special opportunities to increase revenue and 
speed time-to-market. Join now, and jumpstart your future.
http://p.sf.net/sfu/intel-atom-d2d
_______________________________________________
synalist-public mailing list
synalist-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synalist-public

Reply via email to