You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The concrete caller is inlined away; candidates are the self.inner.yamux[substream_id] accessors in lib/src/libp2p/connection/established/single_stream.rs (~16 sites).
SPECULATED: a coordinator message (request start, notification write, close, ...) is processed for a substream that has already died and been removed from the yamux state - a race between substream death and coordinator messages. Related past fix: Properly process dead substreams #2869.
Seen via Sentry in a native (Rust, smoldot-light) integration on iOS: BREVITY-MORPHEUS-4C - 2 events, 2 users, substatus regressed.
Crash
SIGABRT on thread
smoldot-light-2, ~1 minute after app start:Yamux::index_mut(lib/src/libp2p/connection/yamux.rs:1736) panics when theSubstreamIdis not in the substream map:Analysis
self.inner.yamux[substream_id]accessors inlib/src/libp2p/connection/established/single_stream.rs(~16 sites).Environment
io.parity.brevity@1.0.0+39(Flutter, native smoldot-light)Next steps