[zeromq-dev] wuserver: broken pipe on OS X

Pieter Hintjens ph at imatix.com
Wed May 18 11:57:57 CEST 2011


On Wed, May 18, 2011 at 8:03 AM, Martin Sustrik <sustrik at 250bpm.com> wrote:

>> Which makes it sound like there's some unhandled race condition(s)
>> where the client has disconnected the socket while the server is
>> still trying to send another message to that disconnected client.
>
> Sounds more like a race condition on zmq_close or zmq_term. Any chance
> to reproduce it?

The wuserver / wuclient examples are a very minimal pub-sub pair, so
we can use these as test cases. I'm running the client in a loop here
to see if I can cause the server to crash.

At first sight this doesn't seem to happen on my Ubuntu box but will
try on OS/X later.

John, could you please log an issue in the tracker (it's on
http://zeromq.jira.com) so we can refer to that?

Thanks,

-Pieter



More information about the zeromq-dev mailing list