From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 76568 invoked by alias); 20 Feb 2020 09:02:51 -0000 Mailing-List: contact libc-help-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: libc-help-owner@sourceware.org Received: (qmail 76549 invoked by uid 89); 20 Feb 2020 09:02:50 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy=__data.__owner, UD:pthread_mutex_lock.c, __data__owner, dear X-HELO: mail-wm1-f45.google.com Received: from mail-wm1-f45.google.com (HELO mail-wm1-f45.google.com) (209.85.128.45) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 20 Feb 2020 09:02:49 +0000 Received: by mail-wm1-f45.google.com with SMTP id c84so1121492wme.4 for ; Thu, 20 Feb 2020 01:02:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=g5f5y2148LlvQsShLwP44uU+qb3Y7yxa0rzQholTKJk=; b=Hn62dLS8x6u9RrW0TFF3CWjgAbe42cMa7WOoYQIK2Bx+eQrPVlnKO5shmZk9KM9QGy 0PSnsMVWbGLs2OJXkaB1WTSbogMejXMIDcQ8p/MXhLbYlma6HjPNyZKTZ6fhjmmqrDf3 CBxCJTKdtjKISma/0WoqvhWqQcamA7YX9dcmU1C+dC1xCAVxbNy0/E3JqOzofM+Ims5L SYf3oevVzpGkS4yuboQwEYUZZ/xsad1XvJI5u8eTF1RSVqFRbfkUWkk+d1fN+UzycQcI 2uCRQ7B4dnqfFdttk68eSEb02Nj9gOrPLsC+KntJwaHCMfdu+l7kWhkZx8+na+ckTb1x fHXA== MIME-Version: 1.0 References: <72ad57af.1380.17060da4702.Coremail.wanghanlin@corp.netease.com> In-Reply-To: <72ad57af.1380.17060da4702.Coremail.wanghanlin@corp.netease.com> From: Jonathan Wakely Date: Thu, 20 Feb 2020 09:02:00 -0000 Message-ID: Subject: Re: __pthread_mutex_lock assertion error with a simple test program To: wanghanlin@corp.netease.com Cc: libc-help@sourceware.org, gcc-help Content-Type: text/plain; charset="UTF-8" X-SW-Source: 2020-02/txt/msg00021.txt.bz2 On Thu, 20 Feb 2020 at 04:28, 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.