-
Notifications
You must be signed in to change notification settings - Fork 10
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
Cannot Dynamically Disconnect And Reconnect #54
Comments
log.txt |
Can confirm, that your script triggers unexpected behavior! Testing on x86_64 -> segfault during full tear down of buffers. |
Some interim thoughts: One of the big changes in 0.7.0 was to support Nvidia NVMM. In your sample code you remove the buffer creating pylonsrc, without waiting that the last buffer to leave the sink. |
This was a long one but finally we found the root cause and fixed it. Please check the latest release that also adds Debian Ubuntu packages https://github.com/basler/gst-plugin-pylon/releases/tag/v1.0.0 |
Describe the bug
On version 7.0 (but not 6.1.0), the pylonsrc plugin is unstable when attempting to dynamically destroy and create plugins within the same pipeline. Specifically, the plugin seems to crash whenever attempting to connect to a camera which had been previously connected to, even if the old plugin has been totally unallocated.
To Reproduce
This python script reproduces the issue:
(Note that this script reproduces the issue in pylonsrc 7.0, but works as intended with pylonsrc 6.1. I haven't tested on other versions of pylonsrc.)
Expected behavior
The expected behavior was that the new plugin would successfully connect to the camera, given that the old plugin had been unallocated and has disconnected from the camera.
Pylonsrc 6.1.0 works as expected in this regard.
Environment
gst-inspect-1.0 pylonsrc | grep -E "Descr.*pylon.*|\s+Version\s+[0-9]+"
: 0.7.0-localThe text was updated successfully, but these errors were encountered: