Assertion `idx >= 0 && idx < num_fields ()' failed.

Simon Marchi simark@simark.ca
Fri Nov 24 20:42:24 GMT 2023


On 11/24/23 11:30, Tom Tromey wrote:
>> I'm using the latest version:
>> ```
>> $ gdb --version
>> GNU gdb (GDB) 13.2
>> [...]
>> ```
> 
> I suspect this is https://sourceware.org/bugzilla/show_bug.cgi?id=29735
> which I believe is fixed for gdb 14.
> 
> Tom

You're right, I was able to reproduce and just finished bisecting it.

The other crash mentionned, when using tab-completion, is also fixed,
by this commit:

https://gitlab.com/gnutools/binutils-gdb/-/commit/6e7eef72164c00d6a5a7b0bce9fa01f5481f33cb

Simon


More information about the Gdb mailing list