public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases
  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
                   ` (3 preceding siblings ...)
  2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  4 siblings, 0 replies; 7+ messages in thread
From: dodji at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=22015

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2017-08-28
            Summary|abidw failing with          |libabigail failing to
                   |Assertion `i !=             |return the global scope
                   |ctxt.die_tu_map().end()'    |DIEs in certain cases
                   |for mongodb shared          |
                   |libraries                   |
     Ever confirmed|0                           |1

--- Comment #1 from dodji at redhat dot com ---
I could indeed reproduced this issue.  Thanks for taking the time to file this
problem report.

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

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

* [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases
  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 ` dodji at seketeli dot org
  2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
                   ` (3 subsequent siblings)
  4 siblings, 0 replies; 7+ messages in thread
From: dodji at seketeli dot org @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=22015

--- Comment #4 from dodji at seketeli dot org ---
"andrew.c.morrow at gmail dot com" <sourceware-bugzilla@sourceware.org>
a écrit:

> https://sourceware.org/bugzilla/show_bug.cgi?id=22015
>
> --- Comment #3 from andrew.c.morrow at gmail dot com ---
> Thank you for the quick fix. I've confirmed that this assertion no longer shows
> up in my build.

No problem.  Thank you for taking the time necessary to file that issue.

> I do have another, for which I'll open a new ticket. The symptom looks like:
>
> abidw: abg-dwarf-reader.cc:13944: abigail::ir::array_type_def_sptr
> abigail::dwarf_reader::build_array_type(abigail::dwarf_reader::read_context&,
> Dwarf_Die*, bool, size_t): Assertion `result' failed.

Have you had time to file that ticket yet?  I am interested in fixing
that problem.

Cheers,

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

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

* Re: [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases
  2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
@ 2017-01-01  0:00   ` Dodji Seketeli
  0 siblings, 0 replies; 7+ messages in thread
From: Dodji Seketeli @ 2017-01-01  0:00 UTC (permalink / raw)
  To: andrew.c.morrow at gmail dot com; +Cc: libabigail

"andrew.c.morrow at gmail dot com" <sourceware-bugzilla@sourceware.org>
a écrit:

> https://sourceware.org/bugzilla/show_bug.cgi?id=22015
>
> --- Comment #3 from andrew.c.morrow at gmail dot com ---
> Thank you for the quick fix. I've confirmed that this assertion no longer shows
> up in my build.

No problem.  Thank you for taking the time necessary to file that issue.

> I do have another, for which I'll open a new ticket. The symptom looks like:
>
> abidw: abg-dwarf-reader.cc:13944: abigail::ir::array_type_def_sptr
> abigail::dwarf_reader::build_array_type(abigail::dwarf_reader::read_context&,
> Dwarf_Die*, bool, size_t): Assertion `result' failed.

Have you had time to file that ticket yet?  I am interested in fixing
that problem.

Cheers,

-- 
		Dodji

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

* [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases
  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
                   ` (2 preceding siblings ...)
  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 Seketeli
  2017-01-01  0:00 ` dodji at redhat dot com
  4 siblings, 1 reply; 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

--- Comment #3 from andrew.c.morrow at gmail dot com ---
Thank you for the quick fix. I've confirmed that this assertion no longer shows
up in my build.

I do have another, for which I'll open a new ticket. The symptom looks like:

abidw: abg-dwarf-reader.cc:13944: abigail::ir::array_type_def_sptr
abigail::dwarf_reader::build_array_type(abigail::dwarf_reader::read_context&,
Dwarf_Die*, bool, size_t): Assertion `result' failed.

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

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

* [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 seketeli dot org
                   ` (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

* [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases
  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 seketeli dot org
@ 2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
  2017-01-01  0:00 ` dodji at redhat dot com
                   ` (2 subsequent siblings)
  4 siblings, 0 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

--- Comment #5 from andrew.c.morrow at gmail dot com ---
Hey, sorry for the delay, was out of the office for a while. I've filed the new
ticket: https://sourceware.org/bugzilla/show_bug.cgi?id=22122

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

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

* [Bug default/22015] libabigail failing to return the global scope DIEs in certain cases
  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 seketeli dot org
  2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
@ 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 redhat dot com
  4 siblings, 0 replies; 7+ messages in thread
From: dodji at redhat dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=22015

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |FIXED

--- Comment #2 from dodji at redhat dot com ---
This should hopefully be fixed by commit
https://sourceware.org/git/gitweb.cgi?p=libabigail.git;a=commit;h=f42817a78a1ab482010d0c9c0359105a8a84272b
in the master branch of the git repository.

Sorry for the inconvenience.

-- 
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 seketeli dot org
2017-01-01  0:00 ` andrew.c.morrow at gmail dot com
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 Seketeli
2017-01-01  0:00 ` dodji at redhat dot com

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).