public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/26863] New: GDB crash when opening PowerPC core on x86-64 machine
@ 2020-11-10 16:48 simark at simark dot ca
  2020-11-10 17:36 ` [Bug gdb/26863] " simark at simark dot ca
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: simark at simark dot ca @ 2020-11-10 16:48 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 26863
           Summary: GDB crash when opening PowerPC core on x86-64 machine
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: simark at simark dot ca
  Target Milestone: ---

Created attachment 12950
  --> https://sourceware.org/bugzilla/attachment.cgi?id=12950&action=edit
Executable + core

I generated a core on a PowerPC machine (gcc203), moved it to my local
development machine, and I see this crash using the attached files:

$ ./gdb -q -nx --data-directory=data-directory repro/var-access
repro/core.3710702
Reading symbols from repro/var-access...

warning: Can't open file
/home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.dwarf2/var-access/var-access
during file-backed mapping note processing

warning: Can't open file /lib/powerpc64-linux-gnu/libc-2.31.so during
file-backed mapping note processing

warning: Can't open file /lib/powerpc64-linux-gnu/ld-2.31.so during file-backed
mapping note processing

warning: core file may not match specified executable file.
[New LWP 3710702]

warning: Could not load shared library symbols for 2 libraries, e.g.
/lib/powerpc64-linux-gnu/libc.so.6.
Use the "info sharedlibrary" command to see the complete listing.
Do you need "set solib-search-path" or "set sysroot"?
Core was generated by
`/home/simark/build/binutils-gdb/gdb/testsuite/outputs/gdb.dwarf2/var-access/var-'.
Program terminated with signal SIGTRAP, Trace/breakpoint trap.
/home/simark/src/binutils-gdb/gdb/solib.c:1116:36: runtime error: reference
binding to null pointer of type 'struct vector'

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

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

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

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-11-10 16:48 [Bug gdb/26863] New: GDB crash when opening PowerPC core on x86-64 machine simark at simark dot ca
2020-11-10 17:36 ` [Bug gdb/26863] " simark at simark dot ca
2020-11-10 17:47 ` simark at simark dot ca
2020-11-10 21:06 ` tromey at sourceware dot org
2020-11-10 21:12 ` simark at simark dot ca

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