https://bugs.openldap.org/show_bug.cgi?id=9278
Xin Li <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #736 is|0 |1 obsolete| | --- Comment #3 from Xin Li <[email protected]> --- Created attachment 738 --> https://bugs.openldap.org/attachment.cgi?id=738&action=edit Proposed patch Oops, yes you are right and I clearly have some misunderstanding of the code here, sorry for the noise. Here is a different proposal, basically, it would destroy the robust mutex if we are the only remaining user. My understanding of https://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html#tag_15_09_09 was that the effect after unmapping of the mutex object is undefined, on FreeBSD, it seems to confuse the threading library because after the last mmap is gone, the kernel GC's the object, while it's still on userland threading library's bookkeeping ( https://svnweb.freebsd.org/base/head/lib/libthr/thread/thr_pshared.c?annotate=297141#l220 ) if they are not destroyed. -- You are receiving this mail because: You are on the CC list for the issue.
