Closed Bug 1622845 Opened 6 years ago Closed 4 years ago

Turn on HTTP/3 tests on TSan builds

Categories

(Core :: Networking: HTTP, task, P2)

task

Tracking

()

RESOLVED FIXED
96 Branch
Tracking Status
firefox96 --- fixed

People

(Reporter: michal, Assigned: kershaw)

References

(Blocks 1 open bug)

Details

(Whiteboard: [necko-triaged])

Attachments

(1 file)

TSan build of http3server throws a panic during NSS initialization due to unresolved symbols in libmozsqlite3.so:

dlopen failed with: /builds/worker/workspace/build/application/firefox/libmozsqlite3.so: undefined symbol: __tsan_unaligned_read2

Blocks: QUIC
No longer blocks: 1587353
Depends on: 1587353
Whiteboard: [necko-triaged]

(In reply to Michal Novotny [:michal] from comment #0)

TSan build of http3server throws a panic during NSS initialization due to unresolved symbols in libmozsqlite3.so:

dlopen failed with: /builds/worker/workspace/build/application/firefox/libmozsqlite3.so: undefined symbol: __tsan_unaligned_read2

Where is libtsan getting linked in the Firefox build? Is it statically linked in something like mozglue (doesn't look like it) or is it dynamically linked and therefore dynamically loading libmozsqlite3.so needs to be aware of where the tsan dynamic library is also?

Flags: needinfo?(choller)

TSan is statically linked by passing -fsanitize=thread during linking. Clang links the runtime automatically.

In order to solve your build problem, you need to ensure that you compile and link with -fsanitize=thread.

Flags: needinfo?(choller)
Blocks: 1586794
No longer blocks: QUIC
Flags: needinfo?(kershaw)
Assignee: nobody → kershaw
Status: NEW → ASSIGNED
Severity: normal → N/A
Flags: needinfo?(kershaw)
Pushed by kjang@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/29fbedff9ab6 Enable http3 tsan tests, r=necko-reviewers,valentin
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 96 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: