On 9/24/20 9:14 PM, Greg Clayton wrote:
This must be a valgrind issue, there would be major problems if the OS isn't able to lock mutex objects correctly ("mutex is locked simultaneously by two threads"). It is getting confused by a recursive mutex? LLDB uses recursive mutexes.W
LLDB's Predicate.h uses plain std::mutex, which is not recursive, and std::lock_guard/std::unique_lock on top of it. This needs more digging in because the latest Valgrind snapshot reports the same "impossible" condition. Dmitry _______________________________________________ lldb-dev mailing list lldb-dev@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev