[zeromq-dev] publish/subscribe hangs in libzmq

Ian Barber ian.barber at gmail.com
Fri Dec 30 22:06:49 CET 2011


On Fri, Dec 30, 2011 at 2:15 PM, Toralf Wittner <toralf.wittner at gmail.com>wrote:

>
> Running against 0MQ 2.1.11 yields the expected result:
>
> $ g++ -g -ggdb -O0 -Wall -o testcase-cpp -I/opt/zeromq2-1/include/
> -L/opt/zeromq2-1/lib  testcase.cc -lzmq
> $ ./testcase-cpp
> hello
>
> Compiling and running against libzmq (current HEAD
> 6f32361fea61619fec94348de693a9e3ff8981e0) will not terminate. Here the
> stacktraces:
>
> $ g++ -g -ggdb -O0 -Wall -o testcase-cpp -I/opt/zeromq3-1/include/
> -L/opt/zeromq3-1/lib  testcase.cc -lzmqI did not look too closely but it
> seems that no subscriptions match in
> zmq::xpub_t::xsend, i.e. no pipe is marked as matching and
> dist.send_to_matching will not send out anything (with
> dist.send_to_all this program works just like in 0MQ 2.1.11).
>
> T.
>

Toralf - this is a known issues, take a look at
https://zeromq.jira.com/browse/LIBZMQ-248 /
https://zeromq.jira.com/browse/LIBZMQ-270

248 has a workaround (that may be of use).

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20111230/9532136d/attachment.htm>


More information about the zeromq-dev mailing list