From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id E0ED43858D20; Thu, 10 Aug 2023 10:01:33 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org E0ED43858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1691661693; bh=NgOWHigx2R1Z+i1KxJBz96E2nj3cBYtZbq82ayUWTCw=; h=From:To:Subject:Date:From; b=do53xG9+KsimttvjRsa1+ZNUQVGf2BXPQK6l2023jbp19RLYhqU8bi3eNA14Ap3sI WNwkIpE/xUiLU6C9YtTFkg2f6orMdPcHqNYek6miPV59VWCswSl+f3pw1zqQ7Q1tD/ NEzLsX91hioP1OA2p0t5sG6YU+K+3JHOZllrfUHk= From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug symtab/30741] New: [gdb/symtab, cc-with-debug-names] gdb/dwarf2/index-write.c:1305: internal-error: write_debug_names: Assertion `counter == per_bfd->all_units.size ()' failed. Date: Thu, 10 Aug 2023 10:01:33 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: symtab X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: vries at gcc dot gnu.org X-Bugzilla-Status: NEW 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=3D30741 Bug ID: 30741 Summary: [gdb/symtab, cc-with-debug-names] gdb/dwarf2/index-write.c:1305: internal-error: write_debug_names: Assertion `counter =3D=3D per_bfd->all_units.size ()' failed. Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: symtab Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- When running test-case gdb.dwarf2/pr13961.exp with target-board cc-with-debug-names, I run into: ... Running /data/vries/gdb/src/gdb/testsuite/gdb.dwarf2/pr13961.exp ... gdb compile failed, /data/vries/gdb/src/gdb/dwarf2/index-write.c:1305: internal-error: write_debug_names: Assertion `counter =3D=3D per_bfd->all_units.size ()' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ----- Backtrace ----- 0x59f3a4 gdb_internal_backtrace_1 /data/vries/gdb/src/gdb/bt-utils.c:122 0x59f447 _Z22gdb_internal_backtracev /data/vries/gdb/src/gdb/bt-utils.c:168 0xd06ae4 internal_vproblem /data/vries/gdb/src/gdb/utils.c:396 0xd06eb3 _Z15internal_verrorPKciS0_P13__va_list_tag /data/vries/gdb/src/gdb/utils.c:476 0x14a622a _Z18internal_error_locPKciS0_z /data/vries/gdb/src/gdbsupport/errors.cc:58 0x6d9e62 write_debug_names /data/vries/gdb/src/gdb/dwarf2/index-write.c:1305 0x6da547 _Z17write_dwarf_indexP14dwarf2_per_bfdPKcS2_S2_13dw_index_kind /data/vries/gdb/src/gdb/dwarf2/index-write.c:1463 0x6da87b save_gdb_index_command /data/vries/gdb/src/gdb/dwarf2/index-write.c:1524 0x5f7f5a do_simple_func /data/vries/gdb/src/gdb/cli/cli-decode.c:95 0x5fcf6e _Z8cmd_funcP16cmd_list_elementPKci /data/vries/gdb/src/gdb/cli/cli-decode.c:2735 0xc5fc93 _Z15execute_commandPKci /data/vries/gdb/src/gdb/top.c:575 0x91ad4a catch_command_errors /data/vries/gdb/src/gdb/main.c:518 0x91af56 execute_cmdargs /data/vries/gdb/src/gdb/main.c:617 0x91c280 captured_main_1 /data/vries/gdb/src/gdb/main.c:1289 0x91c483 captured_main /data/vries/gdb/src/gdb/main.c:1310 0x91c522 _Z8gdb_mainP18captured_main_args /data/vries/gdb/src/gdb/main.c:1339 0x419602 main /data/vries/gdb/src/gdb/gdb.c:39 ... --=20 You are receiving this mail because: You are on the CC list for the bug.=