[Vortex] Two more possible bugs with the PULL api

DEXTER mydexterid at gmail.com
Wed Jun 29 17:03:47 CEST 2011


Hi,

We've found two possible bugs with the PULL api.

1.: Sometimes when a connection closes, right after the connection
close event a channel close event happens.
This channel close - according to the profile - is the alive api's
channel. As you can see in this case everything is NULL except the
channel:
(gdb) p *event
$2 = {ctx = 0x6221d0, ref_count = 1, ref_count_mutex = {__data =
{__lock = 0, __count = 0, __owner = 0, __nusers = 0, __kind = 0,
__spins = 0, __list = {__prev = 0x0,
__next = 0x0}}, __size = '\000' <repeats 39 times>, __align = 0}, type
= VORTEX_EVENT_CHANNEL_REMOVED, channel = 0x64ad50, conn = 0x0, frame
= 0x0, msgno = -1,
serverName = 0x0, profile_content = 0x0, encoding = 0}

2. As we noticed after we call vortex_pull_next_event(ctx), we also
have to call vortex_event_unref(event) when we're done with the event.
This is not mentioned in the documentation.


More information about the Vortex mailing list