You're right! I try my test in CCL, it runs smoothly. I can fork many child processes to do networking without any problem. I will report it to the SBCL developers.

Thanks

On Thu, Mar 21, 2013 at 4:01 AM, Luís Oliveira <luismbo@gmail.com> wrote:
On Wed, Mar 20, 2013 at 5:48 PM, agile software <agilesoftware@gmail.com> wrote:
> I have tried other memory allocation macros, I get the same result. But if I
> remove them, the program runs and exits normally.

This is likely to be unrelated to CFFI itself. I suggest you convert
your test case to plain SB-ALIEN -- you can get most of the way there
simply by macro-expanding your DEFCFUNs, etc -- and report the issue
to the SBCL developers. Let us know if you need help with that.

Cheers,

--
Luís Oliveira
http://r42.eu/~luis/