Closed Bug 1652093 Opened 5 years ago Closed 5 years ago

ThreadSanitizer: data race [@ hashbrown::raw::RawTable resize] vs [@ hashbrown::raw::RawTable new_uninitialized]

Categories

(Core :: Layout, defect)

defect

Tracking

()

RESOLVED INVALID

People

(Reporter: bwc, Unassigned)

References

(Blocks 1 open bug)

Details

Maybe this is due to TSan's lack of support for fences? Making a guess for the component.

0:21.05 GECKO(5464) WARNING: ThreadSanitizer: data race (pid=5464)
0:21.05 GECKO(5464) Write of size 8 at 0x7b38000ae128 by thread T44:
0:21.05 GECKO(5464) #0 free /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:706:3 (firefox+0x9e898)
0:21.05 GECKO(5464) #1 hashbrown::raw::RawTable$LT$T$GT$::resize::h6046a5f50a7c9be7 /cargo/registry/src/github.com-1ecc6299db9ec823/hashbrown-0.6.2/src/raw/mod.rs:825:9 (libxul.so+0xf8b074a)
0:21.05 GECKO(5464) Previous write of size 8 at 0x7b38000ae128 by thread T45:
0:21.05 GECKO(5464) #0 malloc /builds/worker/fetches/llvm-project/llvm/projects/compiler-rt/lib/tsan/rtl/tsan_interceptors.cc:650:5 (firefox+0x9e244)
0:21.05 GECKO(5464) #1 hashbrown::raw::RawTable$LT$T$GT$::new_uninitialized::h05204a03ca00d39d /cargo/registry/src/github.com-1ecc6299db9ec823/hashbrown-0.6.2/src/raw/mod.rs:383:33 (libxul.so+0xf8aeed3)

Likely invalid, because the build used for this missed rust code instrumentation.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.