'valgrind --tool=massif' crashes with SIGTRAP inside `pthread_cond_timedwait` on RHEL 9/glibc 2.34
We're running a multithreaded C application under valgrind --tool=massif on RHEL 9 (glibc 2.34 and Valgrind 3.22.0) and seeing a crash with SIGTRAP inside pthread_cond_timedwait. The process dies without any error message from Valgrind, and the log file contains only the standard header: ==611== Massif, a heap profiler ==611== Using Valgrind-3.22.0 and LibVEX; rerun with -h for copyright info ==611== Command: ./myapp The crash happens in a timer thread whose inner loop looks like this: struct timespec timeout; clock_gettime(CLOCK_MONOTONIC, &curtime); // ... compute absolute timeout ... pthrea
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.