Received: by 2002:a25:b794:0:0:0:0:0 with SMTP id n20csp733717ybh; Sat, 3 Aug 2019 08:40:14 -0700 (PDT) X-Google-Smtp-Source: APXvYqwOXbROl43aateVZaLJEDWVQVB3qTL3bxvpKeuntg9+VJqZYs0YyNUTAkipJf3FEGK/sKPi X-Received: by 2002:a17:90a:9604:: with SMTP id v4mr9621849pjo.66.1564846814127; Sat, 03 Aug 2019 08:40:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564846814; cv=none; d=google.com; s=arc-20160816; b=eNYK/RPcGAJ42U4DB4ecrAt+2+4u1qqCPWxcOQ1phi1OZwuqyvLiWKXqks14zAvoLF UZsAud38BHh2Eh8yymLMy6UF4Afb94gbUrHP5gJNVzkXgm8Glm46ARrzMKCM4rp/BNzA KQu756V0ubneKHKh1LG6qpyUc3MSQ9Ld81naGkK62z4b0PsmPjQDRu9esLDO7jKqm+TN W7olv1ai50fnh2gvA8Xj5r7+sJ6rP1kU/bJasK29PgYM8Powk5Akf6N1rFzxwzgEszOP 5gP0SQboeNEWFMpHr9eBKHT3vorZy7Y8T5DnG0jxfvbzTOEQrj6DY7hLZUA54QRJjDNA 7qsw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :mime-version:dkim-signature; bh=BG6pD3ylPrqGYChsYLSsxBPUz1G1ZRk1VbjazqRF+2s=; b=axv/w4aSkt//pgSGiYIqG4S/bKWtfdOWD94JErqh/WXBdE9a8CeZGBegYyCIQD+K0Z 4VeEusbPsZcATqqDdZvHqbDkuCtnHc3594EcmydCeH4XT4hq+LyH2h9/v4FT0ybdq2hS rxbiz3xTsnFVX5cSuKxTfGggsOkKBBrZ2ibTA+02kmwM9fv9uzIJxFoMVHoOMTAz7MA/ C30SSgyPrTt66whjUkJlXhkd2IJMNUlRYYWcCQ5fcfd0PE1etUlaAOAI1XvRSUySjYLN asIw0eTajaoUVDtQYRFFj5QZe3KdgSVJNpoU1t5SFybmQ6MPsy0gxoX/PWShhtr78oK7 ADnw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b="l/jo0wtW"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v137si41191107pfc.190.2019.08.03.08.39.58; Sat, 03 Aug 2019 08:40:14 -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=@google.com header.s=20161025 header.b="l/jo0wtW"; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731750AbfHBQjC (ORCPT + 99 others); Fri, 2 Aug 2019 12:39:02 -0400 Received: from mail-io1-f53.google.com ([209.85.166.53]:32832 "EHLO mail-io1-f53.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729353AbfHBQjC (ORCPT ); Fri, 2 Aug 2019 12:39:02 -0400 Received: by mail-io1-f53.google.com with SMTP id z3so12370755iog.0 for ; Fri, 02 Aug 2019 09:39:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:from:date:message-id:subject:to:cc; bh=BG6pD3ylPrqGYChsYLSsxBPUz1G1ZRk1VbjazqRF+2s=; b=l/jo0wtWA0AY+2SQTOgHtkTU0Kua0NVFYDkdtEZe616wtEJoD2UD1ninnTSmhzDTr1 oVaLCG1ldA+eeOZMpo6OsTzamiWSaNSppqBaqCc0su2ISzGRKORs5fse5RURU/cRPT2a 44SdzQthyN8cIjwIPWb+7VEZnilVc5MfQeBuVIlp4JHoLrVKnwP7TR7rtTL/DctzSzEv 3wAY8TjP/bFkh6wak6EZnGG2HqoXQQvQlOzoEAGAhKHUga8fEUIFN9Vflel2vlmfTm45 Ml14IpvOpAI8WU1unyA96X+I3qh8sDwimPdPOktz6GzeoEZ8bkihfj0XlzRcuwzdN1Ll SQFg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to:cc; bh=BG6pD3ylPrqGYChsYLSsxBPUz1G1ZRk1VbjazqRF+2s=; b=HHugMSm8dKffi7KP7q7ijZ45B4oCiS9/9DCdc+uX7/pqjBAL2XQOl7sVwWpAsjs+hu 2usdsUjLXIfzQ+PAAX4oTzgueUEtdb6pPY9ezZNd5TF0zX86Ufu3UJxUUusjoiOxnD4o eHMeVCJ+sjRGJYVrTW0XgzRmY/YLd7ZUe4mtm7yvfJnQAbSuiTOD49SNfKZy/zdqKAcl zZEXcTjHzXcgrROupTsy8grQ8lOxoEj/896YEQBubu3Laqwy2abdyTGQKi9+JvQWcDFM 3fM1iEy6UwLBLTSRmZxmIHSARz8gY+ZHQgTaPn7laKKvWUruC88HDJv97ete3wgdjPwW fv/g== X-Gm-Message-State: APjAAAWLEZFk+O1D1QQz7OhW4nhiLB1yDHPAgOdCL9+nhw+WxmzzUwS6 +eFT/Qbd7ehxEGDQr1+YkFOsPSiBp3Qbgv8Cawjg/VdgM7bVkw== X-Received: by 2002:a6b:d008:: with SMTP id x8mr1345796ioa.129.1564763940947; Fri, 02 Aug 2019 09:39:00 -0700 (PDT) MIME-Version: 1.0 From: Stephane Eranian Date: Fri, 2 Aug 2019 09:38:49 -0700 Message-ID: Subject: [BUG] perf report: segfault with --no-group in pipe mode To: LKML Cc: Jiri Olsa , Arnaldo Carvalho de Melo Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, When trying the following command line with perf from tip,git, I got: $ perf record --group -c 100000 -e '{branch-misses,branches}' -a -o - sleep 1| perf report --no-group -F sample,cpu,period -i - # To display the perf.data header info, please use --header/--header-only options. # Segmentation fault (core dumped) (gdb) r report --no-group -F sample,cpu,period -i - < tt Starting program: /export/hda3/perftest/perf.tip report --no-group -F sample,cpu,period -i - < tt # To display the perf.data header info, please use --header/--header-only options. # Program received signal SIGSEGV, Segmentation fault. hlist_add_head (h=0xeb9ed8, n=0xebdfd0) at /usr/local/google/home/eranian/G/bnw.tip/tools/include/linux/list.h:644 644 /usr/local/google/home/eranian/G/bnw.tip/tools/include/linux/list.h: No such file or directory. (gdb) Can you reproduce this? Thanks.