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

Timeout when releasing one component vs. all in IDE Sandbox #34

Open
btgoodwin opened this issue May 5, 2020 · 0 comments
Open

Timeout when releasing one component vs. all in IDE Sandbox #34

btgoodwin opened this issue May 5, 2020 · 0 comments

Comments

@btgoodwin
Copy link

btgoodwin commented May 5, 2020

Steps to reproduce:

  1. Open the IDE Sandbox
  2. Add a SigGen and DataConverter, connecting the two together (dataFloat, for example)
  3. Start the sandbox
  4. Stop the sandbox
  5. Enable TRACE -level logging of the DataConverter
  6. Release only the DataConverter, observe the log:
2020-05-05 12:56:54 TRACE DataConverter_1.user.pushDataService:130 - pushDataService|Types: Port: N6bulkio14OutNumericPortIN6BULKIO10dataDoubleEEE In: f Out: d
2020-05-05 12:56:57 TRACE DataConverter_1.system.PortSupplier:96 - Deactivating port 'dataChar_in'
2020-05-05 12:56:57 TRACE DataConverter_1.system.PortSupplier:96 - Deactivating port 'dataChar_out'
2020-05-05 12:56:57 TRACE DataConverter_1.system.PortSupplier:96 - Deactivating port 'dataDouble_in'
2020-05-05 12:56:57 TRACE DataConverter_1.system.PortSupplier:96 - Deactivating port 'dataDouble_out'
2020-05-05 12:56:57 TRACE DataConverter_1.system.PortSupplier:96 - Deactivating port 'dataFloat_in'

The above line will hang for a long time until the IDE shows Problem Occurred dialog with the explanation that client timeout reached. If you press OK and then attempt to release only the DataConverter again, the remaining ports will be deactivated and the component will ultimately exit (with the log showing SIGABRT or some other non-zero exit code).

If you repeat the above steps but release the sandbox all at once, everything is fine. You can repeat the above steps and delete the connection between the two components before releasing the DataConverter the first time (step 6) and the problem will not appear to exist either. (At least by appearances in each case -- there are no error dialogs, etc. visible to the user.)

Edit: I've observed this behavior on both 2.2.5 and 2.2.6.

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