| Summary: | All threaded applications cause still holding lock errors | ||
|---|---|---|---|
| Product: | [Developer tools] valgrind | Reporter: | Paul Floyd <pjfloyd> |
| Component: | helgrind | Assignee: | Paul Floyd <pjfloyd> |
| Status: | RESOLVED FIXED | ||
| Severity: | major | ||
| Priority: | NOR | ||
| Version First Reported In: | 3.24 GIT | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | FreeBSD | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Paul Floyd
2024-10-09 08:57:12 UTC
It looks like glibc uses an intenral locking mechanism. https://sourceware.org/bugzilla/show_bug.cgi?id=31997 and https://sourceware.org/pipermail/libc-alpha/2024-July/158579.html I've pushed a change that turns off this check for FreeBSD 15 and later. I don't consider that to be a definitive fix so I'm not closing this item. commit 5c47ad94a0485cccd2a41506dd7e83f58b4569c3 (HEAD -> master, origin/master, origin/HEAD) Author: Paul Floyd <pjfloyd@wanadoo.fr> Date: Sun Nov 3 19:47:12 2024 +0100 Bug 494337 - All threaded applications cause still holding lock errors Don't count the first call to pthread_mutex_lock() from exit(). Needed to update a couple of expecteds as exit() is now wrapped so it turns up in the callstacks. This is only for FreeBSD. |