This is the mail archive of the
systemtap@sourceware.org
mailing list for the systemtap project.
[Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137
- From: "mjw at redhat dot com" <sourceware-bugzilla at sourceware dot org>
- To: systemtap at sources dot redhat dot com
- Date: 1 Oct 2008 12:34:39 -0000
- Subject: [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137
- Reply-to: sourceware-bugzilla at sourceware dot org
With systemtap 0.7.1/0.137 (that is git trunk) the following testcase crashes:
$ /usr/local/systemtap/bin/stap -p4 testsuite/buildok/seventeen.stp
*** glibc detected *** /usr/local/systemtap/bin/stap: realloc(): invalid old
size: 0x00007f2a0d4629a0 ***
Under gdb:
#0 0x0000000013e0c215 in raise (sig=<value optimized out>)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#1 0x0000000013e0dd83 in abort () at abort.c:88
#2 0x0000000013e4c928 in __libc_message (do_abort=<value optimized out>,
fmt=<value optimized out>) at ../sysdeps/unix/sysv/linux/libc_fatal.c:170
#3 0x0000000013e52228 in malloc_printerr (action=<value optimized out>,
str=<value optimized out>, ptr=<value optimized out>) at malloc.c:5949
#4 0x0000000013e56511 in _int_realloc (av=<value optimized out>,
oldmem=<value optimized out>, bytes=<value optimized out>) at malloc.c:4938
#5 0x0000000013e5739e in __libc_realloc (oldmem=<value optimized out>,
bytes=<value optimized out>) at malloc.c:3708
#6 0x0000000000341ef4 in insert (dwfl=0x7f5117d43370, i=20, start=1725184,
end=18446744071578845184, segndx=-1)
at /home/mark/src/elfutils-0.137/libdwfl/segment.c:80
#7 0x0000000000342384 in dwfl_addrsegment (dwfl=0x7f5117d43370,
address=18446744071581726800, mod=0x7fff1e1aef58)
at /home/mark/src/elfutils-0.137/libdwfl/segment.c:179
#8 0x00000000003471fe in dwfl_addrmodule (dwfl=0x7c39, address=31801)
at /home/mark/src/elfutils-0.137/libdwfl/dwfl_addrmodule.c:56
#9 0x00007f511616ba27 in dwflpp::emit_address (this=0x7f5117d43160,
pool=0x7fff1e1af3e0, address=6) at tapsets.cxx:1573
#10 0x00007f511617ade2 in translate (addrbias=0, expr=0x7f5118982ef0, len=1,
input=<value optimized out>, need_fb=0x7fff1e1af23f, loc=0x7f5118993f00)
at loc2c.c:360
[...]
Doesn't crash with elfutils 0.135.
--
Summary: buildok/seventeen.stp crashes with elfutils 0.137
Product: systemtap
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: translator
AssignedTo: systemtap at sources dot redhat dot com
ReportedBy: mjw at redhat dot com
CC: roland at redhat dot com
http://sourceware.org/bugzilla/show_bug.cgi?id=6928
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.