From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6BC0C385703D; Fri, 7 Jul 2023 18:22:44 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6BC0C385703D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688754164; bh=KWMfvAtabJNC2/a9MoKQSBiSRRuAbyNbea5tpcAowFE=; h=From:To:Subject:Date:From; b=s1u1IvoUdEUqhys5U2laNURtHR0QzpTe6CJ/8IMGj4oOF0EOc7WE3DZwLTm4x9Q9i lM0ct6BAEAGk+CbPMLboWiP9iflX7gZ1N7lKKG5SkYT4JZP1bhfO78ucwd5x/SJWPT rrcloBRJVs1vxJ0u/9EkbZRICBFfPvzK00JrWZv8= From: "parkerdahn at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30622] New: symbol file: create_range_type: Assertion `TYPE_LENGTH (index_type) > 0' failed Date: Fri, 07 Jul 2023 18:22:43 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: gdb X-Bugzilla-Version: 12.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: parkerdahn at gmail dot com X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at sourceware dot org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://sourceware.org/bugzilla/show_bug.cgi?id=3D30622 Bug ID: 30622 Summary: symbol file: create_range_type: Assertion `TYPE_LENGTH (index_type) > 0' failed Product: gdb Version: 12.1 Status: UNCONFIRMED Severity: normal Priority: P2 Component: gdb Assignee: unassigned at sourceware dot org Reporter: parkerdahn at gmail dot com Target Milestone: --- Currently workout out of WSL using Qemu 8.0.2, connecting gdb 12.1 to it, a= nd if I provide the kernel file for symbols gdb crashes. I've tried several things but it always crashes when it tries to look up a memory address, from a search, a breakpoint, or if I continue and stop execution, whenever it stops it will crash However if I do not provide the file for symbols it does execute just fine > gdb-multiarch GNU gdb (Ubuntu 12.1-0ubuntu1~22.04) 12.1 Copyright (C) 2022 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: . Find the GDB manual and other documentation resources online at: . For help, type "help". Type "apropos word" to search for commands related to "word". (gdb) set architecture powerpc:common The target architecture is set to "powerpc:common". (gdb) set endian big The target is set to big endian. (gdb) file target.vxw Reading symbols from target.vxw... (gdb) target remote :1234 Remote debugging using :1234 0x00100000 in _sysInit () (gdb) b *0x106fa0 /build/gdb-ZgDh0V/gdb-12.1/gdb/gdbtypes.c:936: internal-error: create_range_type: Assertion `TYPE_LENGTH (index_type) > 0' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ----- Backtrace ----- 0x56111bf25197 ??? 0x56111c324464 ??? 0x56111c3246a0 ??? 0x56111c688c64 ??? 0x56111c052b33 ??? 0x56111c052ca0 ??? 0x56111c286662 ??? 0x56111c28b5b9 ??? 0x56111bfb1a2e ??? 0x56111bfb287b ??? 0x56111bfaf0aa ??? 0x56111c193868 ??? 0x56111c195e06 ??? 0x56111c29b675 ??? 0x56111c2b37e7 ??? 0x56111c2b3d48 ??? 0x56111c2b41e3 ??? 0x56111c0c05b3 ??? 0x56111c0c07b6 ??? 0x56111bf12d8c ??? 0x56111bf17b6e ??? 0x56111bf18105 ??? 0x56111bf5a774 ??? 0x56111c2ead94 ??? 0x56111c0286e4 ??? 0x56111c028a83 ??? 0x56111c029206 ??? 0x7fed1dd8ae0d ??? 0x56111c0277d5 ??? 0x56111c0290b4 ??? 0x56111c0273cb ??? 0x56111c689395 ??? 0x56111c68982a ??? 0x56111c0f371c ??? 0x56111c0f5404 ??? 0x56111be4f0ef ??? 0x7fed1cd05d8f __libc_start_call_main ../sysdeps/nptl/libc_start_call_main.h:58 0x7fed1cd05e3f __libc_start_main_impl ../csu/libc-start.c:392 0x56111be54e24 ??? 0xffffffffffffffff ??? --------------------- /build/gdb-ZgDh0V/gdb-12.1/gdb/gdbtypes.c:936: internal-error: create_range_type: Assertion `TYPE_LENGTH (index_type) > 0' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n This is a bug, please report it. For instructions, see: . --=20 You are receiving this mail because: You are on the CC list for the bug.=