From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from tardis.lost-in-space.net (tardis.lost-in-space.net [5.226.144.243]) by sourceware.org (Postfix) with ESMTPS id A62D13858D33 for ; Thu, 23 Nov 2023 12:11:28 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org A62D13858D33 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=simon-woerner.de Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=simon-woerner.de ARC-Filter: OpenARC Filter v1.0.0 sourceware.org A62D13858D33 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=5.226.144.243 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700741490; cv=none; b=dvvzi3ex1MplXveO64XPgOkwNdZsoHfcuS7COYoqJv18RBD/HyeBGBEvctlLttO0B/toc2LvCr7oXhPsmKYRb+LVgwrM9aUPy0tulWrVGxj7IM9FXQzXSGzOxfIjM2Aen7wW+prj7not7TLaARCf8oNpSoJ4bF1UwvjWlgy0tKs= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1700741490; c=relaxed/simple; bh=WyCm9agnbuTFlhPZbo30LJZRwaq1P93eolOelyC5nxM=; h=MIME-Version:Date:From:Message-ID:Subject:To; b=eZNsTDoBLg2eymvMnUg5+MV13MJCI4z+l6cvBelcLqubcVK1jMnNPsxwZBhbzIkx/0GIpcSy7JLHYXzce0H1TCGhK0lC4Wd5LxMWhC9/EqbbIy7kNAJK5zg4Lfbc9vmsfw5snHXjDWZ8aZ+GueaiiutQLu1RAH5Lx9Mi9o6XZl0= ARC-Authentication-Results: i=1; server2.sourceware.org Received: from webmail.brief.guru (brief.guru [2a00:6340:2010:8000:d3::1]) by tardis (OpenSMTPD) with ESMTPSA id 16ebfef6 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Thu, 23 Nov 2023 12:11:15 +0000 (UTC) MIME-Version: 1.0 Date: Thu, 23 Nov 2023 12:11:15 +0000 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable From: mail@simon-woerner.de Message-ID: <6bb25fe17c7001ba7398799ed421a9add5b98145@simon-woerner.de> TLS-Required: No Subject: Re: Assertion `idx >= 0 && idx < num_fields ()' failed. To: "Tom Tromey" Cc: gdb@sourceware.org In-Reply-To: <87wmu9hhu5.fsf@tromey.com> References: <87wmu9hhu5.fsf@tromey.com> <77df76a0525202bbbad9520a0467a5075efbd12c@brn.li> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: > Which gdb are you using? I wonder if the problem has already been > fixed. I'm using the latest version: ``` $ gdb --version GNU gdb (GDB) 13.2 [...] ``` The only commit mentioning the assert is from two years ago: https://sourceware.org/git/?p=3Dbinutils-gdb.git;a=3Dcommit;h=3Daf5300fe2= 4bf2f4e032d639a5396a16c1762b77b > I think if you try to make an account, it will give you instructions on > where to send email to get one made for you. If I have to jump so many hops to make a simple bug report I might as wel= l not do it. The ancient project management of GDB is already hard enough. Regards, Simon W=C3=B6rner November 22, 2023 at 17:29, "Tom Tromey" wrote: >=20 >=20>=20 >=20> sourceware org writes: > >=20 >=20> When debugging QEMU with a breakpoint at `cpu_handle_exception` GD= B crashes: > > ``` > > hit Breakpoint 1, cpu_handle_exception (cpu=3D0x5555573a2e00, ret=3D= 0x7fffffff99a4) at ../qemu-7.1.0/accel/tcg/cpu-exec.c:647 > > 647 if (cpu->exception_index < 0) { > > ../../gdb/gdbtypes.h:985: internal-error: field: Assertion `idx >=3D= 0 && idx < num_fields ()' failed. > > A problem internal to GDB has been detected, > > further debugging may prove unreliable. > >=20 >=20 > Which gdb are you using? I wonder if the problem has already been > fixed. >=20 >=20>=20 >=20> If you like me to submit bugs using your issue tracker you should m= ake > > it accessible and allow account registration. > >=20 >=20 > I think if you try to make an account, it will give you instructions on > where to send email to get one made for you. >=20 >=20Direct account creation had to be disabled due to spam. >=20 >=20Tom >