Opened 9 years ago

Closed 9 years ago

#5058 closed bug (fixed)

getProcessExitCode doesn't retry on EINTR

Reported by: sclv Owned by: simonmar
Priority: high Milestone: 7.2.1
Component: libraries/process Version: 7.0.3
Keywords: Cc:
Operating System: Linux Architecture: Unknown/Multiple
Type of failure: Incorrect result at runtime Test Case:
Blocked By: Blocking:
Related Tickets: Differential Rev(s):
Wiki Page:


Just like the ticket says. The source uses throwErrnoIfMinus1, and I can't think why it shouldn't just use throwErrnoIfMinus1Retry. I think that this is an issue with a few other functions that should do the same thing, including waitForProcess and probably terminateProcess as well.

I also wonder if the same issue is in other core libraries, but that's beyond this ticket.

Change History (2)

comment:1 Changed 9 years ago by simonmar

Milestone: 7.2.1
Owner: set to simonmar
Priority: normalhigh

comment:2 Changed 9 years ago by simonmar

Resolution: fixed
Status: newclosed


Tue Mar 29 04:47:12 PDT 2011  Simon Marlow <>
  * terminateProcess, getProcessExitCode: handle EINTR (#5058)
Note: See TracTickets for help on using tickets.