Closed Bug 1579290 Opened 5 years ago Closed 5 years ago

ASAN builds should disable LSAN while building

Categories

(NSS :: Build, defect, P1)

All
Linux
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mt, Assigned: mt)

References

(Regressed 1 open bug)

Details

Attachments

(1 file)

We've had a couple of LSAN failures recently in CI that report something like:

==60+==HINT: LeakSanitizer does not work under ptrace (strace, gdb, etc)

It appears that the root cause of this is that the binaries were built with LSAN enabled. The resulting binaries then trigger some syscall that the updated CI environment blocks.

I don't really understand how this would happen, but https://hg.mozilla.org/integration/autoland/rev/471550ac81dccd22b7d7e12c2978187b67198e32 shows that disabling LSAN during the build seems to work for gecko builds. We can use the same fix.

See the bug description for details.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → FIXED
See Also: → 1581693
Regressions: 1581693
See Also: → 1596286
See Also: → 1755267
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: