https://bugs.kde.org/show_bug.cgi?id=375806
Bug ID: 375806 Summary: Test helgrind/tests/tc22_exit_w_lock fails with glibc 2.24 Product: valgrind Version: unspecified Platform: Other OS: Linux Status: UNCONFIRMED Severity: normal Priority: NOR Component: helgrind Assignee: jsew...@acm.org Reporter: tamara.vlaho...@imgtec.com Target Milestone: --- Created attachment 103737 --> https://bugs.kde.org/attachment.cgi?id=103737&action=edit New suppresion Function pthread_create indirectly calls function memcpy. Helgrind considers that memcpy is not thread safe function. For error reported from pthread_create there is the suppresion helgrind---_dl_allocate_tls in the file glibc-2.34567-NPTL-helgrind.supp. Since glibc version 2.23 memcpy is implemented by __mempcpy_inline. This causes that call to memcpy from pthread_create is no longer recognized by suppression. In test helgrind/tests/tc22_exit_w_lock, pthread_create is called twice, and second call reports error, which causes failing of test. Attached patch adds suppression for glibc 2.23 and grater. -- You are receiving this mail because: You are watching all bug changes.