zenoh icon indicating copy to clipboard operation
zenoh copied to clipboard

Panic in gossip.rs:171 after long-running session due to unwrap() on None (Zenoh 0.10.0)

Open owny990312 opened this issue 9 months ago • 4 comments

Describe the bug

Error Log:

Mar 6 06:01:02 tegra-ubuntu run_agibot.sh[2903]: thread 'rx-988' panicked at /root/.cargo/git/checkouts/zenoh-cc237f2570fab813/549035f/zenoh/src/net/routing/hat/p2p_peer/gossip.rs:171:23: Mar 6 06:01:02 tegra-ubuntu run_agibot.sh[2903]: called Option::unwrap() on a None value

which at let session = zenoh::open(zenoh::config::peer()).res().await.unwrap();

To reproduce

  1. Initialize Zenoh session, do not send or receive any data
  2. Maintain continuous operation for ~10 hours
  3. Observe panic in routing/gossip thread

System info

Environment:

Zenoh Version: 0.10.0 OS: Ubuntu 22.04.1 (JetPack 5.1.2 on NVIDIA Jetson)

owny990312 avatar Mar 07 '25 01:03 owny990312

Zenoh Version 0.10.0 is already EoL and no backports will be provided for pre 1.x releases.

Mallets avatar Mar 07 '25 08:03 Mallets

Zenoh Version 0.10.0 is already EoL and no backports will be provided for pre 1.x releases.Zenoh 版本 0.10.0 已经是 EoL,并且不会为预 1.x 版本提供回退补丁。

Image

I made a mistake. I'm using zenoh version 1.0.0-rc.1. Could you please explain the potential causes of this issue?

the error info :

Image

owny990312 avatar Mar 07 '25 09:03 owny990312

Does the same problem happens with branch = "main"?

Mallets avatar Mar 07 '25 11:03 Mallets

Hello @owny990312 any chance you could get more info by running with RUST_BACKTRACE=1?

kydos avatar Mar 07 '25 14:03 kydos