[Bug 237195] pthread_mutex_unlock crash as unlocked mutex destroyed by signaled thread
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Apr 11 09:37:20 UTC 2019
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237195
Konstantin Belousov <kib at FreeBSD.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |kib at FreeBSD.org
--- Comment #1 from Konstantin Belousov <kib at FreeBSD.org> ---
I was unable to reproduce the issue with your test program.
Regardless of it, there is indeed an access to the mutex memory after the
unlock. Please try the attached patch and report back. Note that seemingly
similar check in _mutex_leave_robust() only compares addresses.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-threads
mailing list