__pthread_mutex_lock assertion error with a simple test program

Jonathan Wakely jwakely.gcc@gmail.com
Fri Feb 21 17:38:00 GMT 2020

On Thu, 20 Feb 2020 at 04:28, <wanghanlin@corp.netease.com> wrote:
> Dear All,
> Recently on my X86 server one problem hit.
> ../nptl/pthread_mutex_lock.c:81: __pthread_mutex_lock: Assertion `mutex->__data.__owner == 0' failed.
> The test program of appendix [1] is very simple.
> Strangely, there are hundreds of identical servers, but only two have this problem.

It doesn't look like a GCC problem though.

More information about the Gcc-help mailing list