Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2401424imm; Thu, 27 Sep 2018 12:13:39 -0700 (PDT) X-Google-Smtp-Source: ACcGV63+F12hcZHn6Mn7qIOdituiN0dbCu034UUl+Kl0JyHYe9m3Ty6ivPX68we1Qe9vG2pJuSqR X-Received: by 2002:a17:902:830a:: with SMTP id bd10-v6mr9080946plb.214.1538075619095; Thu, 27 Sep 2018 12:13:39 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538075619; cv=none; d=google.com; s=arc-20160816; b=Luvm86ZF8bt4QN2ytaFRAHuC/bxInpBhZOGi+FBVpP9N4shOCFUqSZ8SnVO6RLHQsT WNZidg+TrGteC+fc2RtSAzm33Ov2A5dlgbZXL+YPLBoNrRoB8D8fvZND1aOEICzfOx9h hhBSY2NRGQaOyWMks4dmnXudkzTL0U/YeLUU8Ayx88/3oYe/cLGXkVVsfPtnHxScMz3Y seNcgFbupLTBTIE2yeNzGA8pupQjwob0IzVHgsuuVPRE5y4YFcBS6K/fQRy5JTzABj7U mIEn+w3d/e+W9YU4WIIHpatb6Bnix1ZEsdhT0c8N4A4lfHeqPz0FXgfQeti8TMvMrDkD GL4w== 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=wVWAsZh3fWC5f3LX0Yy3rLHio9YDrIQbHAfFV5kcado=; b=RuX4B3HwHpgkQJ07QJpWEQri/2OMqc2IlDpOihnw31jlRMBUNimwqFRgm7V/X8SIJn n1XH35B5DkCrWCpKiU7AdRZLz+xfi90c0eXvrATUXex6RjyW6Z9MUNcfTIw/CHxIfdaE Dz7twM5CFsoveoikvSL8oPgqodhPv6c+SPqs2+hsAFZktrGHpB22OvvIsapjm6sXRNfa JqvFwjZh+Jax83xg60EEeNUElnkG0GJZG3LD/wP5KO3m7YwUdq0iaLMfH7M1/6aBUCU4 QrYPeQGgXelJWTz3GZv6bb+Nrbp+lUQPEm4RXJDX3fmxk8CCeuIu6a9o8+lKSZjfvsXa 4iaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=05+UOThj; 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=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f6-v6si2597721pgg.182.2018.09.27.12.13.22; Thu, 27 Sep 2018 12:13:39 -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=@kernel.org header.s=default header.b=05+UOThj; 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=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728587AbeI1Bbk (ORCPT + 99 others); Thu, 27 Sep 2018 21:31:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:55328 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727731AbeI1Bbk (ORCPT ); Thu, 27 Sep 2018 21:31:40 -0400 Received: from jouet.infradead.org (unknown [179.97.41.186]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 16EC521708; Thu, 27 Sep 2018 19:11:56 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1538075516; bh=A2LfzO8EWAvQ3lENhfz9vmkJrPo0CzxvjZomrYMhduk=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=05+UOThjbOhZ2bNPwQ79yrVbc0NPC5Jclyf97wTkl+3Fz1rHmYQFcz9X0K3BFbJUV P6tt+fJJ8rlWw/cfQTIKiNpMMF62zjF//QtHTVKD4tiVluWx+pufEthTdjty/F0mgG YF0ZpluTdyossZqOnIAMq/olUHqdVZeLRrR2mY6k= Received: by jouet.infradead.org (Postfix, from userid 1000) id 004E21401A1; Thu, 27 Sep 2018 16:11:53 -0300 (-03) Date: Thu, 27 Sep 2018 16:11:53 -0300 From: Arnaldo Carvalho de Melo To: Sandipan Das Cc: Milian Wolff , jolsa@kernel.org, yao.jin@linux.intel.com, namhyung@kernel.org, Linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org Subject: Re: [PATCH 1/3] perf report: don't try to map ip to invalid map Message-ID: <20180927191153.GH25764@kernel.org> References: <20180926135207.30263-1-milian.wolff@kdab.com> <30c8b8d9-4d0f-ec28-907b-899edd632fb1@linux.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <30c8b8d9-4d0f-ec28-907b-899edd632fb1@linux.ibm.com> X-Url: http://acmel.wordpress.com User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Em Thu, Sep 27, 2018 at 02:18:47PM +0530, Sandipan Das escreveu: > > > On 26/09/18 7:22 PM, Milian Wolff wrote: > > Fixes a crash when the report encounters an address that > > could not be associated with an mmaped region: > > > > #0 0x00005555557bdc4a in callchain_srcline (ip=, sym=0x0, map=0x0) at util/machine.c:2329 > > #1 unwind_entry (entry=entry@entry=0x7fffffff9180, arg=arg@entry=0x7ffff5642498) at util/machine.c:2329 > > #2 0x00005555558370af in entry (arg=0x7ffff5642498, cb=0x5555557bdb50 , thread=, ip=18446744073709551615) at util/unwind-libunwind-local.c:586 > > #3 get_entries (ui=ui@entry=0x7fffffff9620, cb=0x5555557bdb50 , arg=0x7ffff5642498, max_stack=) at util/unwind-libunwind-local.c:703 > > #4 0x0000555555837192 in _unwind__get_entries (cb=, arg=, thread=, data=, max_stack=) at util/unwind-libunwind-local.c:725 > > #5 0x00005555557c310f in thread__resolve_callchain_unwind (max_stack=127, sample=0x7fffffff9830, evsel=0x555555c7b3b0, cursor=0x7ffff5642498, thread=0x555555c7f6f0) at util/machine.c:2351 > > #6 thread__resolve_callchain (thread=0x555555c7f6f0, cursor=0x7ffff5642498, evsel=0x555555c7b3b0, sample=0x7fffffff9830, parent=0x7fffffff97b8, root_al=0x7fffffff9750, max_stack=127) at util/machine.c:2378 > > #7 0x00005555557ba4ee in sample__resolve_callchain (sample=, cursor=, parent=parent@entry=0x7fffffff97b8, evsel=, al=al@entry=0x7fffffff9750, > > max_stack=) at util/callchain.c:1085 > > > > Tested-by: Sandipan Das Thanks, applied. - Arnaldo