From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 718CE385840C; Sat, 19 Mar 2022 13:09:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 718CE385840C From: "ssbssa at sourceware dot org" To: gdb-prs@sourceware.org Subject: [Bug exp/28980] GDB crashes when using GDB/MI and python pretty printers in some cases Date: Sat, 19 Mar 2022 13:09:54 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gdb X-Bugzilla-Component: exp X-Bugzilla-Version: HEAD X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: ssbssa 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: 12.1 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: target_milestone 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 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: Sat, 19 Mar 2022 13:09:54 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D28980 Hannes Domani changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |12.1 --- Comment #1 from Hannes Domani --- Can be easily reproduced with python when copying an optimized-out value: (gdb) py print(gdb.Value(gdb.Value(5).type.optimized_out())) C:/src/repos/binutils-gdb.git/gdb/value.c:1731: internal-error: value* value_copy(value*): Assertion `arg->contents !=3D nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Quit this debugging session? (y or n) n --=20 You are receiving this mail because: You are on the CC list for the bug.=