Skip to content

CI disable leak sanitizer on nightly temporarily, #15279

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

Closed
wants to merge 1 commit into from

Conversation

devnexen
Copy link
Member

@devnexen devnexen commented Aug 7, 2024

libedit on ubuntu focal has a leak with a bunch of tests.

@iluuu1994
Copy link
Member

iluuu1994 commented Aug 7, 2024

@devnexen Oh, what I meant was declaring the LSAN_OPTIONS=detect_leaks=0 env variable for those tests specifically. There's also XLEAK but it just skips the test for ASAN anyway, because LSAN_OPTIONS=detect_leaks=0 was unreliable at times, but that was a while ago.

@devnexen
Copy link
Member Author

devnexen commented Aug 7, 2024

ah right sorry

the libedit dependency has a leak on wcsdup call on ubuntu focal
@cmb69
Copy link
Member

cmb69 commented Aug 7, 2024

Would it make sense to report that upstream? I mean memory leaks might still be fixed even in that version.

@iluuu1994
Copy link
Member

iluuu1994 commented Aug 7, 2024

@cmb69 It's already fixed on newer versions of ubuntu, so I'm guessing its a known issue. But I'm not sure. I would have assumed that they would have fixed the old version if it were possible, or maybe it was fixed accidentally.

@cmb69
Copy link
Member

cmb69 commented Aug 7, 2024

Well, then it's probably okay to not bother with it, and just to disable the leak detection here. :)

Copy link
Member

@iluuu1994 iluuu1994 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thank you David!

@devnexen devnexen closed this in cad0ce5 Aug 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants