public inbox for gdb-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug gdb/30238] New: /build/gdb-ktlO15/gdb-9.2/gdb/gdbtypes.c:5126: internal-error: type* copy_type(const type*): Assertion `TYPE_OBJFILE_OWNED (type)' failed.
@ 2023-03-16 23:37 bioloidgp at gmail dot com
  2023-03-17  2:32 ` [Bug gdb/30238] " simark at simark dot ca
  2023-03-17 13:55 ` tromey at sourceware dot org
  0 siblings, 2 replies; 3+ messages in thread
From: bioloidgp at gmail dot com @ 2023-03-16 23:37 UTC (permalink / raw)
  To: gdb-prs

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

            Bug ID: 30238
           Summary: /build/gdb-ktlO15/gdb-9.2/gdb/gdbtypes.c:5126:
                    internal-error: type* copy_type(const type*):
                    Assertion `TYPE_OBJFILE_OWNED (type)' failed.
           Product: gdb
           Version: unknown
            Status: UNCONFIRMED
          Severity: minor
          Priority: P2
         Component: gdb
          Assignee: unassigned at sourceware dot org
          Reporter: bioloidgp at gmail dot com
  Target Milestone: ---

find 0x0,0x0 ,{long long[0x80000000]}"A"


tested on ubuntu20.04
gef➤  find 0x0,0x0 ,{long long[0x80000000]}"A"
/build/gdb-ktlO15/gdb-9.2/gdb/gdbtypes.c:5126: internal-error: type*
copy_type(const type*): Assertion `TYPE_OBJFILE_OWNED (type)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.

This is a bug, please report it.  For instructions, see:
<http://www.gnu.org/software/gdb/bugs/>.

[1]    230 abort (core dumped)  gdb ./a.out

tested on ubuntu22.04
pwndbg> find 0x0,0x0 ,{long long[0x80000000]}"A"
/build/gdb-ZgDh0V/gdb-12.1/gdb/gdbtypes.c:5684: internal-error: copy_type:
Assertion `type->is_objfile_owned ()' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
----- Backtrace -----
0x5649952c3077 ???
0x564995627a64 ???
0x564995627ca0 ???
0x5649957770e4 ???
0x5649953f32ab ???
0x5649953f6e1b ???
0x5649953f5e77 ???
0x5649953f69c7 ???
0x56499563eb5b ???
0x5649953bf827 ???
0x5649953bfb7d ???
0x5649953de19c ???
0x5649952f8654 ???
0x5649955ee394 ???
0x5649953c69a4 ???
0x5649953c6d43 ???
0x5649953c74c6 ???
0x7f79aa744e0d ???
0x5649953c5a95 ???
0x5649953c7374 ???
0x5649953c568b ???
0x564995777815 ???
0x564995777caa ???
0x56499548336c ???
0x564995485054 ???
0x56499521b15f ???
0x7f79a96bfd8f __libc_start_call_main
        ../sysdeps/nptl/libc_start_call_main.h:58
0x7f79a96bfe3f __libc_start_main_impl
        ../csu/libc-start.c:392
0x564995220bf4 ???
0xffffffffffffffff ???
---------------------

This is a bug, please report it.  For instructions, see:
<https://www.gnu.org/software/gdb/bugs/>.

[1]    174 IOT instruction  ./gdb ./a.out

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

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

end of thread, other threads:[~2023-03-17 13:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-03-16 23:37 [Bug gdb/30238] New: /build/gdb-ktlO15/gdb-9.2/gdb/gdbtypes.c:5126: internal-error: type* copy_type(const type*): Assertion `TYPE_OBJFILE_OWNED (type)' failed bioloidgp at gmail dot com
2023-03-17  2:32 ` [Bug gdb/30238] " simark at simark dot ca
2023-03-17 13:55 ` tromey at sourceware dot 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).