[Openmcl-devel] ccl64 freebsd64 hunchentoot segfault

Antony lisp.linux at gmail.com
Wed Feb 8 16:06:10 UTC 2012


On 2/7/2012 12:06 PM, Gary Byers wrote:
> I could speculate more, but I don't know how useful that'd be.  I don't
> know of any FreeBSD-specific CCL problems that might cause this but that
> doesn't mean too much either way.
>
I am able to reproduce this without any of my code (Thanks to some prodding)
Following is what I did
run CCL as

CCL_DEFAULT_DIRECTORY=/home/antony/ccl.freebsd/ccl 
/home/antony/ccl.freebsd/ccl/scripts/ccl64

in the repl do the following

(load #P"/home/antony/git/thirdparty/asdf")
(asdf:initialize-source-registry
  (list :source-registry (list :tree #P"/home/antony/git/thirdparty") 
;;where hunchentoot and it's dependencies live
        :inherit-configuration))
(asdf:oos 'asdf:load-op :hunchentoot)
(defvar *https* (hunchentoot:start
            (make-instance 'hunchentoot:easy-ssl-acceptor :port 8083
                           :ssl-privatekey-password "xxxxxxx"
                           :ssl-certificate-file  
"~/git/config/https-cert/server.crt"
                           :ssl-privatekey-file 
"~/git/config/https-cert/server.key")))

Run apache bench as
ab -n 2000 -c 4 'https://xxxxx:8083/'
I get segfault after some requests

ab does not ignore  ssl cert errors (mine is self signed),
so you essentially get a series of aborted requests,

to make the test more complete, i got hold of the following script
this ignores the cert sign error and does full requests
(from 
http://stackoverflow.com/questions/189993/how-do-i-fix-ssl-handshake-failed-with-apachebench 
)
#--------------------------------------------------
#!/bin/bash
K=200;
HTTPSA='https://192.168.0.105:8083/'
date +%M-%S-%N
for (( c=1; c<=$K; c++ ))
do
     wget --no-check-certificate --secure-protocol=SSLv3 --spider $HTTPSA &
done
date +%M-%S-%N
#------------------------------------------------

and ran it concurrently as
  sh qqqqqq.sh &  sh qqqqqq.sh &
this also caused segfault

But neither caused segfault on CCL+linux

The core file is still too big to email

-Antony









More information about the Openmcl-devel mailing list