Opened 3 years ago

Closed 3 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 Difficulty:
Test Case: Blocked By:
Blocking: Related Tickets:

Description

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 3 years ago by simonmar

  • Milestone set to 7.2.1
  • Owner set to simonmar
  • Priority changed from normal to high

comment:2 Changed 3 years ago by simonmar

  • Resolution set to fixed
  • Status changed from new to closed

Fixed:

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