mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-15 22:44:41 +00:00
The Git repository of the Libabigail Project
e6f3193b0b
runtestreadctf fails executed by make check-valgrind, a memory leak is reported: at 0x48397B5: malloc (vg_replace_malloc.c:381) by 0x56E6316: ctf_bufopen_internal (ctf-open.c:1388) by 0x56E5FD3: ctf_bufopen (ctf-open.c:1297) by 0x56CD688: ctf_arc_bufopen (ctf-archive.c:444) by 0x4EB31FD: abigail::ctf_reader::read_corpus(abigail::ctf_reader::read_context*,\ abigail::elf_reader::status&) (abg-ctf-reader.cc:1111) by 0x10C6BB: test_task_ctf::perform() (test-read-ctf.cc:236) by 0x4E8E9AF: abigail::workers::worker::wait_to_execute_a_task\ (abigail::workers::queue::priv*) (abg-workers.cc:400) by 0x543BEAD: start_thread (pthread_create.c:463) by 0x5369A5E: clone (clone.S:95) This is happening because `ctf_variable_next' bumps the dictionary reference counter, so when `ctf_close' is called it doesn't free the memory allocated by the dict, because `ctf_refcnt' is greater than one. Therefore `ctf_dict_close' is required. * src/abg-ctf-reader.cc (process_ctf_archive): Add ctf_dict_close Signed-off-by: Guillermo E. Martinez <guillermo.e.martinez@oracle.com> Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
autoconf-archive | ||
bash-completion | ||
doc | ||
include | ||
m4 | ||
relicensing-scripts | ||
scripts | ||
src | ||
tests | ||
tools | ||
.clang-format | ||
.gitignore | ||
abigail.m4 | ||
ABIXML-FORMAT-VERSIONS | ||
AUTHORS | ||
ChangeLog | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
configure.ac | ||
CONTRIBUTING | ||
default.abignore | ||
gen-changelog.py | ||
install-sh | ||
libabigail.pc.in | ||
license-change-2020.txt | ||
LICENSE.txt | ||
ltmain.sh | ||
Makefile.am | ||
NEWS | ||
README | ||
release-text-template.txt | ||
update-copyright.sh | ||
VISIBILITY |
This is the Application Binary Interface Generic Analysis and Instrumentation Library. It aims at constructing, manipulating, serializing and de-serializing ABI-relevant artifacts. The set of artifacts that we are intersted is made of quantities like types, variable, fonctions and declarations of a given library or program. For a given library or program this set of quantities is called an ABI corpus. This library aims at (among other things) providing a way to compare two ABI Corpora (apparently the plural of corpus is copora, heh, that's cool), provide detailed information about their differences, and help build tools to infer interesting conclusions about these differences. You are welcome to contribute to this project after reading the files CONTRIBUTING and COMMIT-LOG-GUIDELINES files in the source tree. Communicating with the maintainers of this project -- including sending patches to be include to the source code -- happens via email at libabigail@sourceware.org.