Received: by 2002:a25:4158:0:0:0:0:0 with SMTP id o85csp1217900yba; Thu, 4 Apr 2019 06:36:10 -0700 (PDT) X-Google-Smtp-Source: APXvYqxQsTg5n7UFm6i41HqkMXNDPA/6kKD0Fs097iOq8thrgeFnWPfrr9Fp6heIBqxNloz4EzQ1 X-Received: by 2002:a17:902:9a4a:: with SMTP id x10mr6539346plv.113.1554384970297; Thu, 04 Apr 2019 06:36:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1554384970; cv=none; d=google.com; s=arc-20160816; b=z/o0TSOPnV8XraslMSaCNed8l64NIt7AJz8bMfLAjMwOlYSt3GWdYTzFDY0J7Bl+11 mWDJu3XcyzhRTsPUoTmbCAqJ5gelVVLrpsU+3YT6PuC3ZogWtfErwAHQAq5/CQTy92oW 0cjjB50TMGCrhue3+Ekqe9u2VxwlKZ1DlJdD/PANh5SL3CQYtx7qqYuVydeK+NnxWHlP YdIU14NEiTfZvADMKJkA/VfmHE8RY58Y6+0hSeplDA5qnHykSGFfueie8IGNfej9M1Mf KnYQCII/3lx+lTRfY3H5MRumWnQNXWqS26ZA25VTHdENchafczErkQ7K/7OHYI48IJ38 A8sA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=4ElSO3JilSrfvBpkYt7Xj0vpQkyxBUWJQkAMjQGNyec=; b=hCORLc0TAInkOZ3r5g+6IZEUeikeq7KB+wOTZgZYc4L/UjcWoXjCeN1LQ6tlC5mw0D RW1MRucihY+YawBlhFWJT2rpzgJP5cph/r8QnUXRlUAZwZdjh2incvyq2eMsFMXOfmNQ WR2p5eR3p9nwS+h/U66+sbkgsBv4v7h6vmmsZm1H/luzw77VzD5hWNaOZtH0owm4LWKX e1fa3zVxvcTNr2pPNWJOn3ajRGxLPB0rjp/mx/CPiQm4t3veLc3xyLpNWBNPwLAt56nz b80V7X+4j+dksJv4KU798mQnRgSDZ1fdNb7MsKE5/bd4r9RyeNwrokjxnVd9k45CnGAu 4IfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CHWYozrF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id ci5si9707198plb.145.2019.04.04.06.35.54; Thu, 04 Apr 2019 06:36:10 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=CHWYozrF; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729856AbfDDNdc (ORCPT + 99 others); Thu, 4 Apr 2019 09:33:32 -0400 Received: from mail-lj1-f177.google.com ([209.85.208.177]:42853 "EHLO mail-lj1-f177.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725914AbfDDNdc (ORCPT ); Thu, 4 Apr 2019 09:33:32 -0400 Received: by mail-lj1-f177.google.com with SMTP id v22so2093349lje.9 for ; Thu, 04 Apr 2019 06:33:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=4ElSO3JilSrfvBpkYt7Xj0vpQkyxBUWJQkAMjQGNyec=; b=CHWYozrF9IRqOrTqfnTnQYzVZYbl1py9ORPjBudktMS1Y9AaMORPwrF1l5xvHbMah2 nhN6uwQeoi8/9OmN8pYeL/AaFe8KQYhJiemQgesoJVME6t5JFe5ZTYg+41AzwZvtRoj8 JcgdyCBAVIMTPLC0Rk7Xfoionlleu1T1KnZZjWL6FA/n4rleoz+nZcIzey4U/ZsIq/k2 c1QOwunGj4Tg87vzIDIU+5Tj3CoZNpWjtNIgm7xLvFqQdOQ4bDrUA3N7C5P6rljHcN2G dzUYNB/u+Ufyv+22O7qOMEZxLG+y2DkMyhDnaQT/9omw1fO/DzIowByScHeTuLoAB89p rRSA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=4ElSO3JilSrfvBpkYt7Xj0vpQkyxBUWJQkAMjQGNyec=; b=pKT16tV7ZpmRaNGASMwkfdaiNUZyTFDPVQCnYjfLUc+48OSpBKmIRQdjkHXmpqghxT Ceht96Jy6LvFTYbiOMX/NqnOqhRSHVjf11PlpEwvrZdLrKtJ3vhEqMJ8gWSGqK3TEXOZ PddsMZKWdf+U496tG6eI334mqUqqpBhR7U4fKMcECD59BqmQJPdBIcZ4uiAkDUzTxa3R w30ZkUxiF4Ww8V5duZkJOpm4ugURaUO26BSSc/ioLuCQMgsEPqwJ0jHV6tLBWta5YY2F I80tsfVYLakkGHYhdgOc8+HYEYs51+7xxdftgp3dnXRJVqp5AwCZe7jjGYmtU+oTs+HO Edhw== X-Gm-Message-State: APjAAAV67WB5k22eQjFJ/So9jBLQcwFRjlg4xjC46BtKFy4xXzBt+q61 DP41WmvK5Afx3G8l5EDBPJD4BiEo X-Received: by 2002:a2e:9a91:: with SMTP id p17mr3428781lji.127.1554384810285; Thu, 04 Apr 2019 06:33:30 -0700 (PDT) Received: from uranus.localdomain ([5.18.103.226]) by smtp.gmail.com with ESMTPSA id m1sm3645571lfb.78.2019.04.04.06.33.28 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 04 Apr 2019 06:33:29 -0700 (PDT) Received: by uranus.localdomain (Postfix, from userid 1000) id 57272460438; Thu, 4 Apr 2019 16:33:27 +0300 (MSK) Date: Thu, 4 Apr 2019 16:33:27 +0300 From: Cyrill Gorcunov To: Vince Weaver Cc: Peter Zijlstra , linux-kernel@vger.kernel.org, Arnaldo Carvalho de Melo , Alexander Shishkin , Ingo Molnar , Borislav Petkov , Namhyung Kim , Thomas Gleixner , Jiri Olsa , Stephane Eranian Subject: Re: perf: perf_fuzzer crashes on Pentium 4 systems Message-ID: <20190404133327.GP1421@uranus.lan> References: <20190403191944.GH1421@uranus.lan> <20190403203144.GI1421@uranus.lan> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.11.3 (2019-02-01) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 04, 2019 at 09:25:47AM -0400, Vince Weaver wrote: > > It looks like there are at least two bugs here, one that's a full > hardlockup with nothing on serial console. The other is the NULL > dereference. > Seems so. I've spent plenty of time yesterday trying to figure out how we even reach the case when event = nil but without much luck. > Just ran with your patch applied and it hit the hard lockup case. > > I'll have to see if things are reproducible and I can try to see if I can > get a reproducible value for what even caused the issue. perf_fuzzer has > some infrastructure for determining that but it's hit or miss if you can > get anything useful from it. At least the sequence of events migh give us some ideas, maybe not indeed. Thanks a huge, Vince! > I'll keep running things, but I'm a bit busy at work here the next few > days so there might be some delay in the results. Sure, take your time. I think this problem with p4 is not urgent. I'll ping you if I get some more ideas.