[cl-plus-ssl-devel] ssl crashing in hunchentoot. A solution?
Daniel Brunner
daniel at dbrunner.de
Fri Apr 8 17:40:55 UTC 2011
Hello!
Well, I did some more testing (the source included your last ffi.lisp
fix) on Linux. Most of the time it didn't crash. But I saw one crash
(with -c 20):
--8<--
? *** glibc detected *** /home/dbr/sw/ccl/lx86cl64: double free or
corruption (fasttop): 0x00007f5660010410 ***
======= Backtrace: =========
/lib/libc.so.6(+0x775b6)[0x7f5672c9b5b6]
/lib/libc.so.6(cfree+0x73)[0x7f5672ca1e83]
/home/dbr/sw/ccl/lx86cl64(_SPffcall+0x75)[0x411cc5]
======= Memory map: ========
00012000-00014000 rwxp 00000000 08:03 2238870
/home/dbr/sw/ccl/lx86cl64.image
00015000-00016000 rwxp 00000000 00:00 0
00400000-0042c000 r-xp 00000000 08:03 2238869
/home/dbr/sw/ccl/lx86cl64
0062b000-0062c000 r-xp 0002b000 08:03 2238869
/home/dbr/sw/ccl/lx86cl64
0062c000-0062d000 rwxp 0002c000 08:03 2238869
/home/d
...
--8<--
But I never had that message before (perhaps it occured only when
testing my application and I found some code that is not thread-safe).
Therefore I suppose the CCL on Linux version is working/stable.
On Windows (I tested the 32 Bit version) Hunchentoot crashes immediately.
> Daniel, what version of OpenSSL is installed on your Windows systems?
> Mine is OpenSSL 1.0.0 29 Mar 2010, downloaded from [3].
Mine is 1.0.0.4 and I downloaded it from the same location.
> Probably the cause is OpenSSL we use?
>
> 1 - http://www.openssl.org/docs/crypto/threads.html.
> 2 - http://www.siftsoft.com/inprogress/sbcl-notes.html
> http://www.siftsoft.com/dl/sbcl-1.0.47.9.275.wth.kovalenko-x86.msi
> 3 - http://www.slproweb.com/products/Win32OpenSSL.html
>
> Best regards,
> - Anton
>
Best regards, Daniel.
More information about the cl-plus-ssl-devel
mailing list