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] Unreachable code reached in AdminSpace #396

Closed
JEnoch opened this issue Dec 8, 2022 · 0 comments · Fixed by #404
Closed

[Bug] Unreachable code reached in AdminSpace #396

JEnoch opened this issue Dec 8, 2022 · 0 comments · Fixed by #404
Labels
bug Something isn't working

Comments

@JEnoch
Copy link
Member

JEnoch commented Dec 8, 2022

Describe the bug

Reported by "haklu" on Discord, and reproduced by @JEnoch.

Under the condition below, zenohd crashes on a GET on AdminSpace with this error:

thread 'async-std/runtime' panicked at 'internal error: entered unreachable code: An unresolved WireExpr (1:/**) reached the plugins, this shouldn't have happened, please contact us via GitHub or Discord.', zenoh/src/net/runtime/adminspace.rs:444:25
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace

To reproduce

  1. Start zenohd with the default config
  2. Run this request: curl -H "Accept:text/event-stream" http://localhost:8000/@/**
  3. Cancel it by pressing ctrl-c
  4. Run this request: curl http://localhost:8000/@/**

System info

  • Zenoh version: 0.6.0-beta.1
@JEnoch JEnoch added the bug Something isn't working label Dec 8, 2022
OlivierHecart added a commit that referenced this issue Dec 15, 2022
@OlivierHecart OlivierHecart linked a pull request Dec 15, 2022 that will close this issue
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