Created attachment 10035 [details] strace of the gdb session and eventual segfault A segfault occurs in `-data-list-register-values x` when stopped in a rust executable. See https://github.com/cs01/gdbgui/issues/64. This was confirmed by o11c and simark in the #gdb irc channel. MI transcript: -file-exec-and-symbols /home/chad/git/gdbgui/examples/rust.a\n-break-insert /home/chad/git/gdbgui/examples/hello.rs:15\n-exec-run\n-data-list-register-values x\n Rust source file: https://raw.githubusercontent.com/cs01/gdbgui/master/examples/hello.rs makefile: https://github.com/cs01/gdbgui/blob/master/examples/makefile The kernel log reports [ 4467.187888] gdb[13609]: segfault at 0 ip 00000000006489ed sp 00007ffc0a0ce260 error 4 in gdb[400000+617000] The bug was fixed in gdb's git repository, commit b96645f1a1e608 "Add support for untagged unions in Rust", but is present in version 7.12 and 7.12.1. Seems similar to a bug #8150, which is old and is likely not related since this occurs only on Rust executables.
*** Bug 21450 has been marked as a duplicate of this bug. ***
> The bug was fixed in gdb's git repository, commit b96645f1a1e608 "Add support for untagged unions in Rust", but is present in version 7.12 and 7.12.1. I think there won't be another 7.12.x release, so I'm closing this, since I understand it to be fixed for 8.0. If this is in error, please reopen, thanks.