From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id 037A4C433EF for ; Sat, 7 May 2022 01:57:05 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 4EED46B0071; Fri, 6 May 2022 21:57:05 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 49DC46B0073; Fri, 6 May 2022 21:57:05 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 363F86B0074; Fri, 6 May 2022 21:57:05 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0088.hostedemail.com [216.40.44.88]) by kanga.kvack.org (Postfix) with ESMTP id 2778E6B0071 for ; Fri, 6 May 2022 21:57:05 -0400 (EDT) Received: from smtpin26.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id BF9DFA3ECD for ; Sat, 7 May 2022 01:57:04 +0000 (UTC) X-FDA: 79437283968.26.4328865 Received: from r3-25.sinamail.sina.com.cn (r3-25.sinamail.sina.com.cn [202.108.3.25]) by imf03.hostedemail.com (Postfix) with SMTP id 51B9720027 for ; Sat, 7 May 2022 01:56:55 +0000 (UTC) Received: from unknown (HELO localhost.localdomain)([114.249.57.134]) by sina.com (172.16.97.23) with ESMTP id 6275D1AF0001F18C; Sat, 7 May 2022 09:56:05 +0800 (CST) X-Sender: hdanton@sina.com X-Auth-ID: hdanton@sina.com X-SMAIL-MID: 33113654919474 From: Hillf Danton To: Michael Cree Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: Alpha: rare random memory corruption/segfault in user space bisected Date: Sat, 7 May 2022 09:56:46 +0800 Message-Id: <20220507015646.5377-1-hdanton@sina.com> In-Reply-To: References: MIME-Version: 1.0 X-Stat-Signature: jh6hynybhrgf8r95yamh6738b57r3ipg X-Rspamd-Server: rspam07 X-Rspamd-Queue-Id: 51B9720027 X-Rspam-User: Authentication-Results: imf03.hostedemail.com; dkim=none; spf=pass (imf03.hostedemail.com: domain of hdanton@sina.com designates 202.108.3.25 as permitted sender) smtp.mailfrom=hdanton@sina.com; dmarc=none X-HE-Tag: 1651888615-29004 Content-Transfer-Encoding: quoted-printable X-Bogosity: Ham, tests=bogofilter, spamicity=0.000018, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: On Sat, 7 May 2022 09:21:25 +1200 Michael Cree wrote: > Alpha kernel has been exhibiting rare and random memory > corruptions/segaults in user space since the 5.9.y kernel. First seen > on the Debian Ports build daemon when running 5.10.y kernel resulting > in the occasional (one or two a day) build failures with gcc ICEs eithe= r > due to self detected corrupt memory structures or segfaults. Have been > running 5.8.y kernel without such problems for over six months. >=20 > Tried bisecting last year but went off track with incorrect good/bad > determinations due to rare nature of bug. After trying a 5.16.y kernel > early this year and seen the bug is still present retried the bisection > and have got to: >=20 > aae466b0052e1888edd1d7f473d4310d64936196 is the first bad commit > commit aae466b0052e1888edd1d7f473d4310d64936196 > Author: Joonsoo Kim > Date: Tue Aug 11 18:30:50 2020 -0700 >=20 > mm/swap: implement workingset detection for anonymous LRU >=20 >=20 > Pretty confident this is the bad commit as the kernel built to the pare= nt > commit (3852f6768ede54...) has not failed in four days running. Always = have > seen the failure within one day of running in past. See if the fix to the syzbot bisection [1] is not a cure to your issue. [1] https://lore.kernel.org/lkml/000000000000625fa705dd1802e3@google.com/