From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28961 invoked by alias); 5 May 2017 13:16:02 -0000 Mailing-List: contact elfutils-devel-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Post: List-Help: List-Subscribe: Sender: elfutils-devel-owner@sourceware.org Received: (qmail 24597 invoked by uid 48); 5 May 2017 13:15:56 -0000 From: "mark at klomp dot org" To: elfutils-devel@sourceware.org Subject: [Bug tools/21247] addr2line doesn't properly resolve filename/lineno Date: Fri, 05 May 2017 16:47:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: elfutils X-Bugzilla-Component: tools X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: mark at klomp dot org X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2017-q2/txt/msg00194.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=3D21247 --- Comment #4 from Mark Wielaard --- Looking at the debug_info we do have: [39ca09] subprogram low_pc (addr) +0x00000000002c08b0 <_Z20PlatformCrashHandleriP9siginfo_tPv> high_pc (addr) +0x00000000002c0a05 lo_user+0x1fe7 (flag) Yes frame_base (block1)=20 [ 0] reg7 MIPS_linkage_name (strp) "_Z20PlatformCrashHandleriP9siginfo_tPv" name (strp) "PlatformCrashHandler" decl_file (data1) 107 decl_line (data2) 580 external (flag) Yes lo_user+0x1fe1 (flag) Yes Which is inside a compile_unit generated by clang: [29d634] compile_unit producer (strp) "clang version 3.7.1 (tags/RELEASE_371/fi nal)" language (data2) C_plus_plus (4) name (strp) "-" stmt_list (data4) 581678 comp_dir (strp) "/home/marat/production/ue4/Engine/Source " lo_user+0x1fe1 (flag) Yes low_pc (addr) +000000000000000000 ranges (data4) range list [ c92e0] Note that the low_pc seems bogus (zero). And the range list seems bogus too= (it consists of 800+ entries some of which look bogus too (+0x0000000000000001..+0x0000000000000001) and none seem to actually cover = that function addresses. See also this discussion on the mailinglist: https://sourceware.org/ml/elfutils-devel/2017-q2/msg00190.html --=20 You are receiving this mail because: You are on the CC list for the bug.