public inbox for elfutils@sourceware.org
 help / color / mirror / Atom feed
From: "amerey at redhat dot com" <sourceware-bugzilla@sourceware.org>
To: elfutils-devel@sourceware.org
Subject: [Bug libdw/30980] offline.c:53: dwfl_offline_section_address: Assertion `mod->e_type == ET_REL' failed.
Date: Wed, 01 Nov 2023 23:36:31 +0000	[thread overview]
Message-ID: <bug-30980-10460-0pQ5gx4t61@http.sourceware.org/bugzilla/> (raw)
In-Reply-To: <bug-30980-10460@http.sourceware.org/bugzilla/>

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

Aaron Merey <amerey at redhat dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |amerey at redhat dot com
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|---                         |FIXED

--- Comment #5 from Aaron Merey <amerey at redhat dot com> ---
A workaround for this abort has been added in the following commit:

commit a34c5faad861efdd26d1c52b4f8d9d4077e03131
Author: Aaron Merey <amerey@redhat.com>
Date:   Wed Nov 1 16:15:16 2023 -0400

    dwfl_offline_section_address: replace asserts with early return

    dwfl_offline_section_address asserts that the current module is ET_REL.

    A possibly corrupt .gnu_debuglink can cause an abort by calling
    dwfl_offline_section_address on an ET_DYN module.

    Prevent this abort and similar ones by replacing
    dwfl_offline_section_address initial asserts with an early return.

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

    Signed-off-by: Aaron Merey <amerey@redhat.com>

If you are still having issues with this please reopen this bug.

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

  parent reply	other threads:[~2023-11-01 23:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-18 13:44 [Bug libdw/30980] New: " cebtenzzre at gmail dot com
2023-10-18 13:57 ` [Bug libdw/30980] " mark at klomp dot org
2023-10-18 14:01 ` mark at klomp dot org
2023-10-18 14:19 ` mark at klomp dot org
2023-10-18 14:26 ` mark at klomp dot org
2023-10-25  3:21 ` sam at gentoo dot org
2023-11-01 23:36 ` amerey at redhat dot com [this message]
2023-11-02 12:17 ` mark at klomp dot org
2023-11-02 13:44 ` amerey 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-30980-10460-0pQ5gx4t61@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=elfutils-devel@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).