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

Unwrap panic in Zenoh Storage Manager Plugin #759

Open
chachi opened this issue Feb 26, 2024 · 1 comment
Open

Unwrap panic in Zenoh Storage Manager Plugin #759

chachi opened this issue Feb 26, 2024 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@chachi
Copy link

chachi commented Feb 26, 2024

Describe the bug

2024-02-26 13:59:43.860           zenohd thread 'async-std/runtime' panicked at plugins/zenoh-plugin-storage-manager/src/replica/digest.rs:296:58:
2024-02-26 13:59:43.860           zenohd called `Option::unwrap()` on a `None` value
2024-02-26 13:59:43.860           zenohd note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace```

### To reproduce

1. Start a router
2. Attach a storage to the router via the adminspace that is replicating from another router

### System info

* Zenoh 0.10.1-rc
* Crashing router is on an NVIDIA Xavier, Ubuntu 18.04
* Non-crashing router is on an x86_64 EC2 instance
@chachi chachi added the bug Something isn't working label Feb 26, 2024
@Charles-Schleich
Copy link
Member

Hi @chachi,

Thank you for opening this up and bringing it to our attention.
We have planned for tomorrow a large API review,
and it is one of my personal goals to push for time to removal of .unwrap()'s and .expect()'s from the code base
and properly handle invariant's.

I am looking into this issue in the mean time,
and I will try to get a NVIDIA Xavier to reproduce the 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
Status: Backlog
Development

No branches or pull requests

2 participants