[PATCH v11] Add pretty printers for the NPTL lock types
Torvald Riegel
triegel@redhat.com
Fri Jan 6 21:58:00 GMT 2017
On Fri, 2016-12-23 at 16:37 -0300, Martin Galvan wrote:
> 2016-12-23 15:47 GMT-03:00 Torvald Riegel <triegel@redhat.com>:
> > Status = Locked, possibly with no waiters, Owner ID = 0, Robust = No,
>
> That's odd, IIRC locked mutexes always record their owner's ID. I
> assume manually printing mutex->__data.__owner at that point shows 0
> too, right?
This may be related to lock elision. In a build with lock elision
disabled, I didn't see the failure. The next build with lock elision
enabled again showed the failure.
Did you test with or without lock elision?
More information about the Libc-alpha
mailing list