[Bug 237195] pthread_mutex_unlock crash as unlocked mutex destroyed by signaled thread
| Newsgroups | gmane.os.freebsd.devel.threading |
|---|---|
| Message-ID | <[email protected]/bugzilla/> |
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=237195 Konstantin Belousov <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |[email protected] --- Comment #1 from Konstantin Belousov <[email protected]> --- 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. _______________________________________________ [email protected] mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-threads To unsubscribe, send any mail to "[email protected]"