Process stalls when executing a command expecting input from stdin
Bug #401209 reported by
Marc Tardif
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Checkbox |
Fix Released
|
Medium
|
Marc Tardif | ||
checkbox-certification |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
When a process is given a command expecting input from stdin, it simply stalls forever because there is no concept of stdin when running commands. For example, simply try specifying a test with the command: cat -
The solution would be to disable the stdin descriptor before executing the command.
Changed in checkbox: | |
assignee: | nobody → Marc Tardif (cr3) |
importance: | Undecided → Medium |
milestone: | none → 0.8-alpha3 |
status: | New → In Progress |
Changed in checkbox-certification: | |
status: | In Progress → Fix Committed |
status: | Fix Committed → Fix Released |
Changed in checkbox: | |
status: | In Progress → Fix Committed |
Changed in checkbox: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
While this does not fix the underlying checkbox issue, the test suite causing this behavior can be patched to explicitly look for the existence of the files it wants before attempting to cat them. This appears to be the only suite that uses cat to create an attachment, so I do not believe any other suites need updated to work around this bug at this time.
Patch attached.