Skip to content

ENT-14139: Fixed cf-agent SIGABRT on SIGTERM during early policy validation (3.24.x)#6145

Open
larsewi wants to merge 1 commit into
cfengine:3.24.xfrom
larsewi:sigabrt-3.24.x
Open

ENT-14139: Fixed cf-agent SIGABRT on SIGTERM during early policy validation (3.24.x)#6145
larsewi wants to merge 1 commit into
cfengine:3.24.xfrom
larsewi:sigabrt-3.24.x

Conversation

@larsewi
Copy link
Copy Markdown
Contributor

@larsewi larsewi commented May 27, 2026

When SIGTERM arrives before ThisAgentInit(), the signal handler calls TerminateCustomPromises() while custom_modules is still NULL, causing an assert to be triggered in MapIteratorInit().

Ticket: ENT-14139

Backported from #6140

When SIGTERM arrives before `ThisAgentInit()`, the signal handler calls
`TerminateCustomPromises()` while `custom_modules` is still `NULL`,
causing an assert to be triggered in `MapIteratorInit()`.

Ticket: ENT-14139
Changelog: Title
Signed-off-by: Lars Erik Wik <lars.erik.wik@northern.tech>
(cherry picked from commit 8679cb4)
@larsewi
Copy link
Copy Markdown
Contributor Author

larsewi commented May 27, 2026

@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

None yet

Development

Successfully merging this pull request may close these issues.

2 participants