Date: Thu, 11 Apr 2019 09:37:18 +0000 From: bugzilla-noreply@freebsd.org To: threads@FreeBSD.org Subject: [Bug 237195] pthread_mutex_unlock crash as unlocked mutex destroyed by signaled thread Message-ID: <bug-237195-13406-RTZx7tCakA@https.bugs.freebsd.org/bugzilla/> In-Reply-To: <bug-237195-13406@https.bugs.freebsd.org/bugzilla/> References: <bug-237195-13406@https.bugs.freebsd.org/bugzilla/>
next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D237195 Konstantin Belousov <kib@FreeBSD.org> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |kib@FreeBSD.org --- Comment #1 from Konstantin Belousov <kib@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. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-237195-13406-RTZx7tCakA>