Date: Wed, 21 Aug 2019 18:25:38 +0000 From: bugzilla-noreply@freebsd.org To: threads@FreeBSD.org Subject: [Bug 240022] sem_wait broken by r350481 Message-ID: <bug-240022-13406@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D240022 Bug ID: 240022 Summary: sem_wait broken by r350481 Product: Base System Version: CURRENT Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: threads Assignee: threads@FreeBSD.org Reporter: andrew@tao11.riddles.org.uk CC: kib@FreeBSD.org, tmunro@FreeBSD.org r350481 confuses _pthread_cancel_enter and _thr_cancel_enter, which take different parameters (int vs. struct pthread *). The result is that sem_wai= t, which calls _pthread_cancel_enter(1), segfaults because it ends up in _thr_cancel_enter(1). This breaks postgresql (easily reproduced by running regression tests) thou= gh it ought to be easily testable otherwise. (Originally reported to me by tmu= nro) Affects current and 12-stable. --=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-240022-13406>