Received: by 2002:a05:7412:5112:b0:fa:6e18:a558 with SMTP id fm18csp1220038rdb; Wed, 24 Jan 2024 08:15:29 -0800 (PST) X-Google-Smtp-Source: AGHT+IFgDIr3GX3DX2r+hPh+bbDLinfVvFIbO3Tp/ou1a1YVGXJ2ZiOihK/tZqRBmxpsDfPFJIyV X-Received: by 2002:a05:620a:404b:b0:783:a1e1:cd2f with SMTP id i11-20020a05620a404b00b00783a1e1cd2fmr5955179qko.35.1706112929445; Wed, 24 Jan 2024 08:15:29 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1706112929; cv=pass; d=google.com; s=arc-20160816; b=aMnsxisV0iKKWjTWnCKb716jx1UJ9uULMFlxSOJiukfN4tMGXAVAHQvt854s4Ok4P0 6vCMzwGlLnD4QbtedFceqsbn/FM8ZPql9FlKz1oUm9TZQFqeGl/aAka18tmDxGvQepbd q2sNeiTqvCmHH/InA07l5+oc9eK/mFMMw8vnFRXcoaTwwf6mQKULlSO5eiDra/ghGkyW p9cNjgG3Z0ba8T9CW/ld5HIqZZQFxRx066M133FRSPMKMLuKFjd4gjLQfrSAVgFH6u96 rSGxHMBNK2VI7FKFuD4TRLpNC625zLD93y7U3ra6rciQlfJvWN8YDdgKb3B8yp2Nd1SN P1/A== 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=yF3GkejbKk0w/4PguJoM8QQDsLnQTp9K0LnXvAD+Osk=; fh=VoseRXdnskJWzM7tLcAwiY2DUkc0KNeuAKjEnzUFIqg=; b=Evhj2w6u5D/3odzV0mQIKZxfHzdY8eszGrZ61kdSeDP8TpAe/xrJTr24phy7WTLCWn ZcBpNoS98f9Nvh0THj9Qw/rDJhK8euxennRsD1H3mjUSQTnLmyUI3wHREIvW7hSqzeju 1xkSAQAcPxynmj8iDXvAKWLOyE7w8/rvpiIfAejHxvilTM30QrfT/Me70tXGy+qbIOXh KM2o5S17hSQsamp0bkqWRYtUMq7DH/Pnb1r4UnZsy8DaNZSyiOaYQXzasB6ksti8+F82 jXlzANczWDYJMJNAE+rySFb/1Dehsgx9n5MuYo20prNvIfu5Vnbe/J78PuKBQFlOJFEU eyAg== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=eXRZqweJ; 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-37313-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37313-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. [147.75.199.223]) by mx.google.com with ESMTPS id c24-20020a05620a11b800b00781e877cd8dsi10151487qkk.158.2024.01.24.08.15.29 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 24 Jan 2024 08:15:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-37313-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) client-ip=147.75.199.223; Authentication-Results: mx.google.com; dkim=pass header.i=@xry111.site header.s=default header.b=eXRZqweJ; 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-37313-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.199.223 as permitted sender) smtp.mailfrom="linux-kernel+bounces-37313-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 9711E1C224DE for ; Wed, 24 Jan 2024 16:15:08 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 254DF7E772; Wed, 24 Jan 2024 16:13:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=xry111.site header.i=@xry111.site header.b="eXRZqweJ" 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 36C757E565; Wed, 24 Jan 2024 16:13:53 +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=1706112836; cv=none; b=trZeDoHrRiYQb8SgnyBKfpkaplN07P4LbgWKaguvJJzGJTZ//xpYpXkpQOwq5cLyUfk+fheXEoNbeh2tK+tHxXXelr+fMoLcjEwvp1G6xw6e3Pt5Y3S5rCyEngF257AsJTUnL8kI5ODqs9QvDRbDwKyM76UV6K//rvx/Nw7iZcg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1706112836; c=relaxed/simple; bh=+rReAANx2iYEhcc46qGz07QWQ4XTbUlAYD3+TJ2mY7I=; h=Message-ID:Subject:From:To:Cc:Date:In-Reply-To:References: Content-Type:MIME-Version; b=IVFXbRtleJhKomIeOWJTex9wV43pOZDIlLGFmuLRleAo+g1SZYudNI9BNVvbmkf2COBRiCjJi53CyoNJ3VVUTE9XkurlrABSqG6Rd+KLHGbLMf7tEnNlMjUt60J4tM9E8MbNebbc+J+Y9fBZ5RKw826DO8yn3fJsFJdSunFN//E= 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=eXRZqweJ; 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=1706112832; bh=+rReAANx2iYEhcc46qGz07QWQ4XTbUlAYD3+TJ2mY7I=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=eXRZqweJVlbCHlhCnvRrFOaqMIpPKjUVh2KH5bg9tYap0qGulTtYm8qIWwYyUMtqp ud8fBhW0GjfjEEOSZJqcBnp6phDkyjdOpSuoSuGfzqos7hRJfDKV5N6cjKh5RJb6lP kw2N+86ipI39NvZw5Gu6T6BQy9XxIhjvSdPchoa8= Received: from [IPv6:240e:358:113a:a00:dc73:854d:832e:5] (unknown [IPv6:240e:358:113a:a00:dc73:854d:832e:5]) (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 ED182669C3; Wed, 24 Jan 2024 11:13:48 -0500 (EST) Message-ID: <0be1203c9df55432548c92281c8392dfa2f7d6bf.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: Thu, 25 Jan 2024 00:13:43 +0800 In-Reply-To: <9481b6d9d015aea25d8f2563bf7bd6f6462f758f.camel@xry111.site> References: <75e9fd7b08562ad9b456a5bdaacb7cc220311cc9.camel@xry111.site> <9481b6d9d015aea25d8f2563bf7bd6f6462f758f.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 20:49 +0800, Xi Ruoyao wrote: > 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 f= urther > > > triage? > >=20 > > Is this a regression? >=20 > 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. >=20 > Not sure if this is a kernel regression, I'll try different kernels in > several hours (once I can physically access the system). Not happening with kernel 5.18.1. I can do a bisection but it will take several days, I guess. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University