From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arnaldo Carvalho de Melo Subject: Re: [PATCH v2 02/10] perf, tools, stat: Avoid memory overrun with -r Date: Tue, 19 Mar 2019 16:33:46 -0300 Message-ID: <20190319193346.GN3029@kernel.org> References: <20190314225002.30108-1-andi@firstfloor.org> <20190314225002.30108-2-andi@firstfloor.org> <20190319191452.GM3029@kernel.org> <20190319192023.GX24002@tassilo.jf.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <20190319192023.GX24002@tassilo.jf.intel.com> Sender: linux-kernel-owner@vger.kernel.org To: Andi Kleen Cc: Arnaldo Carvalho de Melo , Andi Kleen , jolsa@kernel.org, linux-perf-users@vger.kernel.org, Linux Kernel Mailing List List-Id: linux-perf-users.vger.kernel.org Em Tue, Mar 19, 2019 at 12:20:23PM -0700, Andi Kleen escreveu: > > mmap size 8192B > > perf: util/evlist.c:533: perf_evlist__id_add: Assertion `evsel->ids < evsel->sample_id->max_x * evsel->sample_id->max_y' failed. > > I suspect this is a latent bug just caught by my assert. > > So it was already broken. > > You could of course remove the assert, but it would merely > hide it. I'm removing it just for the moment, I'll definetely revisit this. - Arnaldo