Closed Bug 1703742 Opened 4 months ago Closed 2 months ago

ThreadSanitizer (TSAN) builds for Thunderbird

Categories

(Thunderbird :: Build Config, enhancement)

enhancement

Tracking

(thunderbird_esr78 wontfix)

RESOLVED FIXED
91 Branch
Tracking Status
thunderbird_esr78 --- wontfix

People

(Reporter: ovari123, Assigned: rjl)

References

Details

Attachments

(3 files, 1 obsolete file)

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:87.0) Gecko/20100101 Firefox/87.0

Steps to reproduce:

Eliminating Data Races in Firefox – A Technical Report
https://hacks.mozilla.org/2021/04/eliminating-data-races-in-firefox-a-technical-report/

We recommend that all multithreaded C/C++ projects adopt the ThreadSanitizer tool to enhance code quality.

https://clang.llvm.org/docs/ThreadSanitizer.html

Is Thunderbird using ThreadSanitizer?

If not, since Firefox is using ThreadSanitizer can Thunderbird use ThreadSanitizer too?

Thank you

There's no automated TSAN builds at the moment, but it's trivial to add them to CI and I'm happy to do so.

Someone (not me -- this is way out of my league) needs to make use of them though.

Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: ThreadSanitizer → ThreadSanitizer (TSAN) builds for Thunderbird
Assignee: nobody → rob
Status: NEW → ASSIGNED

Depends on D116854

Depends on D116855

Attachment #9225222 - Attachment is obsolete: true
Depends on: 1713312
Target Milestone: --- → 91 Branch

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/38e93f11bef1
Add ThreadSanitizer (TSAN) builds to CI. r=justdave
https://hg.mozilla.org/comm-central/rev/d265e97b8155
Run tests for ASan builds. r=justdave

Status: ASSIGNED → RESOLVED
Closed: 2 months ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Resolution: FIXED → ---

Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/b793f919c1e2
Follow-up: Adjust test parameters for ASan and TSAN to prevent worker failures. r=justdave

Status: REOPENED → RESOLVED
Closed: 2 months ago2 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.