stress-stack stressor terminates with segfault
Bug #1841916 reported by
Colin Ian King
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
stress-ng (Ubuntu) |
Fix Released
|
Medium
|
Colin Ian King |
Bug Description
At the end of a particular run, stress-ng printed "unsuccessful run completed in 6109.56s", and returned exit code 2, but there was no "fail:" message anywhere prior to that. How can I determine which test actually failed?
The command line was: stress-ng --timestamp --verbose --verify --metrics brief --times --tz --sequential 0 --exclude efivar,resources --timeout 30 --copy-file-bytes 512M --fallocate-bytes 512M --fiemap-bytes 512M --hdd-bytes 512M --iomix-bytes 512M --msync-bytes 512M --readahead-bytes 512M --revio-bytes 512M --sync-file-bytes 512M
I've uploaded the command output here: https:/
Using stress-ng-0.10
Changed in stress-ng (Ubuntu): | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Looking at the log there is a failure message in the stressor:
stress-ng: 19:04:27.27 debug: [20634] process [833] (stress-ng-stack) terminated on signal: 11 (Segmentation fault)
The stressor itself should not be segfaulting. The stressor forks off child processes that can segfault (e.g. when the stack is too large) but the parent should never segfault, hence the error is caught by the main top-level stress-ng controlling process and reports this as a core test failure. I believe this may be occurring because of memory pressure on the stressor. I'll try figure out why this is occurring.