[zeromq-dev] Recent changes introduced segfaults during ctx.term

Pieter Hintjens ph at imatix.com
Wed Mar 21 23:26:12 CET 2012


On Wed, Mar 21, 2012 at 5:18 PM, Jon Dyte <jon at totient.co.uk> wrote:

> I think there's a race between zmq::ctx_t::terminate and
> zmq::ctx_t::create_socket.
>
> If terminate gets called before create_socket has set starting to false
> it just does delete this. In the meantime create_socket carries merrily on.

Looks like you're right. I'm going to make a minimal test case in C.

MinRK, would you log an issue? Thanks

-Pieter



More information about the zeromq-dev mailing list