Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp2207830imm; Thu, 27 Sep 2018 09:04:15 -0700 (PDT) X-Google-Smtp-Source: ACcGV635HbU5H1mZ5tvisIcvgyzzdzKPdZNnU83UrfCOVSLC4DkGGpi8Qr0m0BQrqsWB3ujmDmLh X-Received: by 2002:a17:902:27a8:: with SMTP id d37-v6mr11812457plb.290.1538064255510; Thu, 27 Sep 2018 09:04:15 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538064255; cv=none; d=google.com; s=arc-20160816; b=Hp1ffOVe2gNH3AYeuM9bQ1uH9FWeW7LxqouJlhqw8EStr/Ucefq9f/0VbmiV9WKuF0 ytNWHqIqc/khBMfVxY8qHN2EYASaFh7/djBMCuu5eeZDE2KtdCZXoMwDur5tatj//uW6 IytRatateJlaWAoEmL1Y1W+FhJzhYpSYjsogCMe/T1b+LdWUWyUugZCp+Iw3wPZcUJB5 AEB63QxMC+5arRFo0sncEsGVqD67cLVw7NpMAxvWlKiicckazdPDPyPIN9kjvwiUyNue eNi8xYXMvs/9oyo4VWKias0OkpW4JHlRbXEACa23MEckYAAAsndSVKHXacBlefPe05Q9 NfEg== 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; bh=bEUB48OwZEyVIXs2Yd+n0Ur+2uFhZ6TCVQz2trd5/zI=; b=pyQ45d66f0Q2IBcD6syqw3SoJ1L5mVbPTC5F8pQ0LRdcbZwb4trpmz8+fp7ktnUyst nxbLOUV36lqaI9WhqW3uqgdcEB7n61F5UgXhk5Sjl/YCRWf0wAj623t0xQsbysI6mETn r3ghLqTJtphlYb7HyluZNipqTMXPwXtMxjXmKb+E4vi5zLo+MYoTxxYODX9e13Ch5oSI /BSQqsuX5zWdZ+kcQ0JYGIzIq0LP4uNX95dXYtevRYYO5x84JGS3Sf0K+jWnG/OZjMQK OxX2c1kpy4yrhvYjsWQcrKtZ3/fz5MHxhwkE4RZu4LXx+NUv+WacQeENtJQS+FcDqkkQ 4GbA== ARC-Authentication-Results: i=1; mx.google.com; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id w3-v6si2275954pgw.135.2018.09.27.09.03.59; Thu, 27 Sep 2018 09:04:15 -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; 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=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728446AbeI0WVf (ORCPT + 99 others); Thu, 27 Sep 2018 18:21:35 -0400 Received: from mx1.redhat.com ([209.132.183.28]:45476 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727320AbeI0WVe (ORCPT ); Thu, 27 Sep 2018 18:21:34 -0400 Received: from smtp.corp.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.25]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 9B75930832CD; Thu, 27 Sep 2018 16:02:38 +0000 (UTC) Received: from krava (ovpn-116-113.ams2.redhat.com [10.36.116.113]) by smtp.corp.redhat.com (Postfix) with SMTP id 4BC842010D14; Thu, 27 Sep 2018 16:02:33 +0000 (UTC) Date: Thu, 27 Sep 2018 18:02:31 +0200 From: Jiri Olsa To: Milian Wolff Cc: acme@kernel.org, jolsa@kernel.org, yao.jin@linux.intel.com, namhyung@kernel.org, Linux-kernel@vger.kernel.org, linux-perf-users@vger.kernel.org, Sandipan Das Subject: Re: [PATCH 1/3] perf report: don't try to map ip to invalid map Message-ID: <20180927160231.GH6916@krava> References: <20180926135207.30263-1-milian.wolff@kdab.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20180926135207.30263-1-milian.wolff@kdab.com> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.84 on 10.5.11.25 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.44]); Thu, 27 Sep 2018 16:02:38 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Sep 26, 2018 at 03:52:05PM +0200, 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 > > Signed-off-by: Milian Wolff > Cc: Sandipan Das > Cc: Arnaldo Carvalho de Melo Acked-by: Jiri Olsa thanks, jirka