From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933044AbaKSVup (ORCPT ); Wed, 19 Nov 2014 16:50:45 -0500 Received: from one.firstfloor.org ([193.170.194.197]:54054 "EHLO one.firstfloor.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932994AbaKSVum (ORCPT ); Wed, 19 Nov 2014 16:50:42 -0500 Date: Wed, 19 Nov 2014 22:50:41 +0100 From: Andi Kleen To: Arnaldo Carvalho de Melo Cc: Jiri Olsa , Namhyung Kim , Andi Kleen , Jiri Olsa , linux-kernel@vger.kernel.org, "Liang, Kan" Subject: Re: Implement lbr-as-callgraph v10 Message-ID: <20141119215041.GN12538@two.firstfloor.org> References: <1415844328-4884-1-git-send-email-andi@firstfloor.org> <20141117213457.GE4163@kernel.org> <20141118104416.GE27645@krava.brq.redhat.com> <20141118110007.GF27645@krava.brq.redhat.com> <87zjbnpv64.fsf@sejong.aot.lge.com> <20141119092323.GC2592@krava.brq.redhat.com> <20141119105450.GA22132@krava.brq.redhat.com> <20141119141027.GF3790@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20141119141027.GF3790@kernel.org> User-Agent: Mutt/1.5.20 (2009-06-14) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Segmentation fault (core dumped) > [root@zoo ~]# > > Rebuilding with DEBUG=1 I get this backtrace: Ok it crashes inside libbfd while resolving the line. Not much I can do about it. Could file a bug with the binutils people, if you have a test case? > > Using host libthread_db library "/lib64/libthread_db.so.1". > Core was generated by `perf report --stdio --no-children --branch-history'. > Program terminated with signal SIGSEGV, Segmentation fault. > #0 0x000000000053ab10 in read_unsigned_leb128 () > Missing separate debuginfos, use: debuginfo-install bzip2-libs-1.0.6-9.fc20.x86_64 elfutils-libelf-0.160-1.fc20.x86_64 elfutils-libs-0.160-1.fc20.x86_64 libunwind-1.1-3.fc20.x86_64 nss-softokn-freebl-3.17.2-1.fc20.x86_64 numactl-libs-2.0.9-2.fc20.x86_64 slang-2.2.4-11.fc20.x86_64 xz-libs-5.1.2-12alpha.fc20.x86_64 > (gdb) bt > #0 0x000000000053ab10 in read_unsigned_leb128 () > #1 0x00000000005485d7 in find_abstract_instance_name.isra () > #2 0x0000000000548756 in find_abstract_instance_name.isra () > #3 0x0000000000548756 in find_abstract_instance_name.isra () > #4 0x0000000000548d31 in scan_unit_for_symbols () > #5 0x00000000005496c9 in comp_unit_find_nearest_line () > #6 0x000000000054a6ca in find_line.part () > #7 0x00000000005606ca in _bfd_elf_find_nearest_line_discriminator () > #8 0x00000000005607db in _bfd_elf_find_nearest_line () > #9 0x00000000004dabf1 in find_address_in_section (abfd=0xfd522f0, section=0xe8be528, data=0xfa50c30) at util/srcline.c:100 > #10 0x000000000053cbdc in bfd_map_over_sections () > #11 0x00000000004dae84 in addr2line (dso_name=0xe89fe70 "/usr/lib/debug/usr/lib64/firefox/libxul.so.debug", addr=24667432, file=0x7fff3981f9c0, line=0x7fff3981f9bc, dso=0x22a0b50) at util/srcline.c:168 > #12 0x00000000004db017 in get_srcline (dso=0x22a0b50, addr=24667432, sym=0xf6b93f0, show_sym=true) at util/srcline.c:276