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

Testing Heph using LeakSanitizer #645

Open
Thomasdezeeuw opened this issue Dec 22, 2024 · 2 comments
Open

Testing Heph using LeakSanitizer #645

Thomasdezeeuw opened this issue Dec 22, 2024 · 2 comments
Labels
Heph Related to the Heph crate.

Comments

@Thomasdezeeuw
Copy link
Owner

Currently fails with:


=================================================================
==3101==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 8232 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5b8bf  (/tmp/rustdoctestcKyBOf/rust_out+0x28f8bf) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7cf730cb  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70cb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7ce3cd34  (/tmp/rustdoctestcKyBOf/rust_out+0x370d34) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce3d818  (/tmp/rustdoctestcKyBOf/rust_out+0x371818) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce8af74  (/tmp/rustdoctestcKyBOf/rust_out+0x3bef74) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7ce8a51e  (/tmp/rustdoctestcKyBOf/rust_out+0x3be51e) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce13878  (/tmp/rustdoctestcKyBOf/rust_out+0x347878) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce13399  (/tmp/rustdoctestcKyBOf/rust_out+0x347399) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7cdba9e9  (/tmp/rustdoctestcKyBOf/rust_out+0x2ee9e9) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7ce368ac  (/tmp/rustdoctestcKyBOf/rust_out+0x36a8ac) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7cdaac8b  (/tmp/rustdoctestcKyBOf/rust_out+0x2dec8b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7cd95f4d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c9f4d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7cd94610  (/tmp/rustdoctestcKyBOf/rust_out+0x2c8610) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cee60ca  (/tmp/rustdoctestcKyBOf/rust_out+0x41a0ca) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cfba8e2  (/tmp/rustdoctestcKyBOf/rust_out+0x4ee8e2) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cee608a  (/tmp/rustdoctestcKyBOf/rust_out+0x41a08a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cd9456d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c856d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x563a7cdad0b4  (/tmp/rustdoctestcKyBOf/rust_out+0x2e10b4) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #19 0x7fba42a2a28a  (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 6d64b17fbac799e68da7ebd9985ddf9b5cb375e6)
    #20 0x563a7ccd2c24  (/tmp/rustdoctestcKyBOf/rust_out+0x206c24) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 2056 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5b8bf  (/tmp/rustdoctestcKyBOf/rust_out+0x28f8bf) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7cf730cb  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70cb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7ce3cd34  (/tmp/rustdoctestcKyBOf/rust_out+0x370d34) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce3d818  (/tmp/rustdoctestcKyBOf/rust_out+0x371818) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce1630c  (/tmp/rustdoctestcKyBOf/rust_out+0x34a30c) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7ce14f3b  (/tmp/rustdoctestcKyBOf/rust_out+0x348f3b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce08049  (/tmp/rustdoctestcKyBOf/rust_out+0x33c049) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce3b9b5  (/tmp/rustdoctestcKyBOf/rust_out+0x36f9b5) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7cde949b  (/tmp/rustdoctestcKyBOf/rust_out+0x31d49b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7cdcdcc8  (/tmp/rustdoctestcKyBOf/rust_out+0x301cc8) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7cddae1a  (/tmp/rustdoctestcKyBOf/rust_out+0x30ee1a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7cddd51d  (/tmp/rustdoctestcKyBOf/rust_out+0x31151d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7cdae5ce  (/tmp/rustdoctestcKyBOf/rust_out+0x2e25ce) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cee5366  (/tmp/rustdoctestcKyBOf/rust_out+0x419366) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cfe8a70  (/tmp/rustdoctestcKyBOf/rust_out+0x51ca70) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cd59306  (/tmp/rustdoctestcKyBOf/rust_out+0x28d306) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 1000 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5ba89  (/tmp/rustdoctestcKyBOf/rust_out+0x28fa89) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7cf73286  (/tmp/rustdoctestcKyBOf/rust_out+0x4a7286) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf33f2a  (/tmp/rustdoctestcKyBOf/rust_out+0x467f2a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7ce3cd4d  (/tmp/rustdoctestcKyBOf/rust_out+0x370d4d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce3d26b  (/tmp/rustdoctestcKyBOf/rust_out+0x37126b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce60c9d  (/tmp/rustdoctestcKyBOf/rust_out+0x394c9d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7cdad832  (/tmp/rustdoctestcKyBOf/rust_out+0x2e1832) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce404e6  (/tmp/rustdoctestcKyBOf/rust_out+0x3744e6) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce15599  (/tmp/rustdoctestcKyBOf/rust_out+0x349599) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7cda78a3  (/tmp/rustdoctestcKyBOf/rust_out+0x2db8a3) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7cdaad7f  (/tmp/rustdoctestcKyBOf/rust_out+0x2ded7f) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7cd95f4d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c9f4d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7cd94610  (/tmp/rustdoctestcKyBOf/rust_out+0x2c8610) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7cee60ca  (/tmp/rustdoctestcKyBOf/rust_out+0x41a0ca) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cfba8e2  (/tmp/rustdoctestcKyBOf/rust_out+0x4ee8e2) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cee608a  (/tmp/rustdoctestcKyBOf/rust_out+0x41a08a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cd9456d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c856d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cdad0b4  (/tmp/rustdoctestcKyBOf/rust_out+0x2e10b4) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x7fba42a2a28a  (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 6d64b17fbac799e68da7ebd9985ddf9b5cb375e6)
    #19 0x563a7ccd2c24  (/tmp/rustdoctestcKyBOf/rust_out+0x206c24) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 512 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5c387  (/tmp/rustdoctestcKyBOf/rust_out+0x290387) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7d0311db  (/tmp/rustdoctestcKyBOf/rust_out+0x5651db) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf730b1  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70b1) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce3cd34  (/tmp/rustdoctestcKyBOf/rust_out+0x370d34) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce3d818  (/tmp/rustdoctestcKyBOf/rust_out+0x371818) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7cdadd5b  (/tmp/rustdoctestcKyBOf/rust_out+0x2e1d5b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce40602  (/tmp/rustdoctestcKyBOf/rust_out+0x374602) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7cdcb941  (/tmp/rustdoctestcKyBOf/rust_out+0x2ff941) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7ce142c3  (/tmp/rustdoctestcKyBOf/rust_out+0x3482c3) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7ce13ebc  (/tmp/rustdoctestcKyBOf/rust_out+0x347ebc) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7cdbb740  (/tmp/rustdoctestcKyBOf/rust_out+0x2ef740) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7cdfdcc0  (/tmp/rustdoctestcKyBOf/rust_out+0x331cc0) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7cdf993e  (/tmp/rustdoctestcKyBOf/rust_out+0x32d93e) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cdf90a4  (/tmp/rustdoctestcKyBOf/rust_out+0x32d0a4) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cde8a16  (/tmp/rustdoctestcKyBOf/rust_out+0x31ca16) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cdf8a6d  (/tmp/rustdoctestcKyBOf/rust_out+0x32ca6d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cdc6acb  (/tmp/rustdoctestcKyBOf/rust_out+0x2faacb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x563a7cdb76c4  (/tmp/rustdoctestcKyBOf/rust_out+0x2eb6c4) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #19 0x563a7cdea494  (/tmp/rustdoctestcKyBOf/rust_out+0x31e494) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #20 0x563a7ce3f9c0  (/tmp/rustdoctestcKyBOf/rust_out+0x3739c0) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #21 0x563a7cdfd98d  (/tmp/rustdoctestcKyBOf/rust_out+0x33198d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #22 0x563a7ce368ac  (/tmp/rustdoctestcKyBOf/rust_out+0x36a8ac) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #23 0x563a7cdaac8b  (/tmp/rustdoctestcKyBOf/rust_out+0x2dec8b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #24 0x563a7cd95f4d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c9f4d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #25 0x563a7cd94610  (/tmp/rustdoctestcKyBOf/rust_out+0x2c8610) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #26 0x563a7cee60ca  (/tmp/rustdoctestcKyBOf/rust_out+0x41a0ca) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #27 0x563a7cfba8e2  (/tmp/rustdoctestcKyBOf/rust_out+0x4ee8e2) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #28 0x563a7cee608a  (/tmp/rustdoctestcKyBOf/rust_out+0x41a08a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #29 0x563a7cd9456d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c856d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 512 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5c387  (/tmp/rustdoctestcKyBOf/rust_out+0x290387) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7d0311db  (/tmp/rustdoctestcKyBOf/rust_out+0x5651db) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf730b1  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70b1) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce3cd34  (/tmp/rustdoctestcKyBOf/rust_out+0x370d34) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce3d818  (/tmp/rustdoctestcKyBOf/rust_out+0x371818) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7cde9ceb  (/tmp/rustdoctestcKyBOf/rust_out+0x31dceb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce13789  (/tmp/rustdoctestcKyBOf/rust_out+0x347789) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce13399  (/tmp/rustdoctestcKyBOf/rust_out+0x347399) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7cdba9e9  (/tmp/rustdoctestcKyBOf/rust_out+0x2ee9e9) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7ce368ac  (/tmp/rustdoctestcKyBOf/rust_out+0x36a8ac) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
error: doctest failed, to rerun pass `--doc`
    #11 0x563a7cdaac8b  (/tmp/rustdoctestcKyBOf/rust_out+0x2dec8b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7cd95f4d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c9f4d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7cd94610  (/tmp/rustdoctestcKyBOf/rust_out+0x2c8610) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cee60ca  (/tmp/rustdoctestcKyBOf/rust_out+0x41a0ca) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cfba8e2  (/tmp/rustdoctestcKyBOf/rust_out+0x4ee8e2) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cee608a  (/tmp/rustdoctestcKyBOf/rust_out+0x41a08a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cd9456d  (/tmp/rustdoctestcKyBOf/rust_out+0x2c856d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x563a7cdad0b4  (/tmp/rustdoctestcKyBOf/rust_out+0x2e10b4) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #19 0x7fba42a2a28a  (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 6d64b17fbac799e68da7ebd9985ddf9b5cb375e6)
    #20 0x563a7ccd2c24  (/tmp/rustdoctestcKyBOf/rust_out+0x206c24) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 192 byte(s) in 2 object(s) allocated from:
    #0 0x563a7cd5b8bf  (/tmp/rustdoctestcKyBOf/rust_out+0x28f8bf) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7cf730cb  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70cb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7ce3cd34  (/tmp/rustdoctestcKyBOf/rust_out+0x370d34) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce3d818  (/tmp/rustdoctestcKyBOf/rust_out+0x371818) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce37e21  (/tmp/rustdoctestcKyBOf/rust_out+0x36be21) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7ce33003  (/tmp/rustdoctestcKyBOf/rust_out+0x367003) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce37477  (/tmp/rustdoctestcKyBOf/rust_out+0x36b477) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce16604  (/tmp/rustdoctestcKyBOf/rust_out+0x34a604) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7ce14f3b  (/tmp/rustdoctestcKyBOf/rust_out+0x348f3b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7ce08049  (/tmp/rustdoctestcKyBOf/rust_out+0x33c049) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7ce3b9b5  (/tmp/rustdoctestcKyBOf/rust_out+0x36f9b5) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7cde949b  (/tmp/rustdoctestcKyBOf/rust_out+0x31d49b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7cdcdcc8  (/tmp/rustdoctestcKyBOf/rust_out+0x301cc8) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cddae1a  (/tmp/rustdoctestcKyBOf/rust_out+0x30ee1a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cddd51d  (/tmp/rustdoctestcKyBOf/rust_out+0x31151d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cdae5ce  (/tmp/rustdoctestcKyBOf/rust_out+0x2e25ce) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cee5366  (/tmp/rustdoctestcKyBOf/rust_out+0x419366) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x563a7cfe8a70  (/tmp/rustdoctestcKyBOf/rust_out+0x51ca70) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #19 0x563a7cd59306  (/tmp/rustdoctestcKyBOf/rust_out+0x28d306) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 128 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5b8bf  (/tmp/rustdoctestcKyBOf/rust_out+0x28f8bf) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7cf730cb  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70cb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7ce3cd34  (/tmp/rustdoctestcKyBOf/rust_out+0x370d34) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce3d818  (/tmp/rustdoctestcKyBOf/rust_out+0x371818) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce574a2  (/tmp/rustdoctestcKyBOf/rust_out+0x38b4a2) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7ce56873  (/tmp/rustdoctestcKyBOf/rust_out+0x38a873) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce32543  (/tmp/rustdoctestcKyBOf/rust_out+0x366543) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce18cfd  (/tmp/rustdoctestcKyBOf/rust_out+0x34ccfd) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7ce17124  (/tmp/rustdoctestcKyBOf/rust_out+0x34b124) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7ce14f83  (/tmp/rustdoctestcKyBOf/rust_out+0x348f83) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7ce08049  (/tmp/rustdoctestcKyBOf/rust_out+0x33c049) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7ce3b9b5  (/tmp/rustdoctestcKyBOf/rust_out+0x36f9b5) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7cde949b  (/tmp/rustdoctestcKyBOf/rust_out+0x31d49b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cdcdcc8  (/tmp/rustdoctestcKyBOf/rust_out+0x301cc8) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cddae1a  (/tmp/rustdoctestcKyBOf/rust_out+0x30ee1a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cddd51d  (/tmp/rustdoctestcKyBOf/rust_out+0x31151d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cdae5ce  (/tmp/rustdoctestcKyBOf/rust_out+0x2e25ce) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x563a7cee5366  (/tmp/rustdoctestcKyBOf/rust_out+0x419366) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #19 0x563a7cfe8a70  (/tmp/rustdoctestcKyBOf/rust_out+0x51ca70) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #20 0x563a7cd59306  (/tmp/rustdoctestcKyBOf/rust_out+0x28d306) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 120 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5b8bf  (/tmp/rustdoctestcKyBOf/rust_out+0x28f8bf) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7cf730cb  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70cb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7ce229b1  (/tmp/rustdoctestcKyBOf/rust_out+0x3569b1) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7ce2387f  (/tmp/rustdoctestcKyBOf/rust_out+0x35787f) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7ce23007  (/tmp/rustdoctestcKyBOf/rust_out+0x357007) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7cdb6d6c  (/tmp/rustdoctestcKyBOf/rust_out+0x2ead6c) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7ce37b7e  (/tmp/rustdoctestcKyBOf/rust_out+0x36bb7e) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce33003  (/tmp/rustdoctestcKyBOf/rust_out+0x367003) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7ce37477  (/tmp/rustdoctestcKyBOf/rust_out+0x36b477) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7ce16604  (/tmp/rustdoctestcKyBOf/rust_out+0x34a604) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7ce14f3b  (/tmp/rustdoctestcKyBOf/rust_out+0x348f3b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7ce08049  (/tmp/rustdoctestcKyBOf/rust_out+0x33c049) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7ce3b9b5  (/tmp/rustdoctestcKyBOf/rust_out+0x36f9b5) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7cde949b  (/tmp/rustdoctestcKyBOf/rust_out+0x31d49b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7cdcdcc8  (/tmp/rustdoctestcKyBOf/rust_out+0x301cc8) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cddae1a  (/tmp/rustdoctestcKyBOf/rust_out+0x30ee1a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cddd51d  (/tmp/rustdoctestcKyBOf/rust_out+0x31151d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x563a7cdae5ce  (/tmp/rustdoctestcKyBOf/rust_out+0x2e25ce) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #19 0x563a7cee5366  (/tmp/rustdoctestcKyBOf/rust_out+0x419366) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #20 0x563a7cfe8a70  (/tmp/rustdoctestcKyBOf/rust_out+0x51ca70) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #21 0x563a7cd59306  (/tmp/rustdoctestcKyBOf/rust_out+0x28d306) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

Indirect leak of 32 byte(s) in 1 object(s) allocated from:
    #0 0x563a7cd5b8bf  (/tmp/rustdoctestcKyBOf/rust_out+0x28f8bf) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #1 0x563a7cf730cb  (/tmp/rustdoctestcKyBOf/rust_out+0x4a70cb) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #2 0x563a7cf33daa  (/tmp/rustdoctestcKyBOf/rust_out+0x467daa) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #3 0x563a7d106894  (/tmp/rustdoctestcKyBOf/rust_out+0x63a894) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #4 0x563a7d1070c8  (/tmp/rustdoctestcKyBOf/rust_out+0x63b0c8) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #5 0x563a7d100206  (/tmp/rustdoctestcKyBOf/rust_out+0x634206) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #6 0x563a7d0ff5ec  (/tmp/rustdoctestcKyBOf/rust_out+0x6335ec) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #7 0x563a7cddf622  (/tmp/rustdoctestcKyBOf/rust_out+0x313622) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #8 0x563a7ce31c24  (/tmp/rustdoctestcKyBOf/rust_out+0x365c24) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #9 0x563a7ce37e21  (/tmp/rustdoctestcKyBOf/rust_out+0x36be21) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #10 0x563a7ce33003  (/tmp/rustdoctestcKyBOf/rust_out+0x367003) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #11 0x563a7ce37477  (/tmp/rustdoctestcKyBOf/rust_out+0x36b477) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #12 0x563a7ce16604  (/tmp/rustdoctestcKyBOf/rust_out+0x34a604) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #13 0x563a7ce14f3b  (/tmp/rustdoctestcKyBOf/rust_out+0x348f3b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #14 0x563a7ce08049  (/tmp/rustdoctestcKyBOf/rust_out+0x33c049) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #15 0x563a7ce3b9b5  (/tmp/rustdoctestcKyBOf/rust_out+0x36f9b5) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #16 0x563a7cde949b  (/tmp/rustdoctestcKyBOf/rust_out+0x31d49b) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #17 0x563a7cdcdcc8  (/tmp/rustdoctestcKyBOf/rust_out+0x301cc8) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #18 0x563a7cddae1a  (/tmp/rustdoctestcKyBOf/rust_out+0x30ee1a) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #19 0x563a7cddd51d  (/tmp/rustdoctestcKyBOf/rust_out+0x31151d) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #20 0x563a7cdae5ce  (/tmp/rustdoctestcKyBOf/rust_out+0x2e25ce) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #21 0x563a7cee5366  (/tmp/rustdoctestcKyBOf/rust_out+0x419366) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #22 0x563a7cfe8a70  (/tmp/rustdoctestcKyBOf/rust_out+0x51ca70) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)
    #23 0x563a7cd59306  (/tmp/rustdoctestcKyBOf/rust_out+0x28d306) (BuildId: 7b8796a979f0e07f7361ea3c88bd2214dda41a73)

SUMMARY: AddressSanitizer: 12784 byte(s) leaked in 10 allocation(s).
@Thomasdezeeuw
Copy link
Owner Author

There is also the LeakSanitizer, but it fails with an error I've seen on multiple other projects as well, so going to ignore it for now.

 LeakSanitizer: CHECK failed: lsan_interceptors.cpp:82 "((!lsan_init_is_running)) != (0)" (0x0, 0x0) (tid=2571)

@Thomasdezeeuw
Copy link
Owner Author

This might be solved by #646.

@Thomasdezeeuw Thomasdezeeuw added the Heph Related to the Heph crate. label Dec 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Heph Related to the Heph crate.
Projects
Status: No status
Development

No branches or pull requests

1 participant