[zeromq-dev] C++ assertion failed with Java client

Kishore Kopalle kkopalle at gmail.com
Thu Feb 2 06:42:39 CET 2012


Hello All,
I am receiving the following errors when I try to work in a multi-threaded
environment (10 threads) where ZeroMQ is used to send/receive messages

Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: nbytes == sizeof (dummy) (..\..\..\src\signaler.cpp:203)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)
Assertion failed: ok (..\..\..\src\mailbox.cpp:79)

Please let me know if we can use ZeroMQ api with multi threading? Also is
there a limit on number of threads that can be spawned?

Regards,
Kishore
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120202/aa5b26b9/attachment.htm>


More information about the zeromq-dev mailing list