You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Poking at some of the memory fences for syncvars seems like a partial fix. Some additional atomics in the nemesis scheduler may be necessary to get the sequencing right, but at this point I'm still not sure. The weird thing though is that some of the thread sanitizer tracebacks here seem to be getting garbled and it's not at all clear why/how that's happening. It may be that a better-debugged #249 is needed to fix these warnings.
Update on this one, I'm fairly sure a lot (all?) of these errors are caused by thread sanitizer not being able to properly follow dependencies through the atomic logic in our various threadqueues. It's fixable, but it'll require an extension beyond the interop in #249.
I'm seeing a handful of thread sanitizer errors about race conditions in the
qutil
code.One example: apparently the macro invoked at
qthreads/src/qutil.c
Line 152 in a2d1dba
qthreads/src/qutil.c
Line 156 in a2d1dba
qthreads/src/qutil.c
Line 160 in a2d1dba
Another example:
non-atomic read:
qthreads/src/qutil.c
Line 897 in a2d1dba
atomic write to the same variable:
qthreads/src/qutil.c
Line 903 in a2d1dba
Similar:
qthreads/src/qutil.c
Line 909 in a2d1dba
qthreads/src/qutil.c
Line 915 in a2d1dba
Another more unusual one:
The macro invoked at
qthreads/src/qutil.c
Line 170 in a2d1dba
qthread_syncvar_fill
atqthreads/src/syncvar.c
Line 609 in a2d1dba
The text was updated successfully, but these errors were encountered: