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

Lindley French lindleyf at gmail.com
Thu Apr 10 20:11:57 CEST 2014


Ports can remain "in use" from the OS's perspective for a minute or two
after a program ends in some cases. Maybe a previous run of your own
program caused it, even.

If it doesn't fix itself, try rebooting your system. It's cliche, but it
can often solve port availability issues.


On Thu, Apr 10, 2014 at 11:07 AM, Mishra, Mankamana <
mankamana.mishra at vssmonitoring.com> wrote:

> 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
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20140410/035290e9/attachment.htm>


More information about the zeromq-dev mailing list