From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6187F385023D; Sat, 18 Mar 2023 15:22:20 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6187F385023D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1679152940; bh=ao8+N35pQeyCh/YWcvH0ozAelf5L6puDK3ZeRmbKZps=; h=From:To:Subject:Date:In-Reply-To:References:From; b=HX6kbs8mTwwdkgl7gIWHUorgtgR4gf7rZxRENY0NhrqWqdrIMvIiKwXVlB1WjD7sL Up2MpKGtWyDK1Udp+rXXf4PuqmnqnNX5Q6187hIUMbG2HksnaTu06rUnjtPTJ2NmXx Qi0UyeAjyZX8ep4L0mNREK43lsn2V4K0h8/h9sQc= From: "tromey at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug rust/30211] Crash on tab completing while debugging rust program Date: Sat, 18 Mar 2023 15:22:19 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: rust X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: tromey at sourceware dot 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: everconfirmed cc bug_status cf_reconfirmed_on 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=3D30211 Tom Tromey changed: What |Removed |Added ---------------------------------------------------------------------------- Ever confirmed|0 |1 CC| |tromey at sourceware dot o= rg Status|UNCONFIRMED |NEW Last reconfirmed| |2023-03-18 --- Comment #2 from Tom Tromey --- Confirmed. I'm not totally sure what the bug is but the immediate issue is violating a string contract. completer.h: m_finished_storage.append (prev, range.first); (top-gdb) print prev $16 =3D 0x7fffc4002f67 "is_contained_in::hf6f1247c1a3fce69" (top-gdb) print range.first $17 =3D 0x7fffc4002f40 "<&str as core::str::pattern::Pattern>::is_contained_in::hf6f1247c1a3fce69" That is, gdb is trying to append a range where the starting iterator comes after the ending iterator. --=20 You are receiving this mail because: You are on the CC list for the bug.=