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

[Bug] When using unixpipe transport, killing an application stops remote applications. #294

Open
OlivierHecart opened this issue Mar 21, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@OlivierHecart
Copy link
Contributor

Describe the bug

When using unixpipe transport, killing an application stops remote applications.

To reproduce

  1. Build examples with unixpipe feature.
    mkdir build
    cd build
    cmake .. -DZENOHC_CARGO_FLAGS="--features=zenoh/transport_unixpipe"
    cmake --build . --target examples
  2. Start z_sub with unixpipe listening endpoint.
    ./target/release/examples/z_sub "demo/example/**" "[\"unixpipe/test.pipe\"]"
  3. Start z_pub with unixpipe connect endpoint.
    ./target/release/examples/z_pub "demo/example/zenoh-c-pub" "Pub from C" 0 "[\"unixpipe/test.pipe\"]"
  4. Kill z_pub
  5. z_sub exits.

System info

  • Platform: MacOS
  • CPU: M2
  • zenoh-c version: commit bd0fe98772b7d65e8fb71eb0369d7c85c9b09c73
@OlivierHecart OlivierHecart added the bug Something isn't working label Mar 21, 2024
@yellowhatter
Copy link
Contributor

I think we need to investigate the pipe spec on it's behavior when other pipe end closes. That might be the reason of this bug.

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
Status: No status
Development

No branches or pull requests

2 participants