[zeromq-dev] Random crash at assert for REQ/REP socket
Pieter Hintjens
ph at imatix.com
Thu Apr 10 09:55:54 CEST 2014
The bind is failing due to, perhaps, the port number already being
used by another process.
On Thu, Apr 10, 2014 at 7:49 AM, Mishra, Mankamana
<mankamana.mishra at vssmonitoring.com> wrote:
> Hi,
>
> Not sure if anyone else is getting this issue , I am trying to implement
> REQ/RES socket.
>
>
>
> Module 1 - has 1 Req and 2 Res . as soon as I try to run this I get below
> error
>
>
>
> dispatcher_thread: Assertion `rc == ((((((((6000 + 50) + 50) + 50) + 50))
> +1) + 1) + 1)' failed.
>
> Aborted (core dumped)
>
> mankamana at h-u-d-1204-64:~/vxos/switchmgr/generic_x86_64$
>
>
>
>
>
>
>
> and code where it fails is
>
>
>
> self.debugger = zsocket_new( self.ctx, ZMQ_REP);
>
> assert ( self.debugger);
>
> rc = zsocket_bind( self.debugger, "tcp://*:%d",
> ZMQ_PORT_FILTERINFRA_DEBUG );
>
> assert (rc == ZMQ_PORT_FILTERINFRA_DEBUG);
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> Thanks & Regards
>
> Mankamana
>
>
>
>
> _______________________________________________
> 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