This is the mail archive of the gdb-prs@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug exp/20630] New: gdb crash from TYPE_OBJFILE_OWNED


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

            Bug ID: 20630
           Summary: gdb crash from TYPE_OBJFILE_OWNED
           Product: gdb
           Version: HEAD
            Status: NEW
          Severity: normal
          Priority: P2
         Component: exp
          Assignee: unassigned at sourceware dot org
          Reporter: tromey at sourceware dot org
  Target Milestone: ---

I found a simple way to crash gdb:

$ /bin/gdb -nx /bin/gdb
(gdb) start
(gdb) p ({unsigned char[]}{0x17})
../../gdb/gdbtypes.c:4641: internal-error: copy_type: Assertion
`TYPE_OBJFILE_OWNED (type)' failed.
A problem internal to GDB has been detected,
further debugging may prove unreliable.
Quit this debugging session? (y or n)

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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]