Provide Address Sanitizer builds of Thunderbird Daily
Categories
(Thunderbird :: Build Config, enhancement)
Tracking
(thunderbird78 affected)
Tracking | Status | |
---|---|---|
thunderbird78 | --- | affected |
People
(Reporter: tdulcet, Assigned: rjl)
References
()
Details
Attachments
(3 files)
Provide Address Sanitizer (ASan) builds of Thunderbird Daily and port the ASan reporter add-on, to make fuzzing Thunderbird and reporting security vulnerabilities easier. Also see:
Assignee | ||
Comment 1•4 years ago
|
||
Updated•4 years ago
|
Updated•4 years ago
|
Comment 2•4 years ago
|
||
For what it's worth, I tried building ASAN build of DEBUG version of TB using GCC locally several weeks ago.
This was motivated due to the frustration of not being able to run mochitest under valgrind.
(|make mozmill| ran under valgrind and that helped me find many memory-related errors in the past including one that got me security bounty even.)
Specifically, there is a link time error caused by recently added OTR-related function.
Maybe I should report it if it is still there.
The added library function caused many other issues. So, I thought I would wait for the dust to settle down and would try again. Now that this bugzilla caught my eye, it is a good time to try again.
But I need to fix my local patches to cope with the massive format-only changes that landed in the last few days first.
Does the attached configuration change create ASAN build of TB on taskcluster (that uses clang)?
If so, maybe I should not bother to try creating GCC-based binary of ASAN TB.
TIA
Assignee | ||
Comment 3•4 years ago
|
||
(In reply to ISHIKAWA, Chiaki from comment #2)
Does the attached configuration change create ASAN build of TB on taskcluster (that uses clang)?
Yes it does, I'll get it landed today so that you can take a look at it.
Pushed by thunderbird@calypsoblue.org:
https://hg.mozilla.org/comm-central/rev/b0825b0c3b6b
Add Linux64 ASan build. r=darktrojan
Assignee | ||
Comment 5•4 years ago
|
||
The reporter addon will have to be covered in a separate bug, that's a pretty big project.
Other platforms can be built if there is desire and someone intends to make use of them.
Reporter | ||
Comment 6•4 years ago
|
||
Should I create a new bug for porting the ASan reporter add-on?
I would be interested in (and would use) a Windows build. Firefox currently supports both Linux and Windows.
Assignee | ||
Comment 7•4 years ago
|
||
(In reply to tdulcet from comment #6)
Should I create a new bug for porting the ASan reporter add-on?
Yes please do.
I would be interested in (and would use) a Windows build. Firefox currently supports both Linux and Windows.
Great! I'll see what I can do.
Assignee | ||
Comment 8•4 years ago
|
||
Updated•4 years ago
|
Reporter | ||
Comment 10•4 years ago
|
||
Yes please do.
OK, I created Bug 1648731.
Great! I'll see what I can do.
Thanks for creating the Windows build! Where is the correct place to download both the Linux and Windows ASan builds? I am not seeing them listed with the other Daily/Nightly builds, although I can see that they are being built on Treeherder. Maybe these links should also be listed somewhere in the Developer documentation, like Firefox does.
Comment 11•4 years ago
|
||
On treeherder, click the B of the build, like https://treeherder.mozilla.org/#/jobs?repo=comm-central&selectedTaskRun=KMkcDbtNToG0CkmQMZFLUg.0 - then in the "Job details" below find the appropriate artifact to download.
Reporter | ||
Comment 12•4 years ago
|
||
OK, I downloaded the Windows installer, but I get this error during the installation and when I try to run Thunderbird afterwords. The installation completes, but Thunderbird does not open.
Assignee | ||
Comment 13•4 years ago
|
||
I'll take care of that. See bug 1646557.
Reporter | ||
Comment 14•4 years ago
|
||
Bug 1646557 was marked as invalid two weeks ago and I am still getting this error.
Assignee | ||
Comment 15•4 years ago
|
||
That's not the right bug number. It's bug 1649557.
I've reopened it since it's not working as expected.
Description
•