public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "woodard at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/26771] New: abidw crashes reading /lib64/libclang-cpp.so.10
Date: Thu, 22 Oct 2020 06:05:46 +0000	[thread overview]
Message-ID: <bug-26771-9487@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 26771
           Summary: abidw crashes reading /lib64/libclang-cpp.so.10
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

[ben@alien dwqual]$ gdb --silent --args abidw /lib64/libclang-cpp.so.10 
Reading symbols from abidw...
Reading symbols from /usr/lib/debug/usr/bin/abidw-1.7-1.fc32.x86_64.debug...
(gdb) r
Starting program: /usr/bin/abidw /lib64/libclang-cpp.so.10
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff7645005 in dwarf_dieoffset () from /lib64/libdw.so.1
(gdb) bt
#0  0x00007ffff7645005 in dwarf_dieoffset () from /lib64/libdw.so.1
#1  0x00007ffff7ec34f1 in
abigail::dwarf_reader::imported_unit_point::imported_unit_point
(from=<optimized out>, imported_die=..., import_off=<optimized out>, 
    this=0x7fffffffa2a0) at abg-dwarf-reader.cc:258
#2  abigail::dwarf_reader::read_context::build_die_parent_relations_under
(this=0x555555585a90, die=0x7fffffffa370, 
    source=abigail::dwarf_reader::PRIMARY_DEBUG_INFO_DIE_SOURCE,
imported_units=std::vector of length 0, capacity 0) at abg-dwarf-reader.cc:9194
#3  0x00007ffff7ec395b in
abigail::dwarf_reader::read_context::build_die_parent_maps
(this=this@entry=0x555555585a90) at abg-dwarf-reader.cc:9329
#4  0x00007ffff7eb5c22 in abigail::dwarf_reader::read_debug_info_into_corpus
(ctxt=...) at abg-dwarf-reader.cc:17275
#5  abigail::dwarf_reader::read_corpus_from_elf (ctxt=...,
status=@0x7fffffffa70c: abigail::dwarf_reader::STATUS_UNKNOWN) at
abg-dwarf-reader.cc:18481
#6  0x0000555555559e8f in load_corpus_and_write_abixml (opts=...,
context=std::shared_ptr<abigail::dwarf_reader::read_context> (use count 1, weak
count 0) = {...}, 
    env=std::shared_ptr<abigail::ir::environment> (use count 1, weak count 0) =
{...}, argv=0x7fffffffae58) at abidw.cc:415
#7  main (argc=<optimized out>, argv=<optimized out>) at abidw.cc:783

$ rpm -q libabigail
libabigail-1.7-1.fc32.x86_64
$ rpm -qf /lib64/libclang-cpp.so.10
clang-libs-10.0.1-2.fc32.x86_64

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

             reply	other threads:[~2020-10-22  6:05 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-10-22  6:05 woodard at redhat dot com [this message]
2020-10-23 20:24 ` [Bug default/26771] " woodard at redhat dot com
2020-10-23 21:18 ` woodard at redhat dot com
2020-10-29  8:40 ` dodji at redhat dot com
2020-10-29 12:18 ` maennich at android dot com
2020-11-10 18:11 ` gprocida+abigail at google dot com
2020-11-10 18:12 ` maennich at android dot com
2020-11-10 18:12 ` maennich at android dot com
2020-11-10 18:30 ` gprocida+abigail at google dot com
2020-11-10 18:40 ` gprocida+abigail at google dot com
2020-11-11  9:06 ` dodji at redhat dot com
2020-11-11  9:31 ` gprocida+abigail at google dot com
2020-11-11  9:54 ` gprocida+abigail at google dot com
2020-11-11 14:09 ` gprocida+abigail at google dot com
2020-11-12 17:15 ` woodard at redhat dot com
2020-11-12 19:04 ` woodard at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-26771-9487@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=libabigail@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).