https://bugs.kde.org/show_bug.cgi?id=428909
Bug ID: 428909 Summary: helgrind: need to intercept duplicate libc definitions for Fedora 33 Product: valgrind Version: unspecified Platform: Other OS: Linux Status: REPORTED Severity: normal Priority: NOR Component: helgrind Assignee: jsew...@acm.org Reporter: stacy.gaikov...@windriver.com Target Milestone: --- SUMMARY In this commit (https://sourceware.org/git/?p=valgrind.git;a=commit;h=15330adf7c2471fbaa6a0818db07078d81dbff97), PTH_FUNC was modified in order to intercept posix thread functions in both libc and libpthread. The same fix needs to be done in helgrind/hg_intercepts.c, I believe. See also https://bugs.kde.org/show_bug.cgi?id=428035 for comments on musl. STEPS TO REPRODUCE 1. On a machine running glibc v 2.32 (eg, Fedora 33), make valgrind from source 2. run helgrind vgtests 3. pth_destroy_cond fails OBSERVED RESULT helgrind/tests/pth_destroy_cond.stderr.out is empty. EXPECTED RESULT from helgrind/tests/pth_destroy_cond.stderr.exp: ---Thread-Announcement------------------------------------------ Thread #x was created ... by 0x........: pthread_create@* (hg_intercepts.c:...) by 0x........: main (pth_destroy_cond.c:29) ---------------------------------------------------------------- Thread #x: pthread_cond_destroy: destruction of condition variable being waited upon at 0x........: pthread_cond_destroy_WRK (hg_intercepts.c:...) by 0x........: pthread_cond_destroy@* (hg_intercepts.c:...) by 0x........: ThreadFunction (pth_destroy_cond.c:18) by 0x........: mythread_wrapper (hg_intercepts.c:...) ... SOFTWARE/OS VERSIONS Windows: n/a macOS: n/a Linux/KDE Plasma: Poky (openembedded reference distro) (available in About System) KDE Plasma Version: n/a KDE Frameworks Version: n/a Qt Version: n/a ADDITIONAL INFORMATION If I have a fix myself, can I sumbit it? How? I notice this question also wasn't answered on https://bugs.kde.org/show_bug.cgi?id=428035. Thanks. -- You are receiving this mail because: You are watching all bug changes.