Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1753992imm; Thu, 27 Sep 2018 01:50:58 -0700 (PDT) X-Google-Smtp-Source: ACcGV60Cp2XvPvAKGnV+9WWobvE13lAq6UeQRrPik64vn1Aa6naCv5Dw9+83he7LpPxiY5kNiFlk X-Received: by 2002:a17:902:a58b:: with SMTP id az11-v6mr9819523plb.93.1538038258278; Thu, 27 Sep 2018 01:50:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1538038258; cv=none; d=google.com; s=arc-20160816; b=y1Nny6m3nOClnFU9jcVk7XqNxiMsYfU0m5imEWIc3Lnh7F6Vx3Pqt7YTXU4EU1lSLF RreR/zFbkmEBcMnKbyuzniTDRJ9G1GDPoZsLZTrvMz4GnqwCajqBmAhykhudniMAW3MX tMyONYVXxLejxT7GS52ZxaXtbZbw6CP/aja6yN4mwBUY6suBa1wA7VnT6rsPaI1A4zSq 9vHUXOWsWi8ZIQkq+a7SS38NwR0nbXnosEctm43pX8KDlImm8kG64jFNNcIkxNuP7ei1 H1Ij7KsQMN3bE/IhxDoz5fpHTEEK/c9OQWvBnrzsNGx3FCGdTGlo+6p+jJ81jK4C7s9+ 7Few== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date:from :references:cc:to:subject; bh=stPRlR4MM7S8butxx4bX4ReXWom6m9cBaLeaqKITIlc=; b=Pzaw8leRT4G8G8ccq3F8RNlzS4aJlRczzUtEs1WMV0I9fh6nmSI6GFvvcJrVVUhd4O OFwOxQwS+Bnri3I7N0HWV2L/0w4vg8a12igtwTQE6wQ6Aq5Tojs0s1lT/pWpTdNBpul4 +TcBDEXDYPs/mXgPYjj+RAqOo7CJGqRlhsNsUedbhIPA2v8Oo/D8SiymbyWacYpEVfqR MxXfEnmUjszVaVABuclfqAsuYGRrSMPFe8nEsAaJCvLk53WsBVyXYHZCLtw7vvX3agqo zLFappLJvw/t5hG4V0QQ+Ky+r02tcaB1qcnCzrbzO7ZCoTNYApDiZZ8ctv8HWi9v331E 7yRg== 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=ibm.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k135-v6si1474707pfd.168.2018.09.27.01.50.42; Thu, 27 Sep 2018 01:50:58 -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=ibm.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727241AbeI0PGF (ORCPT + 99 others); Thu, 27 Sep 2018 11:06:05 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:55144 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726947AbeI0PGE (ORCPT ); Thu, 27 Sep 2018 11:06:04 -0400 Received: from pps.filterd (m0098404.ppops.net [127.0.0.1]) by mx0a-001b2d01.pphosted.com (8.16.0.22/8.16.0.22) with SMTP id w8R8hXWc118887 for ; Thu, 27 Sep 2018 04:48:55 -0400 Received: from e06smtp01.uk.ibm.com (e06smtp01.uk.ibm.com [195.75.94.97]) by mx0a-001b2d01.pphosted.com with ESMTP id 2mrtvnkdqa-1 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=NOT) for ; Thu, 27 Sep 2018 04:48:55 -0400 Received: from localhost by e06smtp01.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Thu, 27 Sep 2018 09:48:53 +0100 Received: from b06cxnps4075.portsmouth.uk.ibm.com (9.149.109.197) by e06smtp01.uk.ibm.com (192.168.101.131) with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted; (version=TLSv1/SSLv3 cipher=AES256-GCM-SHA384 bits=256/256) Thu, 27 Sep 2018 09:48:50 +0100 Received: from d06av21.portsmouth.uk.ibm.com (d06av21.portsmouth.uk.ibm.com [9.149.105.232]) by b06cxnps4075.portsmouth.uk.ibm.com (8.14.9/8.14.9/NCO v10.0) with ESMTP id w8R8mnZO62652618 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Thu, 27 Sep 2018 08:48:49 GMT Received: from d06av21.portsmouth.uk.ibm.com (unknown [127.0.0.1]) by IMSVA (Postfix) with ESMTP id B35C05204E; Thu, 27 Sep 2018 11:48:29 +0100 (BST) Received: from [9.124.31.81] (unknown [9.124.31.81]) by d06av21.portsmouth.uk.ibm.com (Postfix) with ESMTP id 927035204F; Thu, 27 Sep 2018 11:48:28 +0100 (BST) Subject: Re: [PATCH 1/3] perf report: don't try to map ip to invalid map 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 References: <20180926135207.30263-1-milian.wolff@kdab.com> From: Sandipan Das Date: Thu, 27 Sep 2018 14:18:47 +0530 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.0 MIME-Version: 1.0 In-Reply-To: <20180926135207.30263-1-milian.wolff@kdab.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-TM-AS-GCONF: 00 x-cbid: 18092708-4275-0000-0000-000002C13556 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 18092708-4276-0000-0000-000037CC3754 Message-Id: <30c8b8d9-4d0f-ec28-907b-899edd632fb1@linux.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:,, definitions=2018-09-27_04:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 priorityscore=1501 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 spamscore=0 clxscore=1011 lowpriorityscore=0 mlxscore=0 impostorscore=0 mlxlogscore=975 adultscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1807170000 definitions=main-1809270091 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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