ThreadSanitizer: data race [@ hashbrown::raw::RawTable resize] vs [@ hashbrown::raw::RawTable new_uninitialized]
Categories
(Core :: Layout, defect)
Tracking
()
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)
Comment 1•5 years ago
|
||
Likely invalid, because the build used for this missed rust code instrumentation.
Description
•