Red Hat Bugzilla – Bug 462689
glibc double-free in systemtap test case
Last modified: 2009-01-20 16:08:12 EST
elfutils-0.137, as built for rhel5.3, appears to cause a glibc double-free
error on i386 on the systemtap (git) test case. This occurs with a build
either with rhel5.3-track elfutils* rpms installed, and also with a
systemtap --with-elfutils bundled build. The error does not appear for
elfutils 0.135 (in bundled mode).
stap -p4 ..../testsuite/buildok/seventeen.stp
*** glibc detected *** ./stap: corrupted double-linked list: 0x0a81c8c8 ***
======= Backtrace: =========
Created attachment 318043 [details]
I'm putting this fix upstream. Please verify it works for you.
With that patch it doesn't crash and burn anymore, which is definitely progress.
But the systemtap test still fails:
semantic error: libdwfl failure (dwfl_addrmodule): no error: identifier '$write_fifo_fops' at /home/mark/src/systemtap/testsuite/buildok/seventeen.stp:11:19
This might be a different issue though. The test did PASS with the 0.135 elfutils and systemtap from fedora 9.
The no error in that semantic error message is somewhat weird. dwfl_addrmodule returns NULL but doesn't set dwfl_errno.
Roland pointed out that I should also apply the elfutils-0.137-fixes.patch from the elfutils-0.137-2.fc9 rpm. Combined these patches plus the libdwfl fix from comment #1 make that test PASS!
is this truly fixed on rhel5.3?
not yet, respin was requested, but not yet done as far as I know
built a while back, but forgot erratum respin magic hooey until today
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.