[zeromq-dev] Mac OS X: test_shutdown_stress sometimes fails

Martin Sustrik sustrik at 250bpm.com
Fri Nov 19 13:28:08 CET 2010


On 11/19/2010 01:08 PM, Martin Sustrik wrote:
> Hi Dhammika,
>
> I am trying to make sense from this, but I still don't see how it can
> happen. Can you possibly run the same test with printing "unplugged" in
> zmq_engine_t::unplug and "plugged" in zmq_engine_t::plug?
>
> That way we'll be sure that engine is deallocated while it's plugged in.

Actually, it can't be that.

There's:

    zmq_assert (!plugged);

in zmq_engine destructor. It would blow up if engine is deallocated 
while plugged in...

I have no idea what's going on.

Martin



More information about the zeromq-dev mailing list