[zeromq-dev] Assertion in pgm_socket.cpp file line 137
Emmanuel TAUREL
taurel at esrf.fr
Fri Jun 8 10:34:29 CEST 2012
Hello all,
I am trying zmq release 3.2.0 rc1.
I am using PUB/SUB pattern with pgm protocol
When I connect or bind my socket, I have an assertion in file
pgm_socket.cpp at line 137
For me, the zeromq code looks strange!
In the pgm_socket::init() method (pgm_socket.cpp file), the variable res
is created and initialized to NULL at line 128
It is then given to the method init_address at its second argument and
it is the only place this variable is used before testing it in the
assertion.
But in the init_address method code, its second argument is never used.
I don't understand how the res variable could be different than NULL and
therefore trigging the assertion
Am I wrong?
Thank's for your answer
Emmanuel Taurel
More information about the zeromq-dev
mailing list