Skip to content

CFE-4285: Fixed cf-agent assertion failure when reading /proc/<pid>/stat - #6374

Open
larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:getprocessstat-errno
Open

larsewi wants to merge 1 commit into
cfengine:masterfrom
larsewi:getprocessstat-errno

Conversation

@larsewi

@larsewi larsewi commented Oct 2, 2026

Copy link
Copy Markdown
Contributor

GetProcessStat() asserted on unexpected open() errors on /proc//stat, e.g. when the process exited in the meantime. Release builds would loop forever instead. Now logs the error and returns false.

Seen in the expireafter.cf acceptance test in the community-3.24.x nightly.

Generated with Claude Code

GetProcessStat() asserted on unexpected open() errors, e.g. when the
process exited in the meantime. Release builds would loop forever
instead. Now logs the error and returns false.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Ticket: CFE-4285
Changelog: Title
Signed-off-by: Lars Erik Wik <[email protected]>
@larsewi larsewi added the cherry-pick? Fixes which may need to be cherry-picked to LTS branches label Oct 5, 2026
@larsewi

larsewi commented Oct 5, 2026

Copy link
Copy Markdown
Contributor Author

@cf-bottom Jenkins please :)

@cf-bottom

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cherry-pick? Fixes which may need to be cherry-picked to LTS branches

Development

Successfully merging this pull request may close these issues.

3 participants