This is the mail archive of the
gdb-prs@sourceware.org
mailing list for the GDB project.
[Bug exp/20630] New: gdb crash from TYPE_OBJFILE_OWNED
- From: "tromey at sourceware dot org" <sourceware-bugzilla at sourceware dot org>
- To: gdb-prs at sourceware dot org
- Date: Fri, 23 Sep 2016 14:11:55 +0000
- Subject: [Bug exp/20630] New: gdb crash from TYPE_OBJFILE_OWNED
- Auto-submitted: auto-generated
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.