Skip to content

Protect process.pid() if it has exited#2405

Merged
plajjan merged 1 commit into
mainfrom
protect-process-pid
Aug 5, 2025
Merged

Protect process.pid() if it has exited#2405
plajjan merged 1 commit into
mainfrom
protect-process-pid

Conversation

@plajjan

@plajjan plajjan commented Aug 5, 2025

Copy link
Copy Markdown
Contributor

Similar to the signal methods, we now protect the accessing of the self->_p field since it might be invalid when the process has exited.

Fixes #2400

Similar to the signal methods, we now protect the accessing of the
self->_p field since it might be invalid when the process has exited.
@plajjan plajjan merged commit cd00d28 into main Aug 5, 2025
67 of 68 checks passed
@plajjan plajjan deleted the protect-process-pid branch August 5, 2025 20:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

process.Process.pid() might segfault!?

1 participant