[zeromq-dev] Potential bug found

Martin Sustrik sustrik at 250bpm.com
Tue Aug 31 16:23:17 CEST 2010

On 08/31/2010 03:15 PM, Mikael Helbo Kjær wrote:

> I get an access violation (for those who aren't into Windows ways of
> putting things Zeromq is access memory that is not valid for it to
> use) in the zmq::writer_t::process_pipe_term() function. Apparently
> Endpoint has a value (it is not 00000000), but it is not a valid
> object because the v-table points as 0xfeeefeee which is a guard
> value if I remember correctly.

Well, the endpoint pointer should point to the socket itself. As can be 
seen from the stack, the socket is currently executing 'send' function.

The two possibilities I see is:

1. The socket was already closed, then send was called on it.
2. The socket is being used from multiple threads.


More information about the zeromq-dev mailing list