[Bug default/18828] New: abidw assertion failure at abg-dwarf-reader.cc:2401

andrew.c.morrow at gmail dot com sourceware-bugzilla@sourceware.org
Thu Jan 1 00:00:00 GMT 2015


            Bug ID: 18828
           Summary: abidw assertion failure at abg-dwarf-reader.cc:2401
           Product: libabigail
           Version: unspecified
            Status: NEW
          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 8523
  --> https://sourceware.org/bugzilla/attachment.cgi?id=8523&action=edit
Reproducing shared library

Currently using abidw built from source at SHA
on Ubuntu 15.04 using the system GCC (4.9.2).

I'm encountering an assertion failure as follows when run against a shared
library built as part of the MongoDB build:

abidw: abg-dwarf-reader.cc:2401: void
Assertion `(*j)->get_is_declaration_only() && (*j)->get_size_in_bits() == 0 &&
((*j)->get_definition_of_declaration() == 0)' failed.

I've reproduced this crash with the library generated by both clang and GCC.
You can reproduce as follows (you will need python, SCons, openssl, etc., to

> git clone https://github.com/mongodb/mongo.git
> cd mongo
> git checkout 86eddcdacd400f634f9859ae7d70113d91a29d0e
> scons CC=/usr/bin/gcc CXX=/usr/bin/g++ --dbg=on --opt=off --ssl --link-model=dynamic -j24 build/debug/mongo/db/auth/libsasl_options.so ABIDW=<path-to-abidw>

I've attached a copy of the failing library.

To use this mechanism to search for other libraries which may cause problems,
replace the explicit path build/debug/mongo/db/auth/libsasl_options.so with the
target 'all'.

You are receiving this mail because:
You are on the CC list for the bug.

More information about the Libabigail mailing list