[Vortex] No VortexOnClosedChannel event received at connection initiator

Francis Brosnan Blazquez francis at aspl.es
Fri Mar 5 17:42:19 CET 2010


Hi Wimpie,

Your log looks right but it show me the problem...your are not receiving
the on close channel notification because it is fired once the
VortexConnection is finished (inside vortex_connection_free). 

This happens automatically on listener side, but, at initiator side, you
must call to vortex_connection_close (to release the reference you own,
and then, your handler will be called). 

Cheers!

> > I suspect you hit a bug or there is something blocking, causing this
> > handler to be not executed: what shows running gdb, attaching to the
> > process and then showing thread state (thread apply all bt) on the
> > originator?
> >   
> Two gdb logs are attached. I did the following:
> - open originator and listener
> - open channel from originator to listener
> - in separate console, gdb attach to originator
> - gdb: thread apply all bt (before_broke.txt)
> - gdb: continue
> - in listener console, kill application
> - gdb: ctrl-c, thread apply all bt (after_broke.txt)
> 
> I hope this helps. If this is wrong, or I must do something else,
> please 
> let me know
-- 
Francis Brosnan Blazquez <francis at aspl.es>
ASPL



More information about the Vortex mailing list