Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

org.epics.pvaccess.client.impl.remote.ChannelImpl can create 2 transports and only release 1 in some situations #73

Open
juanfem opened this issue Apr 17, 2020 · 0 comments

Comments

@juanfem
Copy link
Contributor

juanfem commented Apr 17, 2020

I found two cases when the ChannelImpl can create 2 org.​epics.​pvaccess.​impl.​remote.Transport objects and then release only one when destroying the channel.

  1. If 2 network devices are present and EPICS_PVA_AUTO_ADDR_LIST=YES. Then the broadcast during the search receives 2 replies from different IPs, but the server has the same GUID.
  2. If the EPICS_PVA_ADDR_LIST include 2 IPs that reach the same server, e.g. 127.0.0.1 and 255.255.255.255. In that case the server has the same GUID as well.

I am creating a Pull request with a proposal for the fix.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant