[zeromq-dev] Assertion using ZMQ 3.0.x
Emmanuel TAUREL
taurel at esrf.fr
Fri Sep 2 08:05:31 CEST 2011
Hello,
Of course, here it is:
(gdb) bt
#0 0x0051c416 in __kernel_vsyscall ()
#1 0x00164941 in raise (sig=6) at
../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2 0x00167e42 in abort () at abort.c:92
#3 0x00ce5bc8 in zmq::msg_t::rm_refs (this=0xbfdbe7bc, refs_=1)
at ../../src/msg.cpp:270
#4 0x00ce14ab in zmq::dist_t::distribute (this=0x9d09884, msg_=0xbfdbe7bc,
flags_=2) at ../../src/dist.cpp:147
#5 0x00ce1563 in zmq::dist_t::send_to_matching (this=0x9d09884,
msg_=0xbfdbe7bc, flags_=2) at ../../src/dist.cpp:118
#6 0x00cf9c60 in zmq::xpub_t::xsend (this=0x9d09718, msg_=0xbfdbe7bc,
flags_=2) at ../../src/xpub.cpp:113
#7 0x00cf4b18 in zmq::socket_base_t::send (this=0x9d09718,
msg_=0xbfdbe7bc,
flags_=<value optimized out>) at ../../src/socket_base.cpp:521
#8 0x00cfdebe in zmq_sendmsg (s_=0x9d09718, msg_=0xbfdbe7bc, flags_=2)
at ../../src/zmq.cpp:266
#9 0x08049c6c in zmq::socket_t::send (this=0xbfdbe758, msg_=..., flags_=2)
at /home/taurel/bin/zmq/include/zmq.hpp:269
#10 0x08049521 in main (argc=3, argv=0xbfdbe8b4) at pub.cpp:59
I forgot to tell you in my previous e-mail that I do not have this
problem using ZMQ 2.1.7 in the same test case
Do I have to create a Jira issue for this?
Good luck
Emmanuel
On 01/09/2011 18:01, Martin Sustrik wrote:
> Emmanuel,
>
>> Assertion failed: u.lmsg.flags& msg_t::shared (../../src/msg.cpp:270)
>> Aborted (core dumped)
>
> Can you possibly provide the backtrace for the assertion?
>
> Thanks,
> Martin
More information about the zeromq-dev
mailing list