[zeromq-dev] Assertion at mailbox_t::recv

Jammy jammy.linux at gmail.com
Tue Jan 29 08:50:23 CET 2013


Hi~ @list, we're using zeromq-2.2.0 in production.  Unfortunately, we ran into core dump issues these days due to the assertion within mailbox.cpp:84. see the following stacktrace

Below [pastebin link] is how we use the zeromq sockets, I knew zeromq sockets are not thread-safe, and there is no socket passing over threads.

http://pastebin.com/UcGQBj3E

Any thoughts? Thanks.

#0  0x00000038fc2328a5 in raise () from /lib64/libc.so.6
#1  0x00000038fc234085 in abort () from /lib64/libc.so.6
#2  0x0000003f65013749 in zmq::zmq_abort (errmsg_=0x2b6d <Address 0x2b6d out of bounds>) at err.cpp:76
#3  0x0000003f650158e0 in zmq::mailbox_t::recv (this=<value optimized out>, cmd_=<value optimized out>, timeout_=<value optimized out>) at mailbox.cpp:84
#4  0x0000003f650223dd in zmq::socket_base_t::process_commands (this=<value optimized out>, timeout_=<value optimized out>, throttle_=<value optimized out>)
   at socket_base.cpp:740
#5  0x0000003f65022ab1 in zmq::socket_base_t::getsockopt (this=<value optimized out>, option_=<value optimized out>, optval_=<value optimized out>, 
   optvallen_=<value optimized out>) at socket_base.cpp:280
#6  0x0000003f6502b25d in zmq_poll (items_=0x7f2a7f7dcde0, nitems_=2, timeout_=-1) at zmq.cpp:491



----------------------------------
Best wishes,
Jammy






-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130129/597c9893/attachment.htm>


More information about the zeromq-dev mailing list