Skip to content

pi_stress: Bug fixes and improvements

John Kacur linux-rt-users 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5pi_stress: Fix inconsistent barrier wait logic to prevent deadlocksrc/pi_tests/pi_stress.c+10 -70 replies
2/5pi_stress: Validate numeric command-line argumentssrc/pi_tests/pi_stress.c+12 -20 replies
3/5pi_stress: Improve error message for permission failuressrc/pi_tests/pi_stress.c+2 -20 replies
4/5pi_stress: Fix error and debug message formattingsrc/pi_tests/pi_stress.c+3 -30 replies
5/5pi_stress: Ensure null-termination of JSON filenamesrc/pi_tests/pi_stress.c+2 -10 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/5] pi_stress: Bug fixes and improvements

This series addresses several issues in pi_stress:

- Fixes a critical deadlock bug in error handling where inconsistent barrier wait logic could cause the program to hang
- Improves input validation to reject malformed numeric arguments
- Enhances error messages for better user experience
- Fixes cosmetic issues in debug/error output
- Ensures proper string null-termination

The first patch is the most important as it fixes a real deadlock scenario during error conditions.

John Kacur (5):
pi_stress: Fix inconsistent barrier wait logic to prevent deadlock
pi_stress: Validate numeric command-line arguments
pi_stress: Improve error message for permission failures
pi_stress: Fix error and debug message formatting
pi_stress: Ensure null-termination of JSON filename

 src/pi_tests/pi_stress.c | 44 ++++++++++++++++++++++++++--------------
 1 file changed, 29 insertions(+), 15 deletions(-)
Signature · 1 line
2.54.0