Received: by 2002:a05:6500:1b41:b0:1fb:d597:ff75 with SMTP id cz1csp348518lqb; Tue, 4 Jun 2024 13:17:09 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCWPIHdn+kz6IAmqenOam3N5oK9L44MFE1Tk+couIM047TgYktMulUXuBHtANa5y/TZb9nLEKBKyw0UhkxwEeFIcFnVKw5JRylZRGs1npg== X-Google-Smtp-Source: AGHT+IFR+zjLxX5UZElpeUhUxAs5bGumvVUwDmNYU2jDnPkWcXzavw9R4RBSMmgVEhFVo5QmnUvp X-Received: by 2002:a17:902:9341:b0:1f6:7045:ff60 with SMTP id d9443c01a7336-1f6a5a06a3bmr5428095ad.16.1717532228933; Tue, 04 Jun 2024 13:17:08 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1717532228; cv=pass; d=google.com; s=arc-20160816; b=aE5Jn3pXie7o3CvE0XDVvEDtbYqPuaisTbTHFNb5y6f3AiH2pEx82H9O/D5mgSdKHF ++CbK56y/o4KW/UJtqk5I5Oni06vIh3SMc2OllcgYlHBaqOLLM7pe4TlrN5FIjKAedcT EV6rtINrgsG6yxBU7SXdRYn9o02R7AFoSO8nYTAMt51Q8eFVv6OORQ8BslTIPRZ2flBx cxeM0dpwUduoS07JMBXv8etTA8XoASdNjgAcFxrxRC4V6Kh6GYNC4v5up/NaFdRIrLWD zqxS+QsxGGoq6ttuITZLbmpvgxE5zVOP3Yil9ASDu8MYGydkOxaXlAwo6/ie8pWywTBn kfeA== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to :organization:message-id:date:subject:cc:to:from:dkim-signature; bh=a9YiPhVAz+SdwA7sloQTRYU93tiNcH1GTW86+3eyaIg=; fh=bCuxROKC1p0UgFGnjFI3X9lXakwVnkPboGTz0rk0xU4=; b=s/WO/Q7rYplc48lx2qW3JOexK8VYB039DovUfGlCJIFE0G/ixb96dXuZlMZ5fL25qg eiBR+XvOSG20tBDnFROq5mZvMu2MiqSAk2fS4BNNEfQM2wTdFcxtcX3jqN4xOPAiTH9Q bJHbao6B32NJQ6+MhTdv0Kb8ssX9LDmN4bCJneHvTO/06+CvurN15dn8niYUs/Ocd/yC ZzLJGOdrgIRfvj2FFfp1+3A0nt+SGKHaSekTeK+ONs3L8PUw0LZK4wdYRGH1240HxynR 8tWwZca2XvcPSL5qXoICpaD4bXzw7MMn/pMG837cxATYx58pZX0G9y9MQ8tjA8BWxI2z 6iBA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kdab.com header.s=dkim header.b=OL8r2c7Y; arc=pass (i=1 spf=pass spfdomain=kdab.com dkim=pass dkdomain=kdab.com dmarc=pass fromdomain=kdab.com); spf=pass (google.com: domain of linux-kernel+bounces-201327-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201327-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kdab.com Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id d9443c01a7336-1f68d8c7d3fsi18006645ad.422.2024.06.04.13.17.08 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 04 Jun 2024 13:17:08 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-201327-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kdab.com header.s=dkim header.b=OL8r2c7Y; arc=pass (i=1 spf=pass spfdomain=kdab.com dkim=pass dkdomain=kdab.com dmarc=pass fromdomain=kdab.com); spf=pass (google.com: domain of linux-kernel+bounces-201327-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-201327-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=kdab.com Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id D64CCB21884 for ; Tue, 4 Jun 2024 20:06:43 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id C5F3E14B96B; Tue, 4 Jun 2024 20:04:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=kdab.com header.i=@kdab.com header.b="OL8r2c7Y" Received: from mail.kdab.com (mail.kdab.com [176.9.126.58]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id E8E2214B944; Tue, 4 Jun 2024 20:04:45 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=176.9.126.58 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717531487; cv=none; b=FVUvWx17CC5QWdkSBXSldzrqtcOvmb7XvGT1Nriy79KgxMTNUSW843niCZN/gxiRohadks+bw7lWPfyNzq+akmjageaNYgWUJnSxIixqnh59ybUlSzhgpNloR8zk2kJ/QHhgffXOFmMzdff3UuJB/ZoNLp0dEtdlyjLWNRdTbfs= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1717531487; c=relaxed/simple; bh=crPZrtyJUF6P/W6RzF/ufM7lrORJ7ls8iYHOv3tq59s=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=VACEfYuCKE+3DcyuL6TZBjUH8qFncxUdcCT9ZXZCM09Hg3u7TO0bgGoK823UlGUJJqmdFlU2hghfdFshAqC+C70j4IsYVqTnMhkrWHXkOkeemERT2e0fnxyd+rAPDAd2mjX6wUAJyqUeYY64sXOmGIPZMeki1+RK5vgOyNWLFzg= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kdab.com; spf=pass smtp.mailfrom=kdab.com; dkim=pass (1024-bit key) header.d=kdab.com header.i=@kdab.com header.b=OL8r2c7Y; arc=none smtp.client-ip=176.9.126.58 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=quarantine dis=none) header.from=kdab.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=kdab.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kdab.com; h= content-type:content-type:content-transfer-encoding:mime-version :references:in-reply-to:organization:message-id:date:date :subject:subject:from:from; s=dkim; t=1717531483; x=1718395484; bh=a9YiPhVAz+SdwA7sloQTRYU93tiNcH1GTW86+3eyaIg=; b=OL8r2c7YvACG 3patbr3+MXkeBohJ4F29AhzDHcY21fSmQKUxsw5wjn6QpX6d7G9erdryvCKeh6qN RYkrYZvMdIUCFTYx6QZ2EFln2PCD/R+M1KnvlYCord2DlvmzyErF/qnkvMDmPaYw AuTCzeYNXnDFszITdJqSaJWMRl9O8E4= X-Virus-Scanned: amavisd-new at kdab.com From: Milian Wolff To: Arnaldo Carvalho de Melo , Linux Kernel Mailing List Cc: linux-perf-users@vger.kernel.org, Ian Rogers , Namhyung Kim Subject: Re: perf 6.9-1 (archlinux) crashes during recording of cycles + raw_syscalls Date: Tue, 04 Jun 2024 22:04:42 +0200 Message-ID: <7152491.mzf3CD02m1@milian-workstation> Organization: KDAB In-Reply-To: References: <23879991.0LEYPuXRzz@milian-workstation> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="utf-8" On Dienstag, 4. Juni 2024 16:12:36 MESZ Arnaldo Carvalho de Melo wrote: > On Tue, Jun 04, 2024 at 10:50:00AM -0300, Arnaldo Carvalho de Melo wrote: > > On Tue, Jun 04, 2024 at 01:44:18PM +0200, Milian Wolff wrote: > > > the following command crashes perf for me, is this still an issue > > > upstream and should I report it to arch for backporting? I cannot build > > > the official perf/ core branch, so I am afraid I cannot test it myself > > > there: > > > > > > ``` > > > sudo /usr/bin/perf record -z --call-graph dwarf -e cycles -e > > > raw_syscalls:sys_enter ls > > > ... > > > [ perf record: Woken up 3 times to write data ] > > > malloc(): invalid next size (unsorted) > > > Aborted > > > ``` > > > Backtrace with GDB + debuginfod: > > > ``` > > > malloc(): invalid next size (unsorted) > > > > I reproduced this all the way back to 6.8, trying to bisect now, thanks > > for the report, > > Can you please try with the attached and perhaps provide your Tested-by? Works a charm, thanks Tested-by: Milian Wolff -- Milian Wolff | milian.wolff@kdab.com | Senior Software Engineer KDAB (Deutschland) GmbH, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt, C++ and OpenGL Experts