public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8
@ 2024-01-23 11:51 bbhtt.zn0i8 at slmail dot me
  2024-01-23 11:52 ` [Bug default/31279] " bbhtt.zn0i8 at slmail dot me
                   ` (8 more replies)
  0 siblings, 9 replies; 10+ messages in thread
From: bbhtt.zn0i8 at slmail dot me @ 2024-01-23 11:51 UTC (permalink / raw)
  To: libabigail

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.

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
@ 2024-01-23 11:52 ` bbhtt.zn0i8 at slmail dot me
  2024-01-23 11:53 ` bbhtt.zn0i8 at slmail dot me
                   ` (7 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bbhtt.zn0i8 at slmail dot me @ 2024-01-23 11:52 UTC (permalink / raw)
  To: libabigail

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

--- Comment #1 from bbhtt <bbhtt.zn0i8 at slmail dot me> ---
Created attachment 15321
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15321&action=edit
New library debug file

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
  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
                   ` (6 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bbhtt.zn0i8 at slmail dot me @ 2024-01-23 11:53 UTC (permalink / raw)
  To: libabigail

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

--- Comment #2 from bbhtt <bbhtt.zn0i8 at slmail dot me> ---
Created attachment 15322
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15322&action=edit
libgstqsv 1.22.5

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
  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
                   ` (5 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bbhtt.zn0i8 at slmail dot me @ 2024-01-23 11:53 UTC (permalink / raw)
  To: libabigail

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

--- Comment #3 from bbhtt <bbhtt.zn0i8 at slmail dot me> ---
Created attachment 15323
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15323&action=edit
libgstqsv 1.22.5 debug file

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
                   ` (2 preceding siblings ...)
  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
                   ` (4 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: dodji at redhat dot com @ 2024-01-24 11:04 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2024-01-24
             Status|UNCONFIRMED                 |WAITING
     Ever confirmed|0                           |1

--- Comment #4 from dodji at redhat dot com ---
Hello,

Thank you for reporting this problem.

I have tried to reproduce it, but I think there are two missing debug info
files that should be located at
../../../../dwz/components/gstreamer-plugins-bad.bst/x86_64-unknown-linux-gnu.

These debug info files are produced by the DWARF compression tool named "dwz". 
You should have one such file for each of the libgstqv.so file you provided.

Could you please provide these missing debuginfo files too, so that I can
reproduce and hopefully debug the problem?

Thank you in advance and sorry for the inconvenience.

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
                   ` (3 preceding siblings ...)
  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
                   ` (3 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bbhtt.zn0i8 at slmail dot me @ 2024-01-24 12:12 UTC (permalink / raw)
  To: libabigail

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

--- Comment #5 from bbhtt <bbhtt.zn0i8 at slmail dot me> ---
Created attachment 15330
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15330&action=edit
1.22.5

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
                   ` (4 preceding siblings ...)
  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
                   ` (2 subsequent siblings)
  8 siblings, 0 replies; 10+ messages in thread
From: bbhtt.zn0i8 at slmail dot me @ 2024-01-24 12:12 UTC (permalink / raw)
  To: libabigail

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

--- Comment #6 from bbhtt <bbhtt.zn0i8 at slmail dot me> ---
Created attachment 15331
  --> https://sourceware.org/bugzilla/attachment.cgi?id=15331&action=edit
1.22.8

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
                   ` (5 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: bbhtt.zn0i8 at slmail dot me @ 2024-01-24 12:12 UTC (permalink / raw)
  To: libabigail

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

--- Comment #7 from bbhtt <bbhtt.zn0i8 at slmail dot me> ---
Uploaded, thanks for looking into it.

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
                   ` (6 preceding siblings ...)
  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
  8 siblings, 0 replies; 10+ messages in thread
From: dodji at redhat dot com @ 2024-01-25 23:36 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |ASSIGNED

--- Comment #8 from dodji at redhat dot com ---
Branch
https://sourceware.org/git/?p=libabigail.git;a=shortlog;h=refs/heads/users/dodji/PR31279
should have a tentative patch that should hopefully fix the issue.  I am
currently testing it.

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

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

* [Bug default/31279] abidiff crashes while analyzing libgstqsv.so 1.22.8
  2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
                   ` (7 preceding siblings ...)
  2024-01-25 23:36 ` dodji at redhat dot com
@ 2024-01-26 10:37 ` dodji at redhat dot com
  8 siblings, 0 replies; 10+ messages in thread
From: dodji at redhat dot com @ 2024-01-26 10:37 UTC (permalink / raw)
  To: libabigail

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

dodji at redhat dot com changed:

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

--- Comment #9 from dodji at redhat dot com ---
The commit
https://sourceware.org/git/?p=libabigail.git;a=commit;h=1053262eee8e5af9814b060aa67e56a0bcadbee5
on the master branch should fix this issue.  The fix should be available in
libabigail 2.5.

Thanks for reporting this problem and sorry for the inconvenience.

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

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

end of thread, other threads:[~2024-01-26 10:37 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-23 11:51 [Bug default/31279] New: abidiff crashes while analyzing libgstqsv.so 1.22.8 bbhtt.zn0i8 at slmail dot me
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

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).