From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id B9A79385773C; Tue, 18 Jul 2023 15:51:55 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org B9A79385773C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689695515; bh=eduEBaWlzKttwMxa6pGyM3oEfvw6q+oEwrM9iF2KzOw=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jOrUyiIx39YgesvpZQr12PzzXpD5R0UU4LI3CEixM/eTFPsxrhXI6Z1FmC5bCA4pv 9Miap1j3WfiQ+ZrlOfhBnydcXQlTcYqL9dWna3Smc5NDpDbQACeaYPFcZDhi9lMObM XQQarJAbR6KIRaSZbxVYq0hmu7JhiPys5F6F+1wM= From: "parkerdahn at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug gdb/30622] symbol file: create_range_type: Assertion `TYPE_LENGTH (index_type) > 0' failed Date: Tue, 18 Jul 2023 15:51:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed 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: Message-ID: In-Reply-To: References: 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 --- Comment #2 from Parker Dahn --- I apologize for the delay, but I built gdb 13.2 and tried again, ignore the python issue gdb -x gdb.txt ./target.vxw Python Exception : No module named 'gdb' /home/user/gdb/build/gdb/gdb: warning: Could not load the Python gdb module from `/usr/local/share/gdb/python'. Limited Python support is available from the _gdb module. Suggest passing --data-directory=3D/path/to/gdb/data-directory. GNU gdb (GDB) 13.2 Copyright (C) 2023 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-pc-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"... Reading symbols from ./target.vxw... The target architecture is set to "powerpc:common". The target is set to big endian. Python Exception : Installation error: gdb._execute_unwinders function is missing 0x00100000 in _sysInit () (gdb) b *0x10bad8 ../../gdb-13.2/gdb/gdbtypes.c:939: internal-error: create_range_type: Asser= tion `index_type->length () > 0' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ----- Backtrace ----- 0x55a3d6f4edf3 gdb_internal_backtrace_1 ../../gdb-13.2/gdb/bt-utils.c:122 0x55a3d6f4eeb3 _Z22gdb_internal_backtracev ../../gdb-13.2/gdb/bt-utils.c:168 0x55a3d76d71fc internal_vproblem ../../gdb-13.2/gdb/utils.c:396 0x55a3d76d7683 _Z15internal_verrorPKciS0_P13__va_list_tag ../../gdb-13.2/gdb/utils.c:476 0x55a3d7eefa3c _Z18internal_error_locPKciS0_z ../../gdb-13.2/gdbsupport/errors.cc:58 0x55a3d71b0f75 _Z17create_range_typeP4typeS0_PK12dynamic_propS3_l ../../gdb-13.2/gdb/gdbtypes.c:939 0x55a3d71b1420 _Z24create_static_range_typeP4typeS0_ll ../../gdb-13.2/gdb/gdbtypes.c:1033 0x55a3d75d7d19 read_array_type ../../gdb-13.2/gdb/stabsread.c:3533 0x55a3d75d3bf0 read_type ../../gdb-13.2/gdb/stabsread.c:1991 0x55a3d75d1644 _Z13define_symbolmPKciiP7objfile ../../gdb-13.2/gdb/stabsread.c:1207 0x55a3d7053630 _Z18process_one_symboliimPKcRKSt6vectorImSaImEEP7objfile8language ../../gdb-13.2/gdb/dbxread.c:2842 0x55a3d70525b9 read_ofile_symtab ../../gdb-13.2/gdb/dbxread.c:2287 0x55a3d7051e20 dbx_expand_psymtab ../../gdb-13.2/gdb/dbxread.c:2137 0x55a3d7054e78 _ZN14legacy_psymtab14expand_psymtabEP7objfile ../../gdb-13.2/gdb/psympriv.h:430 0x55a3d7051fc6 dbx_read_symtab ../../gdb-13.2/gdb/dbxread.c:2167 0x55a3d7054e46 _ZN14legacy_psymtab11read_symtabEP7objfile ../../gdb-13.2/gdb/psympriv.h:425 0x55a3d740d0f3 psymtab_to_symtab ../../gdb-13.2/gdb/psymtab.c:528 0x55a3d740c31e _ZN17psymbol_functions28find_pc_sect_compunit_symtabEP7objfile20bound_minim= al_symbolmP11obj_sectioni ../../gdb-13.2/gdb/psymtab.c:209 0x55a3d75f4a4b _ZN7objfile28find_pc_sect_compunit_symtabE20bound_minimal_symbolmP11obj_sec= tioni ../../gdb-13.2/gdb/symfile-debug.c:447 0x55a3d761675f _Z28find_pc_sect_compunit_symtabmP11obj_section ../../gdb-13.2/gdb/symtab.c:2941 0x55a3d7616cbf _Z17find_pc_sect_linemP11obj_sectioni ../../gdb-13.2/gdb/symtab.c:3165 0x55a3d76172a6 _Z12find_pc_linemi ../../gdb-13.2/gdb/symtab.c:3303 0x55a3d726a88e convert_address_location_to_sals ../../gdb-13.2/gdb/linespec.c:2161 0x55a3d726d222 location_spec_to_sals ../../gdb-13.2/gdb/linespec.c:3095 0x55a3d726d5a2 _Z16decode_line_fullP13location_speciP13program_spaceP6symtabiP15linespec_r= esultPKcS8_ ../../gdb-13.2/gdb/linespec.c:3151 0x55a3d6f1ddac parse_breakpoint_sals ../../gdb-13.2/gdb/breakpoint.c:8683 0x55a3d6f2a7c4 create_sals_from_location_spec_default ../../gdb-13.2/gdb/breakpoint.c:12899 0x55a3d6f1eb53 _Z17create_breakpointP7gdbarchP13location_specPKciS4_bii6bptypei12auto_bool= eanPK14breakpoint_opsiiij ../../gdb-13.2/gdb/breakpoint.c:8970 0x55a3d6f1f632 break_command_1 ../../gdb-13.2/gdb/breakpoint.c:9154 0x55a3d6f1f93b _Z13break_commandPKci ../../gdb-13.2/gdb/breakpoint.c:9225 0x55a3d6fac09f do_simple_func ../../gdb-13.2/gdb/cli/cli-decode.c:95 0x55a3d6fb1b98 _Z8cmd_funcP16cmd_list_elementPKci ../../gdb-13.2/gdb/cli/cli-decode.c:2543 0x55a3d767b7d6 _Z15execute_commandPKci ../../gdb-13.2/gdb/top.c:690 0x55a3d715d3ce _Z15command_handlerPKc ../../gdb-13.2/gdb/event-top.c:616 0x55a3d715d97f _Z20command_line_handlerOSt10unique_ptrIcN3gdb13xfree_deleterIcEEE ../../gdb-13.2/gdb/event-top.c:852 0x55a3d76a9b64 tui_command_line_handler ../../gdb-13.2/gdb/tui/tui-interp.c:104 0x55a3d715ca2f gdb_rl_callback_handler ../../gdb-13.2/gdb/event-top.c:246 0x55a3d7768273 rl_callback_read_char ../../../gdb-13.2/readline/readline/callback.c:290 0x55a3d715c809 gdb_rl_callback_read_char_wrapper_noexcept ../../gdb-13.2/gdb/event-top.c:188 0x55a3d715c8e6 gdb_rl_callback_read_char_wrapper ../../gdb-13.2/gdb/event-top.c:221 0x55a3d715d1b0 stdin_event_handler ../../gdb-13.2/gdb/event-top.c:541 0x55a3d7ef09cc handle_file_event ../../gdb-13.2/gdbsupport/event-loop.cc:573 0x55a3d7ef0fbc gdb_wait_for_event ../../gdb-13.2/gdbsupport/event-loop.cc:694 0x55a3d7eefd5b _Z16gdb_do_one_eventi ../../gdb-13.2/gdbsupport/event-loop.cc:264 0x55a3d72dc362 start_event_loop ../../gdb-13.2/gdb/main.c:411 0x55a3d72dc4b5 captured_command_loop ../../gdb-13.2/gdb/main.c:471 0x55a3d72ddfc3 captured_main ../../gdb-13.2/gdb/main.c:1330 0x55a3d72de035 _Z8gdb_mainP18captured_main_args ../../gdb-13.2/gdb/main.c:1345 0x55a3d6db0685 main ../../gdb-13.2/gdb/gdb.c:32 --------------------- ../../gdb-13.2/gdb/gdbtypes.c:939: internal-error: create_range_type: Asser= tion `index_type->length () > 0' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) What is the "bad" debug info I am looking for --=20 You are receiving this mail because: You are on the CC list for the bug.=