public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/26003] New: infinite loop loading symbols from separate debug objfile
@ 2020-05-17 15:52 brobecker at gnat dot com
2020-05-17 15:59 ` [Bug symtab/26003] " cvs-commit at gcc dot gnu.org
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: brobecker at gnat dot com @ 2020-05-17 15:52 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26003
Bug ID: 26003
Summary: infinite loop loading symbols from separate debug
objfile
Product: gdb
Version: 9.1
Status: NEW
Severity: normal
Priority: P2
Component: symtab
Assignee: unassigned at sourceware dot org
Reporter: brobecker at gnat dot com
Target Milestone: ---
This is to record an issue which was fixed in master on Apr 10th, 2020:
https://sourceware.org/pipermail/gdb-patches/2020-April/167305.html
<<
Sometimes, get_msymbol_address can cause infinite recursion, leading
to a crash. This was reported previously here:
https://sourceware.org/pipermail/gdb-patches/2019-November/162154.html
A user on irc reported this as well, and with his help and the help of
a friend of his, we found that the problem occurred because, when
reloading a separate debug objfile, the objfile would lose the
OBJF_MAINLINE flag. This would cause some symbols from this separate
debug objfile to be marked "maybe_copied" -- but then
get_msymbol_address could find the same symbol and fail as reported.
>>
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug symtab/26003] infinite loop loading symbols from separate debug objfile
2020-05-17 15:52 [Bug symtab/26003] New: infinite loop loading symbols from separate debug objfile brobecker at gnat dot com
@ 2020-05-17 15:59 ` cvs-commit at gcc dot gnu.org
2020-05-17 16:40 ` brobecker at gnat dot com
2020-05-17 16:41 ` brobecker at gnat dot com
2 siblings, 0 replies; 4+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2020-05-17 15:59 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26003
--- Comment #1 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
The gdb-9-branch branch has been updated by Joel Brobecker
<brobecke@sourceware.org>:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=9502fa5ea9e01670852466249025bc126de9945c
commit 9502fa5ea9e01670852466249025bc126de9945c
Author: Joel Brobecker <brobecker@adacore.com>
Date: Sun May 17 08:57:06 2020 -0700
gdb/ChangeLog: Add PR number to the latest entry
This adds the PR number to the following gdb/ChangeLog entry:
2020-05-17 Tom Tromey <tromey@adacore.com>
Pushed by Joel Brobecker <brobecker@adacore.com>
PR symtab/26003
* symfile.c (symbol_file_add_separate): Preserve OBJF_MAINLINE.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug symtab/26003] infinite loop loading symbols from separate debug objfile
2020-05-17 15:52 [Bug symtab/26003] New: infinite loop loading symbols from separate debug objfile brobecker at gnat dot com
2020-05-17 15:59 ` [Bug symtab/26003] " cvs-commit at gcc dot gnu.org
@ 2020-05-17 16:40 ` brobecker at gnat dot com
2020-05-17 16:41 ` brobecker at gnat dot com
2 siblings, 0 replies; 4+ messages in thread
From: brobecker at gnat dot com @ 2020-05-17 16:40 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26003
Joel Brobecker <brobecker at gnat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Joel Brobecker <brobecker at gnat dot com> ---
patch backported
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [Bug symtab/26003] infinite loop loading symbols from separate debug objfile
2020-05-17 15:52 [Bug symtab/26003] New: infinite loop loading symbols from separate debug objfile brobecker at gnat dot com
2020-05-17 15:59 ` [Bug symtab/26003] " cvs-commit at gcc dot gnu.org
2020-05-17 16:40 ` brobecker at gnat dot com
@ 2020-05-17 16:41 ` brobecker at gnat dot com
2 siblings, 0 replies; 4+ messages in thread
From: brobecker at gnat dot com @ 2020-05-17 16:41 UTC (permalink / raw)
To: gdb-prs
https://sourceware.org/bugzilla/show_bug.cgi?id=26003
Joel Brobecker <brobecker at gnat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |9.2
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2020-05-17 16:41 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-17 15:52 [Bug symtab/26003] New: infinite loop loading symbols from separate debug objfile brobecker at gnat dot com
2020-05-17 15:59 ` [Bug symtab/26003] " cvs-commit at gcc dot gnu.org
2020-05-17 16:40 ` brobecker at gnat dot com
2020-05-17 16:41 ` brobecker at gnat dot com
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).