tokahuke / yaque

Yaque is yet another disk-backed persistent queue for Rust.
Other
79 stars 11 forks source link

fuzz failed #25

Closed 0xdeafbeef closed 10 months ago

0xdeafbeef commented 10 months ago
thread '<unnamed>' panicked at /tmp/tmp.yvD7plPUDn/yaque/src/queue/receiver.rs:253:9:
There were read and unused items at the end of transaction. Read and unused queue: [[85, 85]]

Output of `std::fmt::Debug`:

        Scenario {
            commands: [
                SendBatch(
                    [
                        [
                            85,
                            85,
                        ],
                    ],
                ),
                Send(
                    [],
                ),
                RecvBatch(
                    14189153571838739689,
                ),
                RecvBatch(
                    0,
                ),
            ],
        }
tokahuke commented 10 months ago

@0xdeafbeef could you provide me with code samples to reproduce this issue?

EDIT: this fuzz test failing is, by now, a known issue, which I haven't yet applied myself to solving.