Changeset 282091 in webkit
- Timestamp:
- Sep 7, 2021, 9:37:33 AM (4 years ago)
- Location:
- trunk/Tools
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Tools/ChangeLog
r282087 r282091 1 2021-09-07 Jonathan Bedard <jbedard@apple.com> 2 3 Exception in run-webkit-tests: Bad file descriptor (Part 1) 4 https://bugs.webkit.org/show_bug.cgi?id=229994 5 6 Reviewed by Aakash Jain. 7 8 * Scripts/webkitpy/port/server_process.py: 9 (ServerProcess.write): Catch "Bad file descriptor." 10 (ServerProcess._wait_for_data_and_update_buffers_using_select): Ditto. 11 1 12 2021-09-07 Jonathan Bedard <jbedard@apple.com> 2 13 -
trunk/Tools/Scripts/webkitpy/port/server_process.py
r273017 r282091 185 185 self._proc.stdin.write(string_utils.encode(bytes)) 186 186 self._proc.stdin.flush() 187 except (IOError, ValueError):187 except (IOError, OSError, ValueError): 188 188 self.stop(0.0) 189 189 # stop() calls _reset(), so we have to set crashed to True after calling stop() … … 285 285 try: 286 286 read_fds, _, _ = select.select(select_fds, [], select_fds, max(deadline - time.time(), 0)) 287 except OSError: 288 # FIXME: https://bugs.webkit.org/show_bug.cgi?id=229994 289 _log.debug('Caught OSError for {}, continuing'.format(self.pid())) 290 return 287 291 except select.error as e: 288 292 # We can ignore EINVAL since it's likely the process just crashed and we'll … … 313 317 self._crashed = True 314 318 self._error += data 319 except OSError: 320 # FIXME: https://bugs.webkit.org/show_bug.cgi?id=229994 321 _log.debug('Caught OSError for {}, continuing'.format(self.pid())) 322 pass 315 323 except IOError: 316 324 # We can ignore the IOErrors because we will detect if the subporcess crashed
Note:
See TracChangeset
for help on using the changeset viewer.