public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "leandro at hardinfo dot org" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug corefiles/26289] New: Infinite loop in dwarf2_attr() Date: Thu, 23 Jul 2020 00:36:20 +0000 [thread overview] Message-ID: <bug-26289-4717@http.sourceware.org/bugzilla/> (raw) https://sourceware.org/bugzilla/show_bug.cgi?id=26289 Bug ID: 26289 Summary: Infinite loop in dwarf2_attr() Product: gdb Version: HEAD Status: UNCONFIRMED Severity: normal Priority: P2 Component: corefiles Assignee: unassigned at sourceware dot org Reporter: leandro at hardinfo dot org Target Milestone: --- Created attachment 12719 --> https://sourceware.org/bugzilla/attachment.cgi?id=12719&action=edit Patch (version 1) While debugging a program that dumped core (which I unfortunately can't share), GDB gets into an infinite loop inside dwarf2_attr() because the ``die'' returned by follow_die_ref() is the same one that was passed in. Attached is a patch that addresses this issue, but I'm not familiar with GDB or DWARF enough to reason about it, so feedback would be appreciated. -- You are receiving this mail because: You are on the CC list for the bug.
next reply other threads:[~2020-07-23 0:36 UTC|newest] Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top 2020-07-23 0:36 leandro at hardinfo dot org [this message] 2020-07-23 0:41 ` [Bug corefiles/26289] " leandro at hardinfo dot org 2020-07-23 8:34 ` andrew.burgess at embecosm dot com 2020-07-23 14:03 ` tromey at sourceware dot org 2023-03-29 14:14 ` [Bug symtab/26289] " tromey at sourceware dot org
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-26289-4717@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@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: linkBe 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).