Occasional memory leak in mpsc channels #121582
Labels
I-memleak
Issue: Runtime memory leak without `mem::forget`.
S-has-mcve
Status: A Minimal Complete and Verifiable Example has been found for this issue
Running this test:
with many different seeds in Miri eventually shows:
This indicates that the allocation made here does not get freed properly:
rust/library/std/src/sync/mpmc/list.rs
Line 209 in f0d487d
Specifically when running this with Miri 3fe10973bb6e9a01b280686534d0242da07f3ede, seed 139 causes the issue.
I don't think there is any way for this to be a false positive.
Cc @ibraheemdev @taiki-e @Amanieu
The text was updated successfully, but these errors were encountered: