From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31805 invoked by alias); 16 Oct 2008 12:02:31 -0000 Received: (qmail 31625 invoked by uid 48); 16 Oct 2008 12:01:16 -0000 Date: Thu, 16 Oct 2008 12:02:00 -0000 From: "prerna at linux dot vnet dot ibm dot com" To: systemtap@sources.redhat.com Message-ID: <20081016120115.6963.prerna@linux.vnet.ibm.com> Reply-To: sourceware-bugzilla@sourceware.org Subject: [Bug translator/6963] New: Bug in elfutils-0.137 causing failure in lookup of kernel global variables X-Bugzilla-Reason: AssignedTo 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 X-SW-Source: 2008-q4/txt/msg00125.txt.bz2 The following script runs successfully on ppc64 when compiled with elfutils-0.135 but fails on ppc64 with elfutils-0.137 probe kernel.function("__vm_enough_memory") { printf("sysctl_overcommit_ratio = %d\n", $sysctl_overcommit_ratio) } The stack backtrace for the failure : #0 0x1fbb10a0 in raise () from /lib/libc.so.6 #1 0x1fbb2e04 in abort () from /lib/libc.so.6 #2 0x1fbf2a24 in __libc_message () from /lib/libc.so.6 #3 0x1fbfece4 in _int_realloc () from /lib/libc.so.6 #4 0x1fc012c0 in realloc () from /lib/libc.so.6 #5 0x1ffc3a24 in insert (dwfl=0x20873710, i=20, start=2157856, end=13835058055282163712, segndx=-1) at /root/prerna/elfutils-0.137/libdwfl/segment.c:80 #6 0x1ffc4280 in dwfl_addrsegment (dwfl=0x20873710, address=13835058055289295728, mod=0xffc660d8) at /root/prerna/elfutils-0.137/libdwfl/segment.c:179 #7 0x1ffc9d84 in dwfl_addrmodule (dwfl=, address=25769803784) at /root/prerna/elfutils-0.137/libdwfl/dwfl_addrmodule.c:56 #8 0x200cf550 in dwflpp::emit_address (this=0x208735e0, pool=, address=13835058055282163720) at tapsets.cxx:1573 #9 0x200cfb70 in dwflpp::loc2c_emit_address (arg=, pool=, address=25769803784) at tapsets.cxx:1625 ------------------------------------------------------------------------- Looks like an issue with dwfl_addrmodule.c ( I'm labelling this as a translator bug since I couldnt find a separate section for elfutils-bugs ) -- Summary: Bug in elfutils-0.137 causing failure in lookup of kernel global variables Product: systemtap Version: unspecified Status: NEW Severity: normal Priority: P2 Component: translator AssignedTo: systemtap at sources dot redhat dot com ReportedBy: prerna at linux dot vnet dot ibm dot com CC: roland at redhat dot com http://sourceware.org/bugzilla/show_bug.cgi?id=6963 ------- You are receiving this mail because: ------- You are the assignee for the bug, or are watching the assignee.