public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug symtab/26933] New: [gdb/symtab] Too many: "warning: (Internal error: pc $hex in read in psymtab, but not in symtab.)"
@ 2020-11-23 11:29 vries at gcc dot gnu.org
  2020-11-24 12:43 ` [Bug symtab/26933] " vries at gcc dot gnu.org
  0 siblings, 1 reply; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-23 11:29 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26933
           Summary: [gdb/symtab] Too many: "warning: (Internal error: pc
                    $hex in read in psymtab, but not in symtab.)"
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: minor
          Priority: P2
         Component: symtab
          Assignee: unassigned at sourceware dot org
          Reporter: vries at gcc dot gnu.org
  Target Milestone: ---

While porting the openSUSE gdb package to 10.1, I ran into:
...
Running
/home/abuild/rpmbuild/BUILD/gdb-10.1/gdb/testsuite/gdb.base/morestack.exp ...
PASS: gdb.base/morestack.exp: continue
ERROR: internal buffer is full.
UNRESOLVED: gdb.base/morestack.exp: up 3000
...
for unix/-m32/-fPIE/-pie.

In more detail:
...
(gdb) PASS: gdb.base/morestack.exp: continue
up 3000^M
warning: (Internal error: pc 0x56555dc8 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555dc9 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555dc9 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555d62 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555dc8 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555dc8 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555dc8 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555dc8 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555dc9 in read in psymtab, but not in
symtab.)^M
  ...
warning: (Internal error: pc 0x56555dc9 in read in psymtab, but not in
symtab.)^M
^M
warning: (Internal error: pc 0x56555d62 in read in psymtab, but not in
symtab.)^M
^M
waERROR: internal buffer is full.
UNRESOLVED: gdb.base/morestack.exp: up 3000
...

This doesn't reproduce for a normal master build, so I think this is fixed.

But:
- the wording is strange: is it a warning or internal error?
- flooding the user with warnings like this is not helpful either

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* [Bug symtab/26933] [gdb/symtab] Too many: "warning: (Internal error: pc $hex in read in psymtab, but not in symtab.)"
  2020-11-23 11:29 [Bug symtab/26933] New: [gdb/symtab] Too many: "warning: (Internal error: pc $hex in read in psymtab, but not in symtab.)" vries at gcc dot gnu.org
@ 2020-11-24 12:43 ` vries at gcc dot gnu.org
  0 siblings, 0 replies; 2+ messages in thread
From: vries at gcc dot gnu.org @ 2020-11-24 12:43 UTC (permalink / raw)
  To: gdb-prs

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

--- Comment #1 from Tom de Vries <vries at gcc dot gnu.org> ---
(In reply to Tom de Vries from comment #0)
> 
> This doesn't reproduce for a normal master build, so I think this is fixed.

Actually, no.

The test-case is passing, but the warnings are there, just not in the amount to
trigger ERROR/UNRESOLVED.

Filed PR26935 - "[gdb/testsuite] Using gold in gdb.base/morestack.exp causes
incorrect debug info" for the actual problem that makes the warning trigger.

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-11-24 12:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-23 11:29 [Bug symtab/26933] New: [gdb/symtab] Too many: "warning: (Internal error: pc $hex in read in psymtab, but not in symtab.)" vries at gcc dot gnu.org
2020-11-24 12:43 ` [Bug symtab/26933] " vries at gcc dot gnu.org

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).