public inbox for systemtap@sourceware.org
 help / color / mirror / Atom feed
* [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137
@ 2008-10-01 12:35 mjw at redhat dot com
  2008-10-01 13:22 ` [Bug translator/6928] " mjw at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 6+ messages in thread
From: mjw at redhat dot com @ 2008-10-01 12:35 UTC (permalink / raw)
  To: systemtap

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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/6928] buildok/seventeen.stp crashes with elfutils 0.137
  2008-10-01 12:35 [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137 mjw at redhat dot com
@ 2008-10-01 13:22 ` mjw at redhat dot com
  2008-10-02  8:59 ` mjw at redhat dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mjw at redhat dot com @ 2008-10-01 13:22 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2008-10-01 13:21 -------
This was already reported here: https://bugzilla.redhat.com/show_bug.cgi?id=462689
That bug has a suggested fix attached.

-- 


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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/6928] buildok/seventeen.stp crashes with elfutils 0.137
  2008-10-01 12:35 [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137 mjw at redhat dot com
  2008-10-01 13:22 ` [Bug translator/6928] " mjw at redhat dot com
@ 2008-10-02  8:59 ` mjw at redhat dot com
  2008-10-02  9:00 ` mjw at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 replies; 6+ messages in thread
From: mjw at redhat dot com @ 2008-10-02  8:59 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2008-10-02 08:58 -------
Created an attachment (id=2975)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2975&action=view)
elfutils fixes from elfutils-0.137-2.fc9.src.rpm


-- 


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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/6928] buildok/seventeen.stp crashes with elfutils 0.137
  2008-10-01 12:35 [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137 mjw at redhat dot com
  2008-10-01 13:22 ` [Bug translator/6928] " mjw at redhat dot com
  2008-10-02  8:59 ` mjw at redhat dot com
@ 2008-10-02  9:00 ` mjw at redhat dot com
  2008-10-02  9:02 ` mjw at redhat dot com
  2008-10-16 13:23 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: mjw at redhat dot com @ 2008-10-02  9:00 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2008-10-02 08:58 -------
Created an attachment (id=2976)
 --> (http://sourceware.org/bugzilla/attachment.cgi?id=2976&action=view)
Patch from upstream bug


-- 


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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/6928] buildok/seventeen.stp crashes with elfutils 0.137
  2008-10-01 12:35 [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137 mjw at redhat dot com
                   ` (2 preceding siblings ...)
  2008-10-02  9:00 ` mjw at redhat dot com
@ 2008-10-02  9:02 ` mjw at redhat dot com
  2008-10-16 13:23 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: mjw at redhat dot com @ 2008-10-02  9:02 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From mjw at redhat dot com  2008-10-02 09:00 -------
As described in the upstream bug this issue is resolved by applying the attached
patches to this bug report to the pristine elfutils 0.137 sources. They will
hopefully be integrated in a new elfutils release.

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED


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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

* [Bug translator/6928] buildok/seventeen.stp crashes with elfutils 0.137
  2008-10-01 12:35 [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137 mjw at redhat dot com
                   ` (3 preceding siblings ...)
  2008-10-02  9:02 ` mjw at redhat dot com
@ 2008-10-16 13:23 ` fche at redhat dot com
  4 siblings, 0 replies; 6+ messages in thread
From: fche at redhat dot com @ 2008-10-16 13:23 UTC (permalink / raw)
  To: systemtap


------- Additional Comments From fche at redhat dot com  2008-10-16 13:21 -------
*** Bug 6963 has been marked as a duplicate of this bug. ***

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |prerna at linux dot vnet dot
                   |                            |ibm 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.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-10-16 13:23 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-10-01 12:35 [Bug translator/6928] New: buildok/seventeen.stp crashes with elfutils 0.137 mjw at redhat dot com
2008-10-01 13:22 ` [Bug translator/6928] " mjw at redhat dot com
2008-10-02  8:59 ` mjw at redhat dot com
2008-10-02  9:00 ` mjw at redhat dot com
2008-10-02  9:02 ` mjw at redhat dot com
2008-10-16 13:23 ` fche at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).