public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/22190] abidw asserting through  abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)'
  2017-01-01  0:00 [Bug default/22190] New: abidw asserting through abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)' jchowdhary at google dot com
                   ` (2 preceding siblings ...)
  2017-01-01  0:00 ` jchowdhary at google dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  3 siblings, 0 replies; 5+ 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=22190

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

It takes time and memory for abidw to perform "abidw vmlinux > vmlinux.abi" but
it works now at least.

I do performance optimization work on these things every now and then, but if
you feel like this needs to be addressed sooner, please let me know and we'll
see what we can do.

Thank you again for taking time to file this issue.

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

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

* [Bug default/22190] New: abidw asserting through  abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)'
@ 2017-01-01  0:00 jchowdhary at google dot com
  2017-01-01  0:00 ` [Bug default/22190] " dodji at redhat dot com
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: jchowdhary at google dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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.

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

* [Bug default/22190] abidw asserting through  abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)'
  2017-01-01  0:00 [Bug default/22190] New: abidw asserting through abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)' jchowdhary at google dot com
  2017-01-01  0:00 ` [Bug default/22190] " dodji at redhat dot com
  2017-01-01  0:00 ` dodji at redhat dot com
@ 2017-01-01  0:00 ` jchowdhary at google dot com
  2017-01-01  0:00 ` dodji at redhat dot com
  3 siblings, 0 replies; 5+ messages in thread
From: jchowdhary at google dot com @ 2017-01-01  0:00 UTC (permalink / raw)
  To: libabigail

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

--- Comment #3 from jchowdhary at google dot com ---
Thank you for this fix! I'm able to successfully run abidw on the vmlinux
binary mentioned earlier.

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

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

* [Bug default/22190] abidw asserting through  abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)'
  2017-01-01  0:00 [Bug default/22190] New: abidw asserting through abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)' jchowdhary at google dot com
  2017-01-01  0:00 ` [Bug default/22190] " dodji at redhat dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  2017-01-01  0:00 ` jchowdhary at google dot com
  2017-01-01  0:00 ` dodji at redhat dot com
  3 siblings, 0 replies; 5+ 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=22190

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2017-09-25
     Ever confirmed|0                           |1

--- Comment #1 from dodji at redhat dot com ---
Thank you for taking the time to file this issue and sorry for the
inconvenience.

I could indeed reproduce the issue on a Linux Kernel vmlinux binary as you
mentioned. I am looking into it.

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

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

* [Bug default/22190] abidw asserting through  abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)'
  2017-01-01  0:00 [Bug default/22190] New: abidw asserting through abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)' jchowdhary at google dot com
@ 2017-01-01  0:00 ` dodji at redhat dot com
  2017-01-01  0:00 ` dodji at redhat dot com
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ 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=22190

dodji at redhat dot com changed:

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

--- Comment #4 from dodji at redhat dot com ---
Closing this now as it's fixed for you.

Thanks again.

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

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

end of thread, other threads:[~2017-10-09  4:56 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-01-01  0:00 [Bug default/22190] New: abidw asserting through abg-dwarf-reader.cc:4001`dwarf_offdie(dwarf_per_die_source(source), offset, die)' jchowdhary at google dot com
2017-01-01  0:00 ` [Bug default/22190] " dodji at redhat dot com
2017-01-01  0:00 ` dodji at redhat dot com
2017-01-01  0:00 ` jchowdhary at google dot com
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).