Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
clang5.0 + asan + xerces + markdown #2021
When compiling elektra with xerces + clang5.0 + asan testlib_xerces passes but testshell_markdown_xerces fails:
The plugin is already disabled for ASAN builds with GCC. Should I just disable it for ASAN builds in general? Or is this linked to the markdown test?
changed the title from
clang + asan + xerces
clang + asan + xerces + markdown
May 25, 2018
As far as I can tell from a recent Travis build, the combination
seems to work. The test fails on my computer (macOS
. The test
I think it makes sense to disable the plugin too. Since the AddressSanitizer
I assume we have a real memory leak here.
The memory management in libtools (which implements mount) is not done manually (but via C++ RAII) so it is unlikely that there are memory leaks but it is possible. libstdc++ itself, however, usually has memory leaks (They internally allocate some memory pools which are never freed. Valgrind suppresses these pools.). Yesterday @waht reported that the dump plugin might be affected by this problem (and thus nearly every mount command because dump is the default storage).
It would be interesting if ini as default plugin (KDB_DEFAULT_STORAGE=ini) improves the ASAN situation.
Which mount command in validation.md causes the problem?