public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
From: "woodard at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: libabigail@sourceware.org
Subject: [Bug default/29428] New: fedabipkgdiff --self-compare doesn't report segv's of abipkgdiff
Date: Thu, 28 Jul 2022 21:13:12 +0000	[thread overview]
Message-ID: <bug-29428-9487@http.sourceware.org/bugzilla/> (raw)

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

            Bug ID: 29428
           Summary: fedabipkgdiff --self-compare doesn't report segv's of
                    abipkgdiff
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: woodard at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

When running the underlying abipkgdiff segv's but that is not reported by the
fedabipkgdiff script:

$ fedabipkgdiff --self-compare -a --from fc36 golang-sigs-k8s-kustomize
Comparing the ABI of binaries between
golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm and
golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm:


Comparing the ABI of binaries between
golang-sigs-k8s-kustomize-4.0.3-2.fc36.armv7hl.rpm and
golang-sigs-k8s-kustomize-4.0.3-2.fc36.armv7hl.rpm:


Comparing the ABI of binaries between
golang-sigs-k8s-kustomize-4.0.3-2.fc36.i686.rpm and
golang-sigs-k8s-kustomize-4.0.3-2.fc36.i686.rpm:


Comparing the ABI of binaries between
golang-sigs-k8s-kustomize-4.0.3-2.fc36.ppc64le.rpm and
golang-sigs-k8s-kustomize-4.0.3-2.fc36.ppc64le.rpm:


Comparing the ABI of binaries between
golang-sigs-k8s-kustomize-4.0.3-2.fc36.s390x.rpm and
golang-sigs-k8s-kustomize-4.0.3-2.fc36.s390x.rpm:


Comparing the ABI of binaries between
golang-sigs-k8s-kustomize-4.0.3-2.fc36.x86_64.rpm and
golang-sigs-k8s-kustomize-4.0.3-2.fc36.x86_64.rpm:

----
Digging a bit closer we can see:

$  fedabipkgdiff --dry-run --self-compare -a --from fc36
golang-sigs-k8s-kustomize
DRY-RUN: abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginfo-4.0.3-2.fc36.aarch64.rpm
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm
DRY-RUN: abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginfo-4.0.3-2.fc36.armv7hl.rpm
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.fc36.armv7hl.rpm
DRY-RUN: abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginfo-4.0.3-2.fc36.i686.rpm
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.fc36.i686.rpm
DRY-RUN: abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginfo-4.0.3-2.fc36.ppc64le.rpm
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.fc36.ppc64le.rpm
DRY-RUN: abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginfo-4.0.3-2.fc36.s390x.rpm
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.fc36.s390x.rpm
DRY-RUN: abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginfo-4.0.3-2.fc36.x86_64.rpm
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.fc36.x86_64.rpm
bad operand type for abs(): 'NoneType'

Then:
$ abipkgdiff --self-check  --d1
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-debuginfo-4.0.3-2.fc36.aarch64.rpm
/home/ben/.cache/fedabipkgdiff/downloads/golang-sigs-k8s-kustomize-4.0.3-2.fc36.aarch64.rpm
Segmentation fault (core dumped)

Which is a different bug. It should report that abipkgdiff segv'd

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

                 reply	other threads:[~2022-07-28 21:13 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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