Assertion failed: inout (zmq_engine.cpp:215)

Description

version: zeromq-2.0.10 (github checkout 2010-12-27 / zeromq-zeromq2-51d2d9b)

my server binds some tcp endpoints in the range 5500-5600, and when I run an nmap portscan against those ports, it crashes.

nmap -sV -n 172.xxx.xxx.xxx -p 5500-5600

Assertion failed: inout (zmq_engine.cpp:215)
Aborted (core dumped)

I believe the error() function should look something like this to prevent the error:

void zmq::zmq_engine_t::error ()
{
if (plugged)
{
zmq_assert (inout);
inout->detach ();
unplug ();
}
else
{
//do we need to detach the emphemeral here? probably not?
//zmq_assert (ephemeral_inout);
//ephemeral_inout->detach ();
}
delete this;
}

Environment

None

Status

Assignee

Unassigned

Reporter

thijsterlouw

Labels

None

Priority