[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/22190] New: abidw asserting through abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)'



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

            Bug ID: 22190
           Summary: abidw asserting through
                    abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_so
                    urce(source), offset, die)'
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: jchowdhary at google dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Hello,
I'm seeing abidw assert on trying to dump the abi for the linux kernel.

Configurations and steps to Reproduce:

1) libabigail (master) sha - 8edaadb5f6ec733694d1476f094aa979a28b3712

2) libxml2 sha - 0f3b843b3534784ef57a4f9b874238aa1fda5a73 (might not matter 
   much given the location of the assertion)

3) elfutils sha - 760925bc7b43814d30ee4e0396709fe8a3f66cd6

4) Linux kernel tree:
       1) clone : git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-
          stable.git (master)
       2) sync to sha - 4e2e415f4cc11da3d01d6b9634eae09688e852c5 which 
          corresponds to tag v4.4.82.
       3) Build with CONFIG_DEBUG_INFO=y

5) ./abidw <path-to-vmlinux> produces abidw: abg-dwarf-reader.cc:4001: void
abigail::dwarf_reader::read_context::get_die_from_offset(abigail::dwarf_reader::die_source,
Dwarf_Off, Dwarf_Die*) const: Assertion
`dwarf_offdie(dwarf_per_die_source(source), offset, die)' failed.

6) kmidiff also shows the same (vmlinux 1 = vmlinux2 here): 
       kmidiff --vmlinux1 <path-to-vmlinux> --vmlinux2 <path-to-vmlinux> <path-
       to-kernel-tree> <path-to-kernel-tree>

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