Skip to content

process: Adds logs to the timeout timers that terminate processes#5367

Open
g-ortuno wants to merge 2 commits into
masterfrom
new-process-logs
Open

process: Adds logs to the timeout timers that terminate processes#5367
g-ortuno wants to merge 2 commits into
masterfrom
new-process-logs

Conversation

@g-ortuno

Copy link
Copy Markdown
Collaborator

In https://crbug.com/529865766, we are seeing that corpus files are being deleted after the fuzzing round finishes and during corpus merging. We suspect the FuzzTest wrapper is being sent a SIGTERM signal which doesn't properly propagate to the underlying binary, which continue to fuzz.

This PR changes new_process.py to log when we send SIGTERM and SIGKILL after a timeout.

@g-ortuno
g-ortuno marked this pull request as ready for review July 15, 2026 21:03
@g-ortuno
g-ortuno requested a review from a team as a code owner July 15, 2026 21:03
@g-ortuno
g-ortuno requested a review from dylanjew July 15, 2026 21:03
@g-ortuno

Copy link
Copy Markdown
Collaborator Author

dylanj: PTAL!

result = ProcessResult()
is_windows = environment.platform() == 'WINDOWS'

def create_timeout_timer(interval, function, args):

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: is this the standard API for Timers? It might be helpful to add the list of Args to the create_timeout_timer docstring

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.

2 participants