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/26941] abidiff assert in build_or_get_type_decl when comparing a library to itself
Date: Mon, 30 Nov 2020 23:34:42 +0000	[thread overview]
Message-ID: <bug-26941-9487-xF3qHTC2Sr@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-26941-9487@http.sourceware.org/bugzilla/>

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

--- Comment #4 from Ben Woodard <woodard at redhat dot com> ---
Just to illuminate how I test this:

I have debuginfod running and have downloaded all the debuginfo packages for
fedora33. My configuration file is included. The basic idea is that I have a
directory called /data/debug which I added to the default directories that I
tell debuginfod to look into. To keep this up to date I also have a script
called 
freshen-debuginfo.sh which does a reposync of the directories to keep them up
to date. I generally run this before a test run.

I have also downloaded flux-core https://github.com/flux-framework/flux-core
and built that in my environment. I setup my path to my installation of flux
and a current build of libabigail and then run "flux start". I will include
these in the reproducer package as well. But you will need to adjust your paths
as well.

flux start launches a nested shell from which I can run many flux jobs. I have
a script that launches all of those jobs called "flux-abidw.sh". Running that
launches all the jobs and queues them up to be run sequentially as processors
are available.

You can see how many jobs failed by simply running "flux jobs -f failed". On my
system a 6 core i7-8700 running at 3.2GHz it takes about an hour for all the
jobs to complete. However, all but a couple of them are done within about 10
min.

To get the backtraces I have a bunch of other scripts which gather the
backtraces for me. To kick off gathering the backtraces there is a script which
is ./flux-gen-bts-abidw.sh which uses the other scripts ./flux-pull-fails-2.sh
gather-bt-abidw.sh to do the work. What you are left with is a list of files
ending in .bt

Then I pick one of them and look at the line causing the failure and then see
how often it is amongst the backtraces. In this case I looked at 
$ cat libTKBool.so.7.4.0.bt
$ grep -l abg-reader.cc:1287 *.bt | wc -l
105

Then I ran a another program called "all-with.sh" which generated the list I
attached to the commebnt 3.

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

  parent reply	other threads:[~2020-11-30 23:34 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-25  0:03 [Bug default/26941] New: " woodard at redhat dot com
2020-11-25  8:41 ` [Bug default/26941] " dodji at redhat dot com
2020-11-30 22:47 ` woodard at redhat dot com
2020-11-30 22:49 ` woodard at redhat dot com
2020-11-30 23:34 ` woodard at redhat dot com [this message]
2020-11-30 23:35 ` woodard at redhat dot com
2020-12-01 14:56 ` woodard 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-26941-9487-xF3qHTC2Sr@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).