orivej / pzmq

ZeroMQ 4.0+ Common Lisp bindings.

Home Page:http://orivej.github.io/pzmq/doc/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Does not work at all on Arch linux with sbcl

sirherrbatka opened this issue · comments

Hi,

I was trying to use those bindings on arch linux with zeromq 4.1.4. I tried to use slightly altered code from unit test:

(defun request-response ()
(pzmq:with-sockets ((sender :req) (receiver :rep))
(pzmq:bind sender "inproc://source")
(pzmq:connect receiver "inproc://source")
(pzmq:send sender "test")
(print (pzmq:recv-string receiver))))

However this code will trigger crash of whole lisp enviorment. SBCL will land in the ldb with message:

Argh! corrupted error depth, halting
fatal error encountered in SBCL pid 14032(tid 140737232664320):
%PRIMITIVE HALT called; the party is over.

I'm not sure what is going on here. Older zmq bindings seems to work correctly (though i can't seem to find how to recv with noblocking flag, other things are quite messy as well).

Do you have any clue on what is going on here?

It should have been fixed in this repository, but not in Quicklisp yet: #10

Older zmq bindings seems to work correctly

Which bindings do you mean?

Quicklisp dist has been updated.