I managed to corner the bug, the termination signal on timeout was killing the contention process with SIGKILL and this was killing the bogo-op increment mid increment causing the internal state to be inconsistent on the bogo-op counter. I've pushed a fix to the main repo:
commit efb0ad344e735986b29e0e1d68454edf9d793ee4 (HEAD -> master)
Author: Colin Ian King <email address hidden>
Date: Fri Feb 3 17:36:09 2023 +0000
stress-lock{a|f|ofd}: terminate contention process with SIGALRM
This will be included in the next stress-ng release at the end of this month.
I managed to corner the bug, the termination signal on timeout was killing the contention process with SIGKILL and this was killing the bogo-op increment mid increment causing the internal state to be inconsistent on the bogo-op counter. I've pushed a fix to the main repo:
commit efb0ad344e73598 6b29e0e1d68454e df9d793ee4 (HEAD -> master)
Author: Colin Ian King <email address hidden>
Date: Fri Feb 3 17:36:09 2023 +0000
stress- lock{a| f|ofd}: terminate contention process with SIGALRM
This will be included in the next stress-ng release at the end of this month.