[Bug default/22015] New: abidw failing with Assertion `i != ctxt.die_tu_map().end()' for mongodb shared libraries
andrew.c.morrow at gmail dot com
sourceware-bugzilla@sourceware.org
Sun Jan 1 00:00:00 GMT 2017
https://sourceware.org/bugzilla/show_bug.cgi?id=22015
Bug ID: 22015
Summary: abidw failing with Assertion `i !=
ctxt.die_tu_map().end()' for mongodb shared libraries
Product: libabigail
Version: unspecified
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: default
Assignee: dodji at redhat dot com
Reporter: andrew.c.morrow at gmail dot com
CC: libabigail at sourceware dot org
Target Milestone: ---
Created attachment 10372
--> https://sourceware.org/bugzilla/attachment.cgi?id=10372&action=edit
Library that reproduces the assertion failure
- OS: Ubuntu 16.04
- Compiler: clang 3.9, from system packages
- abidw built from source at revision bd863916ab46da6cf3b3dc3fadee0c5029139538
- elfutils built from source at revision
760925bc7b43814d30ee4e0396709fe8a3f66cd6
I'm getting the following assertion on many shared libraries generated as part
of the build of MongoDB:
abidw: abg-dwarf-reader.cc:11841: abigail::ir::scope_decl_sptr
abigail::dwarf_reader::get_scope_for_die(abigail::dwarf_reader::read_context&,
Dwarf_Die*, bool, size_t): Assertion `i != ctxt.die_tu_map().end()' failed.
I've attached a library that exhibits the problem.
You can repro this by building the mongodb master branch
(https://github.com/mongodb/mongo) as follows:
$ python ./buildscripts/scons.py -j18 --link-model=dynamic --dbg=on --lto
ABIDW=<path-to-abidw> all
Or by running abidw against the attached file
$ ~/opt/bin/abidw libboost_iostreams.so
abidw: abg-dwarf-reader.cc:11841: abigail::ir::scope_decl_sptr
abigail::dwarf_reader::get_scope_for_die(abigail::dwarf_reader::read_context&,
Dwarf_Die*, bool, size_t): Assertion `i != ctxt.die_tu_map().end()' failed.
Aborted (core dumped)
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the Libabigail
mailing list