[zeromq-dev] Event zmq-signaler-port-sync leaking

Felipe Farinon felipe.farinon at powersyslab.com
Thu Dec 20 12:50:01 CET 2012


I'm using version 3.2.2 of ZeroMQ, running on a Windows 7, compiled with 
a MSVC 10.

The following piece of code reproduces the problem:
http://pastebin.com/6p2sLaEM

It seems that if we create lots of PAIR sockets in Windows, we get an 
event leak. The event leak is shown by this image, taken at the end of 
the loop execution:
https://dl.dropbox.com/u/2612634/leak.png

The error is in signaler.cpp method zmq::signaler_t::make_fdpair, which 
creates the events but never releases them.



More information about the zeromq-dev mailing list