From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4B05D3858C52; Mon, 3 Jul 2023 16:15:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4B05D3858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1688400950; bh=DFJlOFmN2STKSIoZT88OuUk0dRCiUfuYtYOD0qiPd/k=; h=From:To:Subject:Date:In-Reply-To:References:From; b=iRfOkJ9rCBtRTpYQ7ufbVqehEAEm1PW5rhp8XWAjszd+vCu0unhfePMmpqqQX71jC nTxl3Ukza6Z8iz/dGxdHctJoSP6RNfeqaceZp5QakQ1VJnhi7ha59pHuXFpcJnN6JX CrsKVWHag3qxJCN7nXNzIEct1FpOwb8sTwe6vFiA= From: "meator.dev at gmail dot com" To: gdb-prs@sourceware.org Subject: [Bug cli/30557] Exception after pressing tab to autocomplete in location_completer gdb/completer.c:766 Date: Mon, 03 Jul 2023 16:15:49 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: cli X-Bugzilla-Version: 13.1 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: meator.dev 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: cc 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=3D30557 meator changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meator.dev at gmail dot com --- Comment #1 from meator --- I have encountered the same issue. I am unfortunately not familiar with GDB internals but I will try to provide steps to reproduce this issue. I am running gdb 13.2 (which is higher than the version marked in this bug report). A visual showcase of this bug can be found here: https://asciinema.org/a/594536. I have created a Dockerfile which can reproduce the issue. It can be found here: https://drive.google.com/file/d/1fQIJ8gvEaiFLXRU1MLtlwn7YlEeTTNyq/view The file is uploaded via Google Drive. I can reupload this file somewhere e= lse if needed. The archive contains two things: the Dockerfile and copy of my unfinished project related to matrixes. The project is largely unrelated to the bug bu= t I was able to trigger it when creating a breakpoint in one of the classes contained in the project. You can look at the Dockerfile to reproduce the issue manually. My backtraces are similar to zwelf's, but it should be noted that gdb initi= ally fails with this error message: terminate called after throwing an instance of 'std::length_error' what(): basic_string::_M_replace My backtraces are here: https://drive.google.com/file/d/1t3yZKfkRwO-knn4Ndu7KtMI0-kUskAye/view --=20 You are receiving this mail because: You are on the CC list for the bug.=