public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "tromey at redhat dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug symtab/11199] crash in quirk_gcc_member_function_pointer (dwarf2read.c) Date: Thu, 21 Jan 2010 21:25:00 -0000 [thread overview] Message-ID: <20100121212557.7223.qmail@sourceware.org> (raw) In-Reply-To: <20100120201357.11199.keiths@redhat.com> ------- Additional Comments From tromey at redhat dot com 2010-01-21 21:25 ------- On F11, a simpler reproducer: gdb -readnow /usr/lib/debug/usr/lib/libmathview_frontend_libxml2.so.0.8.0.debug The problem is that we somehow get a recursive call to quirk_gcc_member_function_pointer. The inner call crashes because it find the type of __pfn, but the function type's first argument does not yet have a type. I was unable to make a simpler test case :( The only fix I can think of is pretty ugly: change read_structure_type to smash the resulting type to a pointer-to-member type after the fact. That is, don't call the quirk function until the structure type has been made. -- What |Removed |Added ---------------------------------------------------------------------------- CC| |tromey at redhat dot com Status|UNCONFIRMED |NEW Ever Confirmed| |1 Last reconfirmed|0000-00-00 00:00:00 |2010-01-21 21:25:57 date| | http://sourceware.org/bugzilla/show_bug.cgi?id=11199 ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
next prev parent reply other threads:[~2010-01-21 21:25 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2010-01-20 20:13 [Bug symtab/11199] New: " keiths at redhat dot com 2010-01-21 21:25 ` tromey at redhat dot com [this message] 2010-01-21 21:30 ` [Bug symtab/11199] " tromey at redhat dot com 2010-01-21 21:51 ` tromey at redhat dot com 2010-01-22 17:07 ` tromey at redhat dot com 2010-01-22 17:07 ` cvs-commit at gcc dot gnu 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=20100121212557.7223.qmail@sourceware.org \ --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).