Closed Bug 1418453 Opened 7 years ago Closed 7 years ago

Windows ASan blacklist seems to have stopped working

Categories

(Firefox Build System :: General, defect)

defect
Not set
normal

Tracking

(firefox59 fixed)

RESOLVED FIXED
mozilla59
Tracking Status
firefox59 --- fixed

People

(Reporter: away, Assigned: away)

References

Details

Attachments

(1 file)

When running a Windows ASan build, I crash in the TargetNt functions in exactly the way that bug 1200740 was supposed to fix. Apparently the blacklist is no longer recognizing the "fun:*TargetNtSetInformationThread@20" syntax. I don't have time to debug or bisect this. Simply changing the end to a wildcard gets around it.
Blocks: 1361185
I don't have time to investigate why this changed. If this is too much of a hackaround, someone else will have to take it from here. (Also I'm aware that `Token*` makes `TokenEx*` redundant. I don't think it hurts anything to be explicit.)
Attachment #8929578 - Flags: review?(core-build-config-reviews)
Comment on attachment 8929578 [details] [diff] [review] Change asan_blacklist_win.txt syntax to make it work again I don't really know how to review this, so I'm going to target this review to glandium. froydnj is PTO for the rest of the year, and ting is on parental leave for the rest of the year, so your potential reviewer set here is kind of lowered. If you have a better reviewer in mind, feel free to retarget.
Attachment #8929578 - Flags: review?(core-build-config-reviews) → review?(mh+mozilla)
(In reply to Ted Mielczarek [:ted.mielczarek] from comment #2) > Comment on attachment 8929578 [details] [diff] [review] > Change asan_blacklist_win.txt syntax to make it work again > > I don't really know how to review this, so I'm going to target this review > to glandium. froydnj is PTO for the rest of the year, and ting is on > parental leave for the rest of the year, so your potential reviewer set here > is kind of lowered. If you have a better reviewer in mind, feel free to > retarget. In situations like this, I think we sometimes need to just trust the expert, who is often on the hook/the only person able to fix fallout from the fix. I bet dmajor fits that criteria... but perhaps glandium will prove me wrong with a scathing r- :)
Comment on attachment 8929578 [details] [diff] [review] Change asan_blacklist_win.txt syntax to make it work again Review of attachment 8929578 [details] [diff] [review]: ----------------------------------------------------------------- ::: build/sanitizers/asan_blacklist_win.txt @@ +5,5 @@ > # Bug 1200740 - ASan crash due to child process function interceptions > # Sandbox executes some of its code before the ASan RTL gets initialized and > # maps shadow memory. As a result, instrumented code tries to access unavailable > # shadow memory and faults. > +fun:*TargetNtSetInformationThread* shouldn't this work without the final wildcard?
Attachment #8929578 - Flags: review?(mh+mozilla)
Comment on attachment 8929578 [details] [diff] [review] Change asan_blacklist_win.txt syntax to make it work again (In reply to Mike Hommey [:glandium] from comment #4) > shouldn't this work without the final wildcard? I just tried and it doesn't work.
Attachment #8929578 - Flags: review?(mh+mozilla)
Attachment #8929578 - Flags: review?(mh+mozilla) → review+
Assignee: nobody → dmajor
Keywords: checkin-needed
Pushed by ryanvm@gmail.com: https://hg.mozilla.org/integration/mozilla-inbound/rev/0d35ca30f78d Change asan_blacklist_win.txt syntax to get it working again. r=glandium
Keywords: checkin-needed
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla59
Product: Core → Firefox Build System
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: