Description of problem: GDB sometimes hits an internal-error while debugging Rust programs. Version-Release number of selected component (if applicable): gdb-13.1-1.fc37.x86_64 cargo-1.68.2-1.fc37.x86_64 rust-1.68.2-1.fc37.x86_64 How reproducible: fully Steps to Reproduce: 1. cargo new hello; cd hello 2. edit src/main.rs to the following: fn main() { std::thread::scope(|s| { s.spawn(|| { println!("Hello, world!"); std::process::abort(); }); }); } 3. cargo build 4. gdb -ex run -ex bt target/debug/hello Actual results: (gdb) bt ../../gdb/frame.c:2457: internal-error: inside_main_func: Assertion `block != nullptr' failed. A problem internal to GDB has been detected, further debugging may prove unreliable. Expected results: No internal-error :) Additional info: It works if I downgrade to gdb-12.1-4.fc37.x86_64 There is already an upstream fix queued for 13.2: https://sourceware.org/bugzilla/show_bug.cgi?id=30158
FEDORA-2023-9acb60a40e has been submitted as an update to Fedora 37. https://bodhi.fedoraproject.org/updates/FEDORA-2023-9acb60a40e
FEDORA-2023-85e813d1ac has been submitted as an update to Fedora 38. https://bodhi.fedoraproject.org/updates/FEDORA-2023-85e813d1ac
FEDORA-2023-85e813d1ac has been pushed to the Fedora 38 testing repository. You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-85e813d1ac See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-9acb60a40e has been pushed to the Fedora 37 testing repository. Soon you'll be able to install the update with the following command: `sudo dnf upgrade --enablerepo=updates-testing --refresh --advisory=FEDORA-2023-9acb60a40e` You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2023-9acb60a40e See also https://fedoraproject.org/wiki/QA:Updates_Testing for more information on how to test updates.
FEDORA-2023-85e813d1ac has been pushed to the Fedora 38 stable repository. If problem still persists, please make note of it in this bug report.
FEDORA-2023-9acb60a40e has been pushed to the Fedora 37 stable repository. If problem still persists, please make note of it in this bug report.