[zeromq-dev] Assertion in pgm_socket.cpp file line 137
Pieter Hintjens
ph at imatix.com
Fri Jun 8 14:38:30 CEST 2012
Hi Emmanuel,
> 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
Would you make an issue for this, please?
> 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
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
More information about the zeromq-dev
mailing list