stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Stress-ng |
Fix Released
|
Undecided
|
Colin Ian King | ||
stress-ng (Ubuntu) |
Fix Released
|
Undecided
|
Colin Ian King | ||
Jammy |
Won't Fix
|
Undecided
|
Unassigned | ||
Kinetic |
Fix Released
|
Undecided
|
Colin Ian King |
Bug Description
On 22.04 stress-ng with the shm-sysv option gives error messages while appearing to pass.
stress-ng: info: [1600030] setting to a 300 second (5 mins, 0.00 secs) run per stressor
stress-ng: info: [1600030] dispatching hogs: 160 shm-sysv
stress-ng: fail: [1600332] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600049] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600369] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600364] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600179] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600110] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600370] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600214] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600045] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600276] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: fail: [1600293] stress-ng-shm-sysv: shmat failed, errno=22 (Invalid argument)
stress-ng: info: [1600030] successful run completed in 300.11s (5 mins, 0.11 secs)
Steps to reproduce:
stress-ng --aggressive --verify --timeout 300 --shm-sysv 0
Changed in stress-ng (Ubuntu Jammy): | |
status: | New → Won't Fix |
Changed in stress-ng: | |
status: | New → Fix Released |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in stress-ng (Ubuntu Kinetic): | |
assignee: | nobody → Colin Ian King (colin-king) |
Changed in stress-ng (Ubuntu): | |
assignee: | nobody → Colin Ian King (colin-king) |
$ uname -a
Linux 5.15.0-27-generic #28-Ubuntu SMP Thu Apr 14 04:55:28 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ sudo apt-cache policy stress-ng us.archive. ubuntu. com/ubuntu jammy/universe amd64 Packages dpkg/status
stress-ng:
Installed: 0.13.12-2
Candidate: 0.13.12-2
Version table:
*** 0.13.12-2 500
500 http://
100 /var/lib/