public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "simon.marchi at polymtl dot ca" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug rust/29550] Segmentation fault in infrun.c Date: Wed, 07 Sep 2022 14:23:04 +0000 [thread overview] Message-ID: <bug-29550-4717-tcFu3Tgp3l@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-29550-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=29550 Simon Marchi <simon.marchi at polymtl dot ca> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |simon.marchi at polymtl dot ca --- Comment #1 from Simon Marchi <simon.marchi at polymtl dot ca> --- If you can provide a reproducer, I'd be interested to dig into it. The code is: for (inferior *inf : all_non_exited_inferiors ()) { process_stratum_target *proc_target = inf->process_target (); if (proc_target->commit_resumed_state) <-- segfaults here This means we have an inferior marked as not exited (inf->pid != 0), while having no process target. This is an invalid state. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2022-09-07 14:23 UTC|newest] Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top 2022-09-06 9:55 [Bug rust/29550] New: " eigelc at gmail dot com 2022-09-07 14:23 ` simon.marchi at polymtl dot ca [this message] 2022-09-08 8:31 ` [Bug rust/29550] " eigelc at gmail dot com 2022-09-08 15:29 ` simon.marchi at polymtl dot ca
Reply instructions: You may reply publicly to this message via plain-text email using any one of the following methods: * Save the following mbox file, import it into your mail client, and reply-to-all from there: mbox Avoid top-posting and favor interleaved quoting: https://en.wikipedia.org/wiki/Posting_style#Interleaved_style * Reply using the --to, --cc, and --in-reply-to switches of git-send-email(1): git send-email \ --in-reply-to=bug-29550-4717-tcFu3Tgp3l@http.sourceware.org/bugzilla/ \ --to=sourceware-bugzilla@sourceware.org \ --cc=gdb-prs@sourceware.org \ /path/to/YOUR_REPLY https://kernel.org/pub/software/scm/git/docs/git-send-email.html * If your mail client supports setting the In-Reply-To header via mailto: links, try the mailto: linkBe sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).