Re: GDB 15/16 crashing in add_thread_silent()
Tom Tromey <[email protected]> Fri, 14 Nov 2025 13:13:35 -0700
| Newsgroups | gmane.comp.gdb.devel |
|---|---|
| Message-ID | <[email protected]> |
>>>>> "Simon" == Simon Marchi via Gdb <[email protected]> writes: >> Earlier if the PID couldn't be found then pid is set to CORELOW_PID >> anyway, so this works and prevents the crash (although, I think GDB >> should check for the nullptr return and do _something_ non-crashy... >> maybe?) Simon> I agree that part seems clearly buggy, but I don't think you should Simon> focus on that. The problem has already happened earlier in the Simon> execution. See this thread as well https://inbox.sourceware.org/gdb-patches/[email protected]/ I wonder if the fix (assuming it arrives) should be in GDB 17. Tom