Process stalls when executing a command expecting input from stdin

Bug #401209 reported by Marc Tardif on 2009-07-18
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Checkbox
Medium
Marc Tardif
checkbox-certification
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.

Marc Tardif (cr3) on 2009-07-18
Changed in checkbox:
assignee: nobody → Marc Tardif (cr3)
importance: Undecided → Medium
milestone: none → 0.8-alpha3
status: New → In Progress
Ronald McCollam (fader) wrote :

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.

Changed in checkbox-certification:
status: New → In Progress
Marc Tardif (cr3) on 2009-07-23
Changed in checkbox-certification:
status: In Progress → Fix Committed
status: Fix Committed → Fix Released
Changed in checkbox:
status: In Progress → Fix Committed
Marc Tardif (cr3) on 2009-08-25
Changed in checkbox:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers