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-rt using LeakSanitizer #646

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

Testing Heph-rt using LeakSanitizer #646

Thomasdezeeuw opened this issue Dec 22, 2024 · 0 comments
Labels
RT Related to the Heph-rt crate.

Comments

@Thomasdezeeuw
Copy link
Owner

Currently fails with:

=================================================================
==2769==ERROR: LeakSanitizer: detected memory leaks

Indirect leak of 14336 byte(s) in 1 object(s) allocated from:
    #0 0x55fc48a2037f  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x3b137f) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #1 0x55fc48e51a8b  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x7e2a8b) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #2 0x55fc48e0953a  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x79a53a) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #3 0x55fc49022f34  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x9b3f34) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #4 0x55fc49023768  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x9b4768) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #5 0x55fc4901a9fd  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x9ab9fd) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #6 0x55fc48d54a2e  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6e5a2e) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #7 0x55fc48d469b2  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6d79b2) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #8 0x55fc48aad663  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x43e663) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #9 0x55fc48a93a44  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x424a44) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #10 0x55fc48ac57e0  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x4567e0) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #11 0x55fc48b8845e  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x51945e) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #12 0x55fc48a76958  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x407958) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #13 0x55fc48a76776  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x407776) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #14 0x55fc48cb296a  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x64396a) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #15 0x55fc48cfaeb2  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x68beb2) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #16 0x55fc48cc7222  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x658222) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #17 0x55fc48cb97ee  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x64a7ee) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #18 0x55fc48cc70aa  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6580aa) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #19 0x55fc48cb89fd  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6499fd) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #20 0x55fc48cf8e84  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x689e84) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #21 0x55fc48cf9654  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x68a654) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #22 0x55fc48c424fd  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x5d34fd) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #23 0x55fc48cc74fe  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6584fe) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #24 0x55fc48cb9e04  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x64ae04) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #25 0x55fc48cc70aa  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6580aa) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #26 0x55fc48cb8a19  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x649a19) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #27 0x55fc48bc78fe  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x5588fe) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #28 0x55fc48d86076  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x717076) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #29 0x55fc48ed7170  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x868170) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)

Indirect leak of 14336 byte(s) in 1 object(s) allocated from:
    #0 0x55fc48a2037f  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x3b137f) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #1 0x55fc48e51a8b  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x7e2a8b) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #2 0x55fc48e0953a  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x79a53a) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #3 0x55fc49022f34  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x9b3f34) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #4 0x55fc49023768  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x9b4768) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #5 0x55fc4901a9fd  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x9ab9fd) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #6 0x55fc48d54a2e  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6e5a2e) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #7 0x55fc48d469b2  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6d79b2) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #8 0x55fc48aad663  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x43e663) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #9 0x55fc48a93a44  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x424a44) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #10 0x55fc48ac57e0  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x4567e0) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #11 0x55fc48b8845e  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x51945e) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #12 0x55fc48a789eb  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x4099eb) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #13 0x55fc48a785e6  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x4095e6) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #14 0x55fc48cb296a  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x64396a) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #15 0x55fc48cfaeb2  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x68beb2) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #16 0x55fc48cc7222  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x658222) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #17 0x55fc48cb97ee  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x64a7ee) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #18 0x55fc48cc70aa  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6580aa) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #19 0x55fc48cb89fd  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6499fd) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #20 0x55fc48cf8e84  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x689e84) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #21 0x55fc48cf9654  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x68a654) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #22 0x55fc48c424fd  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x5d34fd) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #23 0x55fc48cc74fe  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6584fe) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #24 0x55fc48cb9e04  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x64ae04) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #25 0x55fc48cc70aa  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x6580aa) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #26 0x55fc48cb8a19  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x649a19) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #27 0x55fc48bc78fe  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x5588fe) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #28 0x55fc48d86076  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x717076) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)
    #29 0x55fc48ed7170  (/home/runner/work/heph/heph/target/x86_64-unknown-linux-gnu/debug/deps/heph_rt-2fa4fcd0b8fa86ea+0x868170) (BuildId: 868a448411584d2e3b46d24a788a878b2001281f)

=== Whole bunch more ===

SUMMARY: AddressSanitizer: 288112 byte(s) leaked in 121 allocation(s).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
RT Related to the Heph-rt crate.
Projects
Status: No status
Development

No branches or pull requests

1 participant