[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug default/18828] New: abidw assertion failure at abg-dwarf-reader.cc:2401
https://sourceware.org/bugzilla/show_bug.cgi?id=18828
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
160961f3cb5f717ed8260ff210fc5efd19e1204e
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
abigail::dwarf_reader::read_context::resolve_declaration_only_classes():
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
build):
> 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.