public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/22015] New: abidw failing with Assertion `i != ctxt.die_tu_map().end()' for mongodb shared libraries
@ 2017-01-01  0:00 andrew.c.morrow at gmail dot com
  2017-01-01  0:00 ` [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases dodji at redhat dot com
                   ` (4 more replies)
  0 siblings, 5 replies; 7+ messages in thread
From: andrew.c.morrow at gmail dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-09-10 16:35 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-01  0:00 [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
2017-01-01  0:00 ` [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases dodji at redhat dot com
2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
2017-01-01  0:00   ` Dodji Seketeli
2017-01-01  0:00 ` dodji at redhat dot com
2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
2017-01-01  0:00 ` dodji at seketeli dot org

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).