[zeromq-dev] Assertion failed: !(msg_->flags () & msg_t::more)(session_base.cpp:157)

RohanB rohanb at cs.uchicago.edu
Fri Sep 21 18:20:54 CEST 2012

Pieter Hintjens <ph <at> imatix.com> writes:

> On Fri, Sep 21, 2012 at 5:41 PM, RohanB <rohanb <at> cs.uchicago.edu> wrote:
> > I am working on zeromq with pgm as the transport. I have two boxes set up 
> > multicast. I'm using latest head revision: zeromq-libzmq-7a40df6 and am able 
> > publish from one box, receive on the other box.
> >
> > However when I try the other way round I get an error on the subscriber 
> >
> > Assertion failed: !(msg_->flags () & msg_t::more) (session_base.cpp:157)
> > Aborted
> Any chance you're using an old 2.x somewhere there? If so, could you
> find out exactly which is the old version? We are trying to make
> 0MQ/3.x compatible with old versions but it may not cover all of them.
> -Pieter

Hi Pieter 

Thanks for your reply but I'm certain there is no 2.X version being used... 
Here's the ldd on the executable showing that I'm using version 3 .so. 

dev1:/home/rbe/zeromq/zeromq-libzmq-7a40df6/examples/C++> ./pgm_sub 
Assertion failed: !(msg_->flags () & msg_t::more) (session_base.cpp:157)

dev1-chi:/home/rbe/zeromq/zeromq-libzmq-7a40df6/examples/C++> ldd ./pgm_sub 
	linux-gate.so.1 =>  (0xffffe000)
	libzmq.so.3 => //home/rbe/zeromq/zeromq-libzmq-
7a40df6/src/.libs/libzmq.so.3 (0xb7eb5000)
	libstdc++.so.6 => /src/misc/ics/Linux/lib/libstdc++.so.6 (0xb7dcc000)
	libm.so.6 => /lib/libm.so.6 (0xb7d92000)
	libgcc_s.so.1 => /src/misc/ics/Linux/lib/libgcc_s.so.1 (0xb7d74000)
	libc.so.6 => /lib/libc.so.6 (0xb7c47000)
	librt.so.1 => /lib/librt.so.1 (0xb7c3e000)
	libpthread.so.0 => /lib/libpthread.so.0 (0xb7c28000)
	/lib/ld-linux.so.2 (0xb7f5f000)


More information about the zeromq-dev mailing list