public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "bbhtt.zn0i8 at slmail dot me" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8
Date: Tue, 23 Jan 2024 11:51:53 +0000	[thread overview]
Message-ID: <bug-31279-9487@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 31279
           Summary: abidiff crashes while analyzing libgstqsv.so 1.22.8
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: bbhtt.zn0i8 at slmail dot me
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Created attachment 15320
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15320&action=edit
New library 1.22.8

```
abidiff: ../../src/abg-dwarf-reader.cc:13213: abigail::ir::class_decl_sptr
abigail::dwarf::add_or_update_class_type(reader&, Dwarf_Die*,
abigail::ir::scope_decl*, bool, abigail::ir::class_decl_sptr, bool, size_t,
bool): Assertion `__abg_cond__' failed.
```

See
https://gitlab.com/freedesktop-sdk/freedesktop-sdk/-/merge_requests/16781#note_1737390894


I provided, below, the so and debug files for libgstqsv (old and new).
Otherwise, the project can be built by cloning the repo and checking out the
branch.

Buildstream 2 needs to be installed, see https://buildstream.build/install.html

Then `bst build components/gstreamer-plugins-bad.bst` will build the component
that provides the library and `bst artifact checkout
components/gstreamer-plugins-bad.bst` will produce a local copy of the build
contents.

To analyse the ABI `make check-abi` can be run, that effectively runs the
following, through a python script:

python script args: `check-abi --new /new-image --old /old-image
--archive-on-core --forward-compatible --suppressions
"/usr/share/check-abi/check-abi-suppressions.json" --abidiff-suppressions
"/usr/share/check-abi/abidiff-suppressions.ini"`

abidiff args: `abidiff --headers-dir1 /old-image/usr/include --headers-dir2
/new-image/usr/include --debug-info-dir1 /old-image/usr/lib/debug
--debug-info-dir2 /new-image/usr/lib/debug
/old-image/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstqsv.so
/new-image/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstqsv.so
--drop-private-types`

Output can be seen by entering `l`:

```
┌─────────────────────────┐
│ ABI Break: libgstqsv.so │
└─────────────────────────┘

abidiff: ../../src/abg-dwarf-reader.cc:13213: abigail::ir::class_decl_sptr
abigail::dwarf::add_or_update_class_type(reader&, Dwarf_Die*,
abigail::ir::scope_decl*, bool, abigail::ir::class_decl_sptr, bool, size_t,
bool): Assertion `__abg_cond__' failed.

abidiff core dumped, command was:
abidiff --headers-dir1 /old-image/usr/include --headers-dir2
/new-image/usr/include --debug-info-dir1 /old-image/usr/lib/debug
--debug-info-dir2 /new-image/usr/lib/debug
/old-image/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstqsv.so
/new-image/usr/lib/x86_64-linux-gnu/gstreamer-1.0/libgstqsv.so
--drop-private-types
Skipping file libpipewire-module-vban-send.so
Skipping file libpipewire-module-protocol-native.so
Skipping file libpipewire-module-rt.so
```

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

             reply	other threads:[~2024-01-23 11:51 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-01-23 11:51 bbhtt.zn0i8 at slmail dot me [this message]
2024-01-23 11:52 ` [Bug default/31279] " bbhtt.zn0i8 at slmail dot me
2024-01-23 11:53 ` bbhtt.zn0i8 at slmail dot me
2024-01-23 11:53 ` bbhtt.zn0i8 at slmail dot me
2024-01-24 11:04 ` dodji at redhat dot com
2024-01-24 12:12 ` bbhtt.zn0i8 at slmail dot me
2024-01-24 12:12 ` bbhtt.zn0i8 at slmail dot me
2024-01-24 12:12 ` bbhtt.zn0i8 at slmail dot me
2024-01-25 23:36 ` dodji at redhat dot com
2024-01-26 10:37 ` 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-31279-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).