public inbox for gdb-prs@sourceware.org help / color / mirror / Atom feed
From: "chris_douglas_email at yahoo dot com" <sourceware-bugzilla@sourceware.org> To: gdb-prs@sourceware.org Subject: [Bug gdb/31152] Formalise unintened functionality in version 9.1 Date: Sun, 31 Dec 2023 20:32:00 +0000 [thread overview] Message-ID: <bug-31152-4717-xeGTxmWhGf@http.sourceware.org/bugzilla/> (raw) In-Reply-To: <bug-31152-4717@http.sourceware.org/bugzilla/> https://sourceware.org/bugzilla/show_bug.cgi?id=31152 --- Comment #7 from stephen douglas <chris_douglas_email at yahoo dot com> --- Created attachment 15275 --> https://sourceware.org/bugzilla/attachment.cgi?id=15275&action=edit Unified difference file to detect cause of segment trap in event-loop.cc This will error before the segment trap I encountered in event-loop.cc and would have provided me with enough information to prevent it. I have always used gbd from a cli on the target so don't know if this will prevent a segment trap if run/gdbserver combination is being used. If you want to understand, the online manual https://man7.org/linux/man-pages/man2/select.2.html explains under the heading BUGS. The file descriptor limitation is in glibc, not the kernel. If the kernel has not been "tampered with" the condition can not occur. As stated earlier, my usage is unusual and uncommon. There are other occurances of the 3 macros that can cause a memmory access outside fd_set with a "problematic" file descriptor. The macro FD_ZERO uses FD_SETSIZE so can not access outside fd_set. -- You are receiving this mail because: You are on the CC list for the bug.
next prev parent reply other threads:[~2023-12-31 20:32 UTC|newest] Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top 2023-12-12 18:16 [Bug gdb/31152] New: " chris_douglas_email at yahoo dot com 2023-12-12 20:31 ` [Bug gdb/31152] " tromey at sourceware dot org 2023-12-12 20:31 ` tromey at sourceware dot org 2023-12-27 19:22 ` chris_douglas_email at yahoo dot com 2023-12-28 16:44 ` tromey at sourceware dot org 2023-12-30 20:12 ` chris_douglas_email at yahoo dot com 2023-12-30 22:34 ` tromey at sourceware dot org 2023-12-31 20:32 ` chris_douglas_email at yahoo dot com [this message] 2024-01-14 16:45 ` chris_douglas_email at yahoo dot com
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-31152-4717-xeGTxmWhGf@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).