-
-
Notifications
You must be signed in to change notification settings - Fork 153
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This was both an MRI and a mutant problem, and its likely that the underlying MRI problem can still manifest itself. Its now simpy just significantly more unlikely. A bit of context: * Mutant is and was waiting for an FD to become readable via IO.select. * Mutant did NOT "finish" reading the FD per IO.select return, instead it would only read upto 4096 bytes, even if the FD could provide more input. Mutant would loop around to call another IO.select on the FD. * MRI does internally maintain a buffer before calling `read()` on the underlying file descriptor. Mutant often would per IO.select only hit that buffer, not the underlying FD. * MRI can "forget" the Ruby side IO#read_nonblocking should not block, so when the buffer is exhausted it may call `read()` in blocking mode. * Mutant triggered this (potentially buggy MRI mechanism) very often.
- Loading branch information
Showing
5 changed files
with
99 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,5 +2,5 @@ | |
|
||
module Mutant | ||
# Current mutant version | ||
VERSION = '0.10.16' | ||
VERSION = '0.10.17' | ||
end # Mutant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters