From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 128965 invoked by alias); 26 Oct 2015 22:18:57 -0000 Mailing-List: contact systemtap-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: systemtap-owner@sourceware.org Received: (qmail 128938 invoked by uid 48); 26 Oct 2015 22:18:53 -0000 From: "dhanakumar_subramani at dell dot com" To: systemtap@sourceware.org Subject: [Bug translator/19176] New: dieoffset: 0x1924e6 from unknown debug file for /home/amazon/oct-20/ngos/workspace/sysroot/lib/x86_64-linux-gnu/libc-2.19.so function: __GI___libc_malloc at /build/glibc-6hJbOt/glibc-2.19/malloc/malloc.c:2876 thrown from: dwflpp.cxx:2682 Date: Mon, 26 Oct 2015 22:18:00 -0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: systemtap X-Bugzilla-Component: translator X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: dhanakumar_subramani at dell dot com X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: systemtap at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone attachments.created Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-q4/txt/msg00064.txt.bz2 https://sourceware.org/bugzilla/show_bug.cgi?id=19176 Bug ID: 19176 Summary: dieoffset: 0x1924e6 from unknown debug file for /home/amazon/oct-20/ngos/workspace/sysroot/lib/x86_64- linux-gnu/libc-2.19.so function: __GI___libc_malloc at /build/glibc-6hJbOt/glibc-2.19/malloc/malloc.c:2876 thrown from: dwflpp.cxx:2682 Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator Assignee: systemtap at sourceware dot org Reporter: dhanakumar_subramani at dell dot com Target Milestone: --- Created attachment 8750 --> https://sourceware.org/bugzilla/attachment.cgi?id=8750&action=edit leaks.stp When I am trying cross compile leaks.stp, an user space script with Systemtap Ver 2.8, ELF version 0.159, probing GLIBC (debug version 2.19), I am getting semantic error: No cfa_ops supplied, but needed by DW_OP_call_frame_cfa: identifier '$bytes' at leaks.stp:12:25 dieoffset: 0x1924e6 from unknown debug file for /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so function: __GI___libc_malloc at /build/glibc-6hJbOt/glibc-2.19/malloc/malloc.c:2876 thrown from: dwflpp.cxx:2682 source: printf("malloc %d", $bytes); ^ deleting module_cache Pass 2: analyzed script: 2 probe(s), 1 function(s), 0 embed(s), 0 global(s) using 103760virt/48588res/8048shr/41016data kb, in 60usr/20sys/82real ms. Pass 2: analysis failed. [man error::pass2] Running rm -rf /tmp/stap3036DH Spawn waitpid result (0x0): 0 Removed temporary directory "/tmp/stap3036DH" Here is the complete log - usr/bin/stap -gv --vp 0400 -a x86_64 -B CROSS_COMPILE=x86_64-linux-gnu- -r /home/amazon/oct-20/build/open-source-kernel/3.16/linux-source-3.16/ --sysroot=/home/amazon/oct-20/sysroot/ leaks.stp -m leaks WARNING: kernel release/architecture mismatch with host forces last-pass 4. Pass 1: parsed user script and 107 library script(s) using 97392virt/40148res/6272shr/34648data kb, in 340usr/20sys/366real ms. derive-probes begin derive-probes process("/lib/x86_64-linux-gnu/libc-2.19.so").function("malloc").return Extracting build ID. blacklist regexps: blfn: ^(.^)$ blfn_ret: ^(_start)$ blfile: ^(.^)$ blsection: ^(.^) dwarf_builder::build for /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so parse 'malloc', func 'malloc' pattern '/home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so' matches module '/home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so' focused on module '/home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so' = [0x10000-0x1b9a7c, bias 0 file /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so ELF machine i?86|x86_64 (code 3) focused on module '/home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so' module function cache /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so size 3611 module function cache /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so hit malloc selected function __libc_malloc function cache /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so:malloc.c size 79 function cache /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so:malloc.c hit malloc selected function __libc_malloc CU 'malloc.c' in module '/home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so' has valid locs probe __libc_malloc@/build/glibc-6hJbOt/glibc-2.19/malloc/malloc.c:2875 process=/home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so reloc=.dynamic pc=0x75ae0 die parent cache /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so:malloc.c size 406 finding location for local 'bytes' near address 0x75ae0, module bias 0x10000 get_cfa_ops @0x85ae0, module_start @0x10000 dwfl_module_dwarf_cfi failed: no error dwfl_module_eh_cfi failed: no error not found cfa Eliding side-effect-free singleton block operator '{' at leaks.stp:7:13 Eliding side-effect-free singleton block operator '{' at leaks.stp:11:79 Resolution problem with probe process("/lib/x86_64-linux-gnu/libc-2.19.so").function("__libc_malloc@/build/glibc-6hJbOt/glibc-2.19/malloc/malloc.c:2875").return printf("malloc %d", $bytes) semantic error: No cfa_ops supplied, but needed by DW_OP_call_frame_cfa: identifier '$bytes' at leaks.stp:12:25 dieoffset: 0x1924e6 from unknown debug file for /home/amazon/oct-20/sysroot/lib/x86_64-linux-gnu/libc-2.19.so function: __GI___libc_malloc at /build/glibc-6hJbOt/glibc-2.19/malloc/malloc.c:2876 thrown from: dwflpp.cxx:2682 source: printf("malloc %d", $bytes); ^ deleting module_cache Pass 2: analyzed script: 2 probe(s), 1 function(s), 0 embed(s), 0 global(s) using 103764virt/48504res/7964shr/41020data kb, in 70usr/10sys/78real ms. Pass 2: analysis failed. [man error::pass2] Running rm -rf /tmp/staplnfXEf Spawn waitpid result (0x0): 0 Removed temporary directory "/tmp/staplnfXEf" I have also attached the leaks.stp script. -- You are receiving this mail because: You are the assignee for the bug.