svn commit: r297185 - head/lib/libthr/thread

Konstantin Belousov kostikbel at gmail.com
Tue Mar 22 15:27:59 UTC 2016


On Tue, Mar 22, 2016 at 09:25:48AM -0500, Benjamin Kaduk wrote:
> On Tue, Mar 22, 2016 at 5:51 AM, Konstantin Belousov <kib at freebsd.org>
> wrote:
> 
> > Author: kib
> > Date: Tue Mar 22 10:51:42 2016
> > New Revision: 297185
> > URL: https://svnweb.freebsd.org/changeset/base/297185
> >
> > Log:
> >   Apparently there are some popular programs around which assume that it
> >   is safe to call pthread_mutex_init() on the same shared mutex several
> >   times.  POSIX claims that the behaviour in this case is undefined.
> >
> 
> Has anyone volunteered to tell KDE they're doing it wrong?  (Do we know of
> anything other than KDE?)

I am not aware is the answer to both your questions.
For useful report to KDE people, somebody should at least do some debugging
on KDE side.  E.g., what is the lock which was initialized twice, and how
does it happen ?

I looked at the issue from the internal side of the libthr, and have no
energy to read and understand KDE code.


More information about the svn-src-head mailing list