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
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to