[zeromq-dev] Random crash at assert for REQ/REP socket

Mishra, Mankamana mankamana.mishra at vssmonitoring.com
Thu Apr 10 20:07:30 CEST 2014


But right now the module coming up is only the module running. So there would not be any chance port are getting used by someone else. 



Thanks & Regards 
Mankamana 

-----Original Message-----
From: zeromq-dev-bounces at lists.zeromq.org [mailto:zeromq-dev-bounces at lists.zeromq.org] On Behalf Of Pieter Hintjens
Sent: Thursday, April 10, 2014 12:56 AM
To: ZeroMQ development list
Subject: Re: [zeromq-dev] Random crash at assert for REQ/REP socket

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
>
_______________________________________________
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