This is the mail archive of the
libc-help@sourceware.org
mailing list for the glibc project.
Re: __pthread_mutex_lock assertion error with a simple test program
- From: Jonathan Wakely <jwakely dot gcc at gmail dot com>
- To: wanghanlin at corp dot netease dot com
- Cc: libc-help at sourceware dot org, gcc-help <gcc-help at gcc dot gnu dot org>
- Date: Thu, 20 Feb 2020 09:02:36 +0000
- Subject: Re: __pthread_mutex_lock assertion error with a simple test program
- References: <72ad57af.1380.17060da4702.Coremail.wanghanlin@corp.netease.com>
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.