The patch doesn't seem to work for me if I add __sanitizer_print_stack_trace() into BlockingMutex::{Lock,Unlock} in sanitizer_common/sanitizer_linux.cc http://llvm-reviews.chandlerc.com/D2221