[zeromq-dev] Mac OS X: test_shutdown_stress sometimes fails
Martin Sustrik
sustrik at 250bpm.com
Sat Nov 13 11:18:06 CET 2010
On 11/13/2010 11:13 AM, Dhammika Pathirana wrote:
> In finalize_initialization(), we detach the engine and pass it over to
> app thread.
Actually, it's passed to another I/O thread rather than to the app
thread, but that's irrelevant to the problem.
> engine->unplug ();
> send_attach (session, engine, peer_identity, false);
> engine = NULL;
> terminate ();
>
> But there's a stack reference to this engine object,
> engine->out_event() callback.
How does the stack look like when the out_event() is called on destroyed
engine?
> I'll check if this shows up in valgrind.
Martin
More information about the zeromq-dev
mailing list