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

Publisher/Subscriber fail to connect #129

Closed
elfenpiff opened this issue Feb 21, 2024 · 0 comments · Fixed by #134
Closed

Publisher/Subscriber fail to connect #129

elfenpiff opened this issue Feb 21, 2024 · 0 comments · Fixed by #134
Assignees
Labels
bug Something isn't working

Comments

@elfenpiff
Copy link
Contributor

elfenpiff commented Feb 21, 2024

Required information

Operating system:
Linux 6.7.3-arch1-2

Rust version:
rustc 1.76.0 (07dca489a 2024-02-04)

Cargo version:
rustc 1.76.0 (07dca489a 2024-02-04)

iceoryx2 version:
main branch

Fix:
The methods Publisher|Subscriber::populate_{subscriber|publisher}_channels() both had the problem that when the corresponding port goes out of scope and is replaced with a new port, that this is not detected and the old connection is kept.

Observed result or behaviour:
When either a publisher or subscriber is already running, and a new counterpart is started (subscriber/publisher) they sometimes fail to connect. This can be fixed when another publisher or subscriber is connecting - it seems that the ports are sometimes not informed about new participants.

Expected result or behaviour:
Connecting ports always works

Conditions where it occurred / Performed steps:
Start a single publisher and start stop subscriber multiple times with some time in between.

@elfenpiff elfenpiff added the bug Something isn't working label Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 21, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 22, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 22, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 22, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 22, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 22, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
@elfenpiff elfenpiff self-assigned this Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Feb 23, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 5, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
…e start into start_address for allocators; rename receive/retrieve channel into submission/completion channel; code cleanup
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
…instead of acquiring it from the base address
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
…instead of acquiring it from the base address
elfenpiff added a commit to elfenpiff/iceoryx2 that referenced this issue Mar 6, 2024
…instead of acquiring it from the base address
elfenpiff added a commit that referenced this issue Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant