From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 252F3384BC11; Thu, 27 Aug 2020 07:26:59 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 252F3384BC11 From: "vries at gcc dot gnu.org" To: gdb-prs@sourceware.org Subject: [Bug breakpoints/26544] New: linespec.c:3233: internal-error: void decode_line_full (): Assertion `result.size () == 1 || canonical->pre_expanded' failed. Date: Thu, 27 Aug 2020 07:26:58 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: breakpoints 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 attachments.created 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 X-BeenThere: gdb-prs@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gdb-prs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Aug 2020 07:26:59 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D26544 Bug ID: 26544 Summary: linespec.c:3233: internal-error: void decode_line_full (): Assertion `result.size () =3D=3D 1 || canonical->pre_expanded' failed. Product: gdb Version: HEAD Status: NEW Severity: normal Priority: P2 Component: breakpoints Assignee: unassigned at sourceware dot org Reporter: vries at gcc dot gnu.org Target Milestone: --- Created attachment 12805 --> https://sourceware.org/bugzilla/attachment.cgi?id=3D12805&action=3Ded= it patch to make test-case trigger internal-error [ Looks like a duplicate of PR25067. ] Using the attached patch on test-case gdb.base/eh_return.exp, we run into: ... (gdb) break eh2:here^M src/gdb/linespec.c:3233: internal-error: void decode_line_full(const event_location*, int, program_space*, symtab*, int, linespec_result*, const char*, const char*): Assertion `result.size () =3D=3D 1 || canonical->pre_e= xpanded' failed.^M A problem internal to GDB has been detected,^M further debugging may prove unreliable.^M ... Also reproduces if we first run to eh2: ... $ gdb \ outputs/gdb.base/eh_return/eh_return \ -batch \ -ex "b eh2" \ -ex run \ -ex "b here" Breakpoint 1 at 0x4006af: file eh_return.c, line 52. Breakpoint 1, eh2 (p=3D0x40071c ) at eh_return.c:52 52 eh2a (val, val, val, val, val, val, val, val, p); linespec.c:3233: internal-error: void decode_line_full(const event_location= *, int, program_space*, symtab*, int, linespec_result*, const char*, const cha= r*): Assertion `result.size () =3D=3D 1 || canonical->pre_expanded' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. ... --=20 You are receiving this mail because: You are on the CC list for the bug.=