Hello, I am running into the following errors when running helgrind on a C++ binary built with googletest. The host is Ubuntu 20.04.
The invocation is: valgrind --tool=helgrind --error-exitcode=100 ./tests/google_tests The errors are: ---Thread-Announcement------------------------------------------==947== ==947== Thread #1 is the program's root thread==947== ==947== ----------------------------------------------------------------==947== ==947== Thread #1: pthread_mutex_destroy with invalid argument==947== at 0x483FC96: ??? (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_helgrind-amd64-linux.so)==947== by 0x5AD316F: ??? (in /usr/lib/x86_64-linux-gnu/libp11-kit.so.0.3.0)==947== by 0x4011F5A: _dl_fini (dl-fini.c:138)==947== by 0x4D12A26: __run_exit_handlers (exit.c:108)==947== by 0x4D12BDF: exit (exit.c:139)==947== by 0x4CF00B9: (below main) (libc-start.c:342)==947== ==947== ----------------------------------------------------------------==947== ==947== Thread #1: pthread_mutex_destroy with invalid argument==947== at 0x483FC96: ??? (in /usr/lib/x86_64-linux-gnu/valgrind/vgpreload_helgrind-amd64-linux.so)==947== by 0x4011F5A: _dl_fini (dl-fini.c:138)==947== by 0x4D12A26: __run_exit_handlers (exit.c:108)==947== by 0x4D12BDF: exit (exit.c:139)==947== by 0x4CF00B9: (below main) (libc-start.c:342) I am wondering if anyone has seen this or can shed some light on what these imply? I used --tool=drd and it failed with almost identical errors. Thank you.
_______________________________________________ Valgrind-users mailing list Valgrind-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/valgrind-users