Re: [cfe-users] Silencing errors in TSAN

2020-02-05 Thread Kyle Edwards via cfe-users
On Wed, 2020-02-05 at 19:30 +0100, JVApen wrote: > Hey Kyle, > > This is a bug in your code, if you have a context switch after the > creation of the thread on an overloaded system, the close of the pipe > can be closed while writing or even before it. > > Timing ain't a good way to synchronize t

[cfe-users] Silencing errors in TSAN

2020-01-29 Thread Kyle Edwards via cfe-users
Hello all, I am attempting to build OpenMPI with TSAN enabled (to TSAN-itize a project that uses OpenMPI), and am finding that OpenMPI throws lots of errors in TSAN (not surprising.) I am attempting to build OpenMPI with the following blacklist: src:* However, I am still getting errors when I ru

[cfe-users] scan-build: False positive "Assigned value is garbage or undefined" warning on open() result

2019-01-15 Thread Kyle Edwards via cfe-users
Hello all, CMake upstream here. After upgrading to clang 6 scan-build, we're seeing a rather odd warning in our in-source libuv build. It's complaining about "Assigned value is garbage or undefined" after calling open() and comparing it to "== -1" rather than "< 0", but only in this one particular