[zeromq-dev] zeromq2: problem with closing pollable socket

Vitaly Mayatskikh v.mayatskih at gmail.com
Wed Oct 21 13:49:59 CEST 2009

At Wed, 21 Oct 2009 13:42:05 +0200, Vitaly Mayatskikh wrote:
> At Wed, 21 Oct 2009 12:44:41 +0200, Martin Sustrik wrote:
> > 
> > Vitaly,
> > 
> > I've created a test program but no luck with reproducing the problem. 
> > Can you test it in your environment?
> >      rc = zmq_bind (s, "tcp://lo:5555");
> >      assert (rc == 0);
> I think, the problem is here. I'm using PGM: "pgm://lo;"

Sorry, I've looked into wrong source, no pgm here... You example gives
the same assertion failure:

Assertion failed: false (fd_signaler.cpp:72)

$ gcc -v
Using built-in specs.
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-gnu-unique-object --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj- --enable-libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-ppl --with-cloog --with-tune=generic --with-arch_32=i686 --build=x86_64-redhat-linux
Thread model: posix
gcc version 4.4.2 20091018 (Red Hat 4.4.2-4) (GCC) 

0MQ config:

 0MQ install dir: /usr/local
   Language bindings:
     C: yes
     C++: no
     Java: no
     Python: no
     Ruby: no
   Network protocols:
     TCP: yes
     PGM: yes (libpgm-1.2.14)
     forwarder: yes
   Performance tests: yes

wbr, Vitaly

More information about the zeromq-dev mailing list