This is the mail archive of the mailing list for the elfutils project.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: FYI unwinder vDSO exception bugfix

On Fri, 08 Nov 2013 17:21:02 +0100, Mark Wielaard wrote:
I admit I do not run testsuite under valgrind as it was too slow.

I tried now the commit before the unwinder master check-in

I had to disable tests/ as it was running forever, maybe it would
end in some time but it was taking too many minutes.

Then on the commit before unwinder (22f867adcc1258aeb88560fa8591ef071353bb22)
I got:
FAIL: (exit: 1)
==1150== Source and destination overlap in memcpy(0x4022000, 0x4022000, 64)
==1150==    at 0x4C2C343: memcpy@@GLIBC_2.14 (in /usr/lib64/valgrind/
==1150==    by 0x4E45A4B: __elf64_updatemmap (elf32_updatefile.c:137)
==1150==    by 0x4E41AAE: write_file (elf_update.c:87)
==1150==    by 0x4E41E0A: elf_update (elf_update.c:196)
==1150==    by 0x400977: main (rdwrmmap.c:38)

> Or by hand:
> LD_LIBRARY_PATH=~/build/elfutils-obj/backends:~/build/elfutils-obj/libelf:~/build/elfutils-obj/libdw valgrind --run-libc-freeres=no src/addr2line -S -e test-core.exec --core=test-core.core 0x7f67f2aaf619

For the master commit (=with unwinder) I really get:

valgrind: m_redir.c:700 (vgPlain_redir_add_ifunc_target): Assertion 'old' failed.
==9785==    at 0x38059B6F: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==9785==    by 0x38059CB2: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==9785==    by 0x3806A40D: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==9785==    by 0x3809F787: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)
==9785==    by 0x380AE0FC: ??? (in /usr/lib64/valgrind/memcheck-amd64-linux)

sched status:

Thread 1: status = VgTs_Runnable
==9785==    at 0x4A237CC: _vgnU_ifunc_wrapper (in /usr/lib64/valgrind/
==9785==    by 0x400E99E: _dl_fixup (dl-irel.h:32)
==9785==    by 0x40152A4: _dl_runtime_resolve (dl-trampoline.S:45)
==9785==    by 0xC3ABCF9: x86_64_core_note (linux-core-note.c:210)
==9785==    by 0x4E743C3: ebl_core_note (eblcorenote.c:54)
==9785==    by 0x4E6EE16: __libdwfl_attach_state_for_core (linux-core-attach.c:333)
==9785==    by 0x4E6AE52: dwfl_core_file_report@@ELFUTILS_0.158 (core-file.c:565)
==9785==    by 0x4E5CF8B: parse_opt (argp-std.c:317)
==9785==    by 0x53A6927: ??? (in /usr/lib64/
==9785==    by 0x401BDA: main (addr2line.c:149)


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]