Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1091264rdb; Wed, 24 Jan 2024 04:49:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IFOQj33fwafiyBv7mMRU9HoB731gJT7H07QlAxjWUgKTZUmarUPHDqy9tWua+BPzl5982oW X-Received: by 2002:a05:6808:48f:b0:3bd:72dc:65a6 with SMTP id z15-20020a056808048f00b003bd72dc65a6mr1216847oid.58.1706100561962; Wed, 24 Jan 2024 04:49:21 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706100561; cv=pass; d=google.com; s=arc-20160816; b=1JKg8q9pxzg5wkAXzU/RZweqhfAfVzy3PPcfkRTTpcHPMQ6RpTx+Xjh3gLTgj2PW0j YqFqomSt2y1HUdPpnOYbBYCAYTnn8/5toGXD+NXVD38pdRxWLggzyMO1DqRbbg9xvw5f 99cLF9B088DyHxZeH+fsR2//lMFIU07FfmwYXvMCCm45s9Gktd6JOm8BVYQK8SkPLWZH R1lKP61j1HAvVDHxygdtSUYglFF+OvDrAGQcZdb6y97yooyVCBXI/6XFvFkAKDVQfdur A+UQF9oEMhxSBPgi5HrX35rOe/dARHctcsg62AyfRBAPXqv8FRvmiIrmsuh2cac37Fnx 60Sw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :user-agent:content-transfer-encoding:autocrypt:references :in-reply-to:date:cc:to:from:subject:message-id:dkim-signature; bh=s6U31JdDDdI9PWpaMCc4XRAEGMxkDJjCGZP0a8Ic/GM=; fh=VoseRXdnskJWzM7tLcAwiY2DUkc0KNeuAKjEnzUFIqg=; b=NbBmDh9d/x06WLjr09rMxvrh130CeN3L8s4K+hra5sJJXU5QKhQs0zcx/Bh7yK7Xyh MTofEavyHsxIbaJoAFDADMYtqQZG35JV7WmSSArv8YnTOy2KPg/1IqMh5OWkuncBELtE iSnphDpbjxsSEIauOJxaPGnMyUSbs0xIo3VR34j48TkQmtsNbsx7rCEWeDnsBG8MeSFh E5xGqfjEWoAiURiFLksPB1yNFWJGcAA0uTvdrz1y2kt+KOlzFIuuwYdjKzhPU4ZV1ZdG GXsIe2+wN7LHcq22cevR46Si5SsxkeuWm355Qs8++4fUT0QyQcYuMo0IcE+3ikE6PO2K 7hmw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=N7OsNMUa; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-37019-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id c20-20020a05620a0cf400b007837f71c062si9871669qkj.56.2024.01.24.04.49.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 04:49:21 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37019-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=N7OsNMUa; arc=pass (i=1 spf=pass spfdomain=xry111.site dkim=pass dkdomain=xry111.site dmarc=pass fromdomain=xry111.site); spf=pass (google.com: domain of linux-kernel+bounces-37019-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37019-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=xry111.site Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id A887D1C21683 for ; Wed, 24 Jan 2024 12:49:21 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2A75077642; Wed, 24 Jan 2024 12:49:16 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b="N7OsNMUa" Received: from xry111.site (xry111.site [89.208.246.23]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 4CF9577639; Wed, 24 Jan 2024 12:49:13 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=89.208.246.23 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706100555; cv=none; b=GWFckQ9Vv7F9zfWTx5XlzvULfzDY5ZcQa3irFUfuTgoCU2v2aQeeTAv/kisCSzg4//5n13iAnEu4XHsYlOAwGwaKP/9KqUOFsWESZQjzO9zFVerO30FgJpv/ZGkoCejPHxiyM7kg+mKUo4ou6vaVPwNVCz3yhUxLI3jPCopS0/0= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706100555; c=relaxed/simple; bh=s6U31JdDDdI9PWpaMCc4XRAEGMxkDJjCGZP0a8Ic/GM=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=H+3hXTQrXwoVZrii7ij4Bm9SYjDdLBnFHux2qabE5BRBbXQKpd9N0B3GstVwagRJy6NiUrUPRiBeiv2hxxI/ZddgfDqBvx2FLJyOcNw+QkK5KMv4Cbfb1bUa4Rj2Kdu0kWhB+IVNuCctoNYxH0NondTZ2hgXwHQfYJDY6qbD8us= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site; spf=pass smtp.mailfrom=xry111.site; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b=N7OsNMUa; arc=none smtp.client-ip=89.208.246.23 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1706100550; bh=s6U31JdDDdI9PWpaMCc4XRAEGMxkDJjCGZP0a8Ic/GM=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=N7OsNMUarIxezT0AZ8LR73o0hZeU0gjeNTC7lHLePEsFDIZpPbZsPxj+wTeG1oGp/ URkMpC7Z8AXkToWwpNQVLagc0cLqo2+K4zZ/AprHRmWW/ldF0FFFm/8DfqPm1k6ate qdPqYWaHAGWTdlCiPmKZmvBrMODC4l33VGSTYrWs= Received: from [127.0.0.1] (unknown [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id 9E47966DFC; Wed, 24 Jan 2024 07:49:08 -0500 (EST) Message-ID: <9481b6d9d015aea25d8f2563bf7bd6f6462f758f.camel@xry111.site> Subject: Re: Strange EFAULT on mips64el returned by syscall when another thread is forking From: Xi Ruoyao To: Andreas Schwab Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, Jiaxun Yang , Thomas Bogendoerfer , libc-alpha@sourceware.org Date: Wed, 24 Jan 2024 20:49:06 +0800 In-Reply-To: References: <75e9fd7b08562ad9b456a5bdaacb7cc220311cc9.camel@xry111.site> Autocrypt: addr=xry111@xry111.site; prefer-encrypt=mutual; keydata=mDMEYnkdPhYJKwYBBAHaRw8BAQdAsY+HvJs3EVKpwIu2gN89cQT/pnrbQtlvd6Yfq7egugi0HlhpIFJ1b3lhbyA8eHJ5MTExQHhyeTExMS5zaXRlPoiTBBMWCgA7FiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwMFCwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQrKrSDhnnEOPHFgD8D9vUToTd1MF5bng9uPJq5y3DfpcxDp+LD3joA3U2TmwA/jZtN9xLH7CGDHeClKZK/ZYELotWfJsqRcthOIGjsdAPuDgEYnkdPhIKKwYBBAGXVQEFAQEHQG+HnNiPZseiBkzYBHwq/nN638o0NPwgYwH70wlKMZhRAwEIB4h4BBgWCgAgFiEEkdD1djAfkk197dzorKrSDhnnEOMFAmJ5HT4CGwwACgkQrKrSDhnnEOPjXgD/euD64cxwqDIqckUaisT3VCst11RcnO5iRHm6meNIwj0BALLmWplyi7beKrOlqKfuZtCLbiAPywGfCNg8LOTt4iMD Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.50.3 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 On Wed, 2024-01-24 at 12:59 +0100, Andreas Schwab wrote: > On Jan 24 2024, Xi Ruoyao wrote: >=20 > > Now I'm suspecting this might be a kernel bug.=C2=A0 Any pointer to fur= ther > > triage? >=20 > Is this a regression? Initially I guessed it was perhaps a Glibc regression related to the newly introduced clone3 usage on MIPS, but it fails with Glibc-2.35 too. Not sure if this is a kernel regression, I'll try different kernels in several hours (once I can physically access the system). --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University