public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "paolo.pisati at canonical dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/31045] New: libabigail-2.4: Assertion `__abg_cond__' failed. Aborted (core dumped)
Date: Wed, 08 Nov 2023 12:03:43 +0000	[thread overview]
Message-ID: <bug-31045-9487@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 31045
           Summary: libabigail-2.4: Assertion `__abg_cond__' failed.
                    Aborted (core dumped)
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: paolo.pisati at canonical dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Created attachment 15214
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15214&action=edit
zfs files that trigger the assert()

While building the zfs-dkms package, in the checkabi target, abidiff core
dumps:

https://launchpadlibrarian.net/696568269/buildlog_ubuntu-noble-amd64.zfs-linux_2.2.0-0ubuntu2_BUILDING.txt.gz

abigail-2.3 was fine, and it started crashing after we moved to abigail-2.4.
I was able to reproduce the issue locally with abigail src from git:

$ abidiff --no-unreferenced-symbols --headers-dir1 include --suppressions
./lib/libnvpair/libnvpair.suppr ./lib/libnvpair/libnvpair.abi
.libs/libnvpair.so
abidiff: ../../src/abg-ir.cc:8004: virtual abigail::ir::decl_base_sptr
abigail::ir::scope_decl::add_member_decl(const abigail::ir::decl_base_sptr&):
Assertion `__abg_cond__' failed.
Aborted (core dumped)

and i bisected it down to this commit:

commit d00a2cc2da9b33be5a6e5376cbee4591c042d3a3 (break5)
Author: Dodji Seketeli <dodji@redhat.com>
Date:   Thu May 25 14:15:56 2023 +0200

    Bug 30466 - harfbuzz fails self-check on f38

Does it ring any bell?
I'm not familiar with abigail internals, but i'll be happy to test any patch
you throw at me.

I'm attaching a tarball with the offending files.

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

             reply	other threads:[~2023-11-08 12:03 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-11-08 12:03 paolo.pisati at canonical dot com [this message]
2023-11-08 12:04 ` [Bug default/31045] " paolo.pisati at canonical dot com
2023-11-08 14:52 ` [Bug default/31045] assert violation while setting translation unit for unique types dodji at redhat dot com
2023-11-09  8:53 ` paolo.pisati at canonical dot com
2023-11-09  9:06   ` Dodji Seketeli
2023-11-09  9:06 ` dodji at seketeli dot org
2023-11-09 12:10 ` paolo.pisati at canonical dot com
2023-11-09 12:30 ` dodji 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-31045-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).