Summary: | Libabigail doesn't support common ELF symbols (defined in SHN_COMMON sections) | ||
---|---|---|---|
Product: | libabigail | Reporter: | Ben Woodard <woodard> |
Component: | default | Assignee: | Dodji Seketeli <dodji> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | libabigail |
Priority: | P2 | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Host: | Target: | ||
Build: | Last reconfirmed: | ||
Attachments: | reproducing ELF file. |
bash-4.1$ ~/bin/abidw --abidiff /collab/usr/global/tools/Vis5d/Vis5d+/src/irix_6.5_64/vis5d+-1.3.0-beta/util/get5d.o abidw: ../../src/abg-reader.cc:2279: abigail::ir::string_elf_symbols_map_sptr abigail::xml_reader::build_elf_symbol_db(abigail::xml_reader::read_context&, xmlNode*, bool): Assertion `i->second->is_main_symbol()' failed. Aborted (core dumped) So the line number seems to have moved to 2279 but the error seems to be the same. This is with the latest 1.0 RC1 git. I did not test for regressions by running through the whole 130k item list. However, by running on just the files that previously asserted I was able to run through this very quickly. This is now the most common assert with 3 failures in the latest git. I was looking at bug #19141 and after poking at it for a while, I realized it was the same as this one. So I am taking this one too. *** Bug 19142 has been marked as a duplicate of this bug. *** This should now be fixed by commit https://sourceware.org/git/?p=libabigail.git;a=commit;h=640b3a2f59b48b869db871e46f3190555219e17b in the master branch. Thanks for reporting this issue! |
Created attachment 8723 [details] reproducing ELF file. This appears to be a new one: hype356@ben:~/bin/abidw --abidiff /collab/usr/global/tools/Vis5d/Vis5d+/src/irix_6.5_64/vis5d+-1.3.0-beta/util/get5d.o abidw: ../../src/abg-reader.cc:2265: abigail::ir::string_elf_symbols_map_sptr abigail::xml_reader::build_elf_symbol_db(abigail::xml_reader::read_context&, xmlNode*, bool): Assertion `i->second->is_main_symbol()' failed. Aborted (core dumped)