Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp4693066iob; Sun, 8 May 2022 22:13:44 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxEAIDzBx7or6tv55FMLyoM8VFDHDpQXP6U2o1w5aeiJRy0VKjPir7xt4nst1QEOwdAosVa X-Received: by 2002:a17:902:e889:b0:15e:9ff2:aad with SMTP id w9-20020a170902e88900b0015e9ff20aadmr14189893plg.75.1652073224012; Sun, 08 May 2022 22:13:44 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652073224; cv=none; d=google.com; s=arc-20160816; b=KC8jSEmXl+1ajxKNPy9VV9IFXXKPLTVjRpo4rgniQi6fnwTr4+JWf3HP9vKty7qQ/u blpWwl4F/LAcCa94GqdHcaJlKKINDtj0hJXaKx8X2IShCr73xVGh3WDZIj+ZHzXt0ApD yGkdeV0zD2s3ORZvBpC/u4D7lUMs/+AHMnENwskWlaq1vAnr36tQSCXGW3nR+F5K4gvO ryxAx2wRh3xHgXjVvBxb+9x6LbQG06XY/Q0NEczsYEUTBECOpKuhXDAnmlu7Yg56ygJO TiyvNc5TF+hQFQwmmQso+alIHlUdUIfhC59iyxZBrnJmxW42qou82ZfHoix4A4d42Jrv khbw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-disposition:mime-version :mail-followup-to:message-id:subject:cc:to:from:date; bh=SyM+ZnRN9XBoXuvOyrKna3RzVIIIgxC219SC5WphAYE=; b=L3AlJ2DFWfuzlaJZbg2ZJgwscFQpVw6K5O9tQ1FUaiAxh8YmOpRqtyPmy2QlAfXmM9 azoA763PDplCZprWGqb1xhQcgTjC0vyBvaCrui5VFYG+EgeKl9C0CJBTdwNK+g6Did01 WCr7QfdiYiH8jGdEoi31UkJCzo8hTI72cAy+8PawRzEt+bpNO1mBAGbT/L2jh4JYjxIh qGHdGVkqfbjLGZeX9ZDEnV2IRKCV/x2f5m90gSbw2uGA4+SocjYB8Qg63qOX5U1XwGwR KBBuENnopdnftEkHMuXqEL71Sz5f2AAeMhkK2OJlUpyGkABdw+mv8nlTypxNhUMDUG6p 8uJw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=orcon.net.nz Return-Path: Received: from lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [2620:137:e000::1:18]) by mx.google.com with ESMTPS id h191-20020a6383c8000000b003c6af930f0asi3799122pge.458.2022.05.08.22.13.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 08 May 2022 22:13:44 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) client-ip=2620:137:e000::1:18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=orcon.net.nz Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 069DB13F43E; Sun, 8 May 2022 22:10:14 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1355128AbiEFWBX (ORCPT + 99 others); Fri, 6 May 2022 18:01:23 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:48900 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233009AbiEFWBU (ORCPT ); Fri, 6 May 2022 18:01:20 -0400 X-Greylist: delayed 2159 seconds by postgrey-1.37 at lindbergh.monkeyblade.net; Fri, 06 May 2022 14:57:35 PDT Received: from smtp-1.orcon.net.nz (smtp-1.orcon.net.nz [60.234.4.34]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A0B1F24BD8; Fri, 6 May 2022 14:57:35 -0700 (PDT) Received: from [121.99.247.178] (port=6746 helo=creeky) by smtp-1.orcon.net.nz with esmtpa (Exim 4.90_1) (envelope-from ) id 1nn5OE-0004Rh-Me; Sat, 07 May 2022 09:21:31 +1200 Date: Sat, 7 May 2022 09:21:25 +1200 From: Michael Cree To: linux-alpha@vger.kernel.org Cc: linux-kernel@vger.kernel.org, Joonsoo Kim , Andrew Morton Subject: Alpha: rare random memory corruption/segfault in user space bisected Message-ID: Mail-Followup-To: Michael Cree , linux-alpha@vger.kernel.org, linux-kernel@vger.kernel.org, Joonsoo Kim , Andrew Morton MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline X-GeoIP: NZ X-Spam_score: -2.9 X-Spam_score_int: -28 X-Spam_bar: -- X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00, FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,SPOOFED_FREEMAIL_NO_RDNS, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 either due to self detected corrupt memory structures or segfaults. Have been running 5.8.y kernel without such problems for over six months. 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: aae466b0052e1888edd1d7f473d4310d64936196 is the first bad commit commit aae466b0052e1888edd1d7f473d4310d64936196 Author: Joonsoo Kim Date: Tue Aug 11 18:30:50 2020 -0700 mm/swap: implement workingset detection for anonymous LRU Pretty confident this is the bad commit as the kernel built to the parent commit (3852f6768ede54...) has not failed in four days running. Always have seen the failure within one day of running in past. Cheers, Michael.