Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp570076imu; Fri, 25 Jan 2019 07:12:47 -0800 (PST) X-Google-Smtp-Source: ALg8bN6Ui0xDTZyn0JPZf/zBGLe0HmMumoVZWBTmK9tUL73y+ypgVimQ9joUekJ540IHYP3N2/YV X-Received: by 2002:a17:902:d697:: with SMTP id v23mr174271ply.261.1548429167473; Fri, 25 Jan 2019 07:12:47 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1548429167; cv=none; d=google.com; s=arc-20160816; b=y5F3iUttJIl3pj62nLM7GvkLQHebtBr/1q71fjM4xo6culccHJwATn+OlX+fp7K/WH /t/7XbhF0nDBEpvhklR2DN+4tHpnZkqNwMzEx2WfIHbZbWbIPsSqS/XCNwtaQ9xcs2h8 lwWX/Wys+RFDojvzyhxh82JUpHdSOlfmicgWlFIV8WdbaZZjqeBmlE2fYOnUMWOccvwf QS8no7Dr5yPD3VQ5zuqgkpij09+EY9hvJqvad3uuThE34Bq4wzYaPw72/MZNi93uhzr0 MnmrCsSjw+YKs8sF1wcqVLy4DzAy5wegriM5xLSBOtsRvWJyW6EyDUaL8rYDP8JnQ3jW Ltuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:date:from:dkim-signature; bh=I++XVxfiKjXV6KkxGWgqivb89xppHHENKhtBr0XDFgY=; b=pHss8dHhazfRkAaJy4k2vdPldZodDfy1Tx+APYtQtYaHRHdpr3U6044YfwEGVMAmAy MOSSZ4BXLhy29mfQEncGomZzUkbySL932EirPJeFBpqOJrwcZYUXVSMQHyL/nTHlcNnK Q4dB1n/eHwCLvZfXy2bk/SgqGLGCfdfSPRk853puvvkGdPVsF3LAeIgJFTdP9S36tVaR MVspib/zHaSiOMvJ7WGS279fLF2Id+8lKUoHX+e3lpMHaxyyhdD/Z0yROmoSzsKEgK48 6zD2WhYXL4oVgBaBH6D+sI5uYDSxHNUWmww2TGYHdMV8VmLPk9m1bjhKRpTsY06kHDYx pwJA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@maine.edu header.s=google header.b=gFVoNGd5; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id b10si24496552plz.233.2019.01.25.07.12.31; Fri, 25 Jan 2019 07:12:47 -0800 (PST) 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=@maine.edu header.s=google header.b=gFVoNGd5; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728289AbfAYPLc (ORCPT + 99 others); Fri, 25 Jan 2019 10:11:32 -0500 Received: from mail-qk1-f194.google.com ([209.85.222.194]:33300 "EHLO mail-qk1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726256AbfAYPLb (ORCPT ); Fri, 25 Jan 2019 10:11:31 -0500 Received: by mail-qk1-f194.google.com with SMTP id d15so5595749qkj.0 for ; Fri, 25 Jan 2019 07:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=maine.edu; s=google; h=from:date:to:cc:subject:in-reply-to:message-id:references :user-agent:mime-version; bh=I++XVxfiKjXV6KkxGWgqivb89xppHHENKhtBr0XDFgY=; b=gFVoNGd5AbqmS6Tvr7f58/xDGG0qBJlMcWiLVmAi71MThfb0Tdt9SJoTNijv/Z341a qjyolpauxzWfvhu6hgRkCewwUHYFY3fJT0ZL3BTG7QBsbiUcVLditZ8ON5z95Z6UzQ60 aQaFOa4Mltbm0X7tHbtv2zBfV5RbHlCgp2MVQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:in-reply-to:message-id :references:user-agent:mime-version; bh=I++XVxfiKjXV6KkxGWgqivb89xppHHENKhtBr0XDFgY=; b=VIaSVOhlHX12fzc8j4TVFGO7aPBYLKYJ1nWXuLdcGbH92PPEZmJS5QiHSs1uvZPS9U XdcC4W33JzJBxg88h6G2MUw35zJ+bJLv+j2J+r8Xw3Vp+yHkLekBc5dD/lIADZpr9jOX L8RkhDIGqmH0ZEytYAJl5QpWV6G9nI5CYEcnWsZVlqLjORX9PWt63SWbNw3CN5dupqKb RnQo8XRm5SPRqasT+pOfV4YXaYTi8cagj9bF4ZtZ+FkylUjM7ZSitMWYecUNPgCl4Sh3 LQu/XjIxe2P3OjwKMeduNzLwmoWghZltX/5XfYajbFwRJ2ogt5uQuUIYOTgOyZQc8Bkq xX5A== X-Gm-Message-State: AJcUukflqyVRqQUCfypkVVG/ancf9LbhMFH5M7i9ztP+l8iMUzMBVClq nu5nw1GuIE5BrwEvrjNTnw6NZg== X-Received: by 2002:ae9:ddc3:: with SMTP id r186mr10075337qkf.163.1548429090658; Fri, 25 Jan 2019 07:11:30 -0800 (PST) Received: from macbook-air (weaver.eece.maine.edu. [130.111.218.23]) by smtp.gmail.com with ESMTPSA id x49sm98323625qta.89.2019.01.25.07.11.29 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 25 Jan 2019 07:11:29 -0800 (PST) From: Vince Weaver X-Google-Original-From: Vince Weaver Date: Fri, 25 Jan 2019 10:11:28 -0500 (EST) X-X-Sender: vince@macbook-air To: Ravi Bangoria cc: lkml , Jiri Olsa , Peter Zijlstra , linux-perf-users@vger.kernel.org, Arnaldo Carvalho de Melo , Andi Kleen , eranian@google.com, vincent.weaver@maine.edu, "Naveen N. Rao" Subject: Re: System crash with perf_fuzzer (kernel: 5.0.0-rc3) In-Reply-To: <7c7ec3d9-9af6-8a1d-515d-64dcf8e89b78@linux.ibm.com> Message-ID: References: <7c7ec3d9-9af6-8a1d-515d-64dcf8e89b78@linux.ibm.com> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 25 Jan 2019, Ravi Bangoria wrote: > I'm seeing a system crash while running perf_fuzzer with upstream kernel > on an Intel machine. I hit the crash twice (out of which I don't have log > of first crash so don't know if the reason is same for both the crashes). > I've attached my .config with the mail. > type = PERF_TYPE_HARDWARE; > ======== > > And, I'm running fuzzer in a loop with *root*. (Let me know if running > as root is harmful ;-) ). There's a known issue related to Intel BTS events that you can trigger with the perf_fuzzer, even as a normal user. I reported it a few months ago but I don't think it ever got resolved. The traces you get look similar to some that you posted. It's hard to track down as it doesn't seem to be a simple issue, but rather it looks like the BTS event handling is stomping over memory it shouldn't somehow. Vince