This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6963] New: Bug in elfutils-0.137 causing failure in lookup of kernel global variables
- From: "prerna at linux dot vnet dot ibm dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 16 Oct 2008 12:01:16 -0000
- Subject: [Bug translator/6963] New: Bug in elfutils-0.137 causing failure in lookup of kernel global variables
- Reply-to: sourceware-bugzilla at sourceware dot org
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=<value optimized out>,
address=25769803784)
at /root/prerna/elfutils-0.137/libdwfl/dwfl_addrmodule.c:56
#8 0x200cf550 in dwflpp::emit_address (this=0x208735e0,
pool=<value optimized out>, address=13835058055282163720)
at tapsets.cxx:1573
#9 0x200cfb70 in dwflpp::loc2c_emit_address (arg=<value optimized out>,
pool=<value optimized out>, 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.