[tor-bugs] #27274 [- Select a component]: ASan on OSX Travis is incompatible with Rust's santiziers
Tor Bug Tracker & Wiki
blackhole at torproject.org
Wed Aug 22 19:59:02 UTC 2018
#27274: ASan on OSX Travis is incompatible with Rust's santiziers
--------------------------------------+--------------------
Reporter: alexcrichton | Owner: (none)
Type: defect | Status: new
Priority: Medium | Milestone:
Component: - Select a component | Version:
Severity: Normal | Keywords:
Actual Points: | Parent ID:
Points: | Reviewer:
Sponsor: |
--------------------------------------+--------------------
In helping to debug https://trac.torproject.org/projects/tor/ticket/25386
I've found that an unfortunate case is being hit where `cargo test` is
using rustc's copy of the asan runtime instead of the system's copy, which
causes problems due to presumably version mismatches between them.
The error looks like https://travis-ci.com/alexcrichton/tor/jobs/141409956
and only starts to show up after
https://trac.torproject.org/projects/tor/ticket/27273 and
https://trac.torproject.org/projects/tor/ticket/27272 are fixed.
AFAIK the only "fix" for this is to basically just delete the sanitizer
runtimes in the Rust sysroot as they're not used anyway, but I'll try to
keep thinking and see if there's a better solution!
--
Ticket URL: <https://trac.torproject.org/projects/tor/ticket/27274>
Tor Bug Tracker & Wiki <https://trac.torproject.org/>
The Tor Project: anonymity online
More information about the tor-bugs
mailing list