Recent Sanitizer regressions

This morning I’m seeing 4 new sanitizer failures in SanitizerCommon-Unit (compared to a couple of days ago, when I didn’t see these) - perhaps related to recent library refactoring?

SanitizerCommon-Unit :: Sanitizer-i386-Test/DeadlockDetector.RemoveEdgesTest
SanitizerCommon-Unit :: Sanitizer-i386-Test/SanitizerCommon.ThreadRegistryTest
SanitizerCommon-Unit :: Sanitizer-x86_64-Test/DeadlockDetector.RemoveEdgesTest
SanitizerCommon-Unit :: Sanitizer-x86_64-Test/SanitizerCommon.ThreadRegistryTest

Specifically:

FAIL: SanitizerCommon-Unit :: Sanitizer-i386-Test/DeadlockDetector.RemoveEdgesTest (22526 of 23188)
******************** TEST ‘SanitizerCommon-Unit :: Sanitizer-i386-Test/DeadlockDetector.RemoveEdgesTest’ FAILED ********************
Note: Google Test filter = DeadlockDetector.RemoveEdgesTest
[==========] Running 1 test from 1 test case.
[----------] Global test environment set-up.
[----------] 1 test from DeadlockDetector
[ RUN ] DeadlockDetector.RemoveEdgesTest
==23451==Sanitizer CHECK failed: /usr/local/google/home/blaikie/dev/llvm/src/projects/compiler-rt/lib/sanitizer_common/sanitizer_deadlock_detector.h:372 ((node)) >= ((size())) (0, 8)

This was caused by r229462. Hal is already on it.

From: "Alexey Samsonov" <vonosmas@gmail.com>
To: "David Blaikie" <dblaikie@gmail.com>
Cc: "LLVM Developers Mailing List" <llvmdev@cs.uiuc.edu>
Sent: Tuesday, February 17, 2015 5:32:07 PM
Subject: Re: [LLVMdev] Recent Sanitizer regressions

This was caused by r229462. Hal is already on it.

This should be fixed by r229618.

-Hal