[Vortex] Problem when calling vortex_connection_close
Francis Brosnan Blazquez
francis at aspl.es
Mon Apr 28 20:27:24 CEST 2008
> Hi,
Hi Robert,
> sorry the ??? was just a placeholder from my side. Here is a snippet
> of the log-output. Does this help? I don't understand the number of
> "connection=" and "channel=" because I expected the output to show
> the
> vortex IDs.
>
> [1880] we still didn't sent replies for connection=3208816
> channel=3208768, block until all replies are sent (RPY 268465751 !=
> MSG
> 268702552)
> [1880] called vortex_cond_timedwait from :3208776
> [1880] SignalObjectAndWait finished, because:
> ´>´>´>0@tÔL[èö0ƒÄéÃvortex-thread
> [1880] finished vortex_cond_timedwait (result: 3208788) from
> @ö0:268465751
> [1880] we still didn't sent replies for connection=3208816
> channel=3208768, block until all replies are sent (RPY 268465751 !=
> MSG
> 268702552)
> [1880] called vortex_cond_timedwait from :3208776
> [1880] SignalObjectAndWait finished, because:
> ´>´>´>0@tÔL[èö0ƒÄéÃvortex-thread
> [1880] finished vortex_cond_timedwait (result: 3208788) from
> @ö0:268465751
> [1880] we still didn't sent replies for connection=3208816
> channel=3208768, block until all replies are sent (RPY 268465751 !=
> MSG
> 268702552)
> [1880] called vortex_cond_timedwait from :3208776
> [1880] SignalObjectAndWait finished, because:
> ´>´>´>0@tÔL[èö0ƒÄéÃvortex-thread
> [1880] finished vortex_cond_timedwait (result: 3208788) from
> @ö0:268465751
> [1880] we still didn't sent replies for connection=3208816
> channel=3208768, block until all replies are sent (RPY 268465751 !=
> MSG
> 268702552)
> [1880] called vortex_cond_timedwait from :3208776
Something is wrong with this log unless you created 3208816 connections,
did you? You have to fix how log is produced to make it useful for you
and people giving you help.
> > Fix the format problem or check channel status just before calling
> to
> > vortex_connection_close.
>
> I will add a loop to check all channels.
>
> > If you don't want to wait on close you can also use
> > vortex_connection_shutdown avoiding to get locked if a channel have
> > pending replies.
>
> I just tried this but I still get the debug output above and my
> client
> hangs... That's really strange. Robert
Certainly. A call to vortex_connection_shutdown never fail or lock the
caller..unless pointer to trash is received. The sequence is to call to
vortex_connection_shutdown (flagging the connection as disconnected) and
the call to vortex_connection_close to release the session.
Cheers!
--
Francis Brosnan Blazquez <francis at aspl.es>
Advanced Software Production Line, S.L.
More information about the Vortex
mailing list