Project

General

Profile

Activity

From 03/06/2021 to 03/12/2021

03/12/2021

08:40 PM Bug #17719: Irregular evaluation order in hash literals
To me the evaluation order of 1->3->2 is a bit unexpected, but it might be OK unless specified otherwise.
IMO, dup...
xtkoba (Tee KOBAYASHI)
01:05 PM Bug #17719 (Closed): Irregular evaluation order in hash literals
@mame pointed out an irregular evaluation order example.
```sh
$ ruby -e '{foo:p(1), bar:p(2), foo:p(3)}'
-e:1: ...
nobu (Nobuyoshi Nakada)
08:00 PM Bug #17642: Ractor should not allow "allocate" ("dup")
ruby_3_0 72c6497453f74f3398130d99fc610922f3995ae5 merged revision(s) 7b9476fbfab738d1eb01b4b4c4af9a1680513019. naruse (Yui NARUSE)
06:58 PM Feature #17721 (Feedback): Proc.new should be able to contruct a lambda
since procs and lambdas are of the same type, as long as Proc::new exists, it should be able to create either.
```...
bughit (bug hit)
06:18 PM Feature #17674: Proposal: `Method#source_location` or `Method#owner` for refined methods
osyo (manga osyo) wrote in #note-1:
> hi.
> In Ruby 2.7 and later, `#method` supports Refinements.
>
> ```ruby
> # t...
AlexWayfer (Alexander Popov)
05:50 PM Misc #17720 (Assigned): Cirrus CI to check non-x86_64 architecture cases by own machines
Hello!
This ticket is related to the tickets #16234 #16360. But I opened a new ticket because it is related to gen...
jaruga (Jun Aruga)
03:36 PM Bug #6120 (Closed): Float and BigDecimal bug in remainder in corner cases
Applied in changeset commit:git|aaab3b1de943c3317e115d623ffc7908b4c96578.
----------
Fix integer/float remainder wit...
jeremyevans (Jeremy Evans)
01:10 PM Bug #17486 (Closed): Build fails on darwin due to libtool being removed
nobu (Nobuyoshi Nakada)
02:39 AM Bug #17645: `shorten-64-to-32` errors with Clang 11.1.0 for 32-bit targets w.r.t. `time_t` (maybe Y2038?)
Yet another solution would be to define `rb_time64_t` for `rb_time_nano_new` (and `rb_time_new`), but may be an overk... nobu (Nobuyoshi Nakada)

03/11/2021

09:46 PM Feature #17718 (Open): a method paramaters object that can be pattern matched against
```ruby
def get_perdiem(city: nil, state: nil, zip:nil)
case parameters_match # (return an object of the param...
dsisnero (Dominic Sisneros)
09:38 PM Feature #17685: Marshal format for out of band buffer objects
On the consumer side, we can Marshal those objects the usual way, which when unserialized will give us a copy of the ... dsisnero (Dominic Sisneros)
02:52 AM Feature #17685: Marshal format for out of band buffer objects
Do you want the way to load and dump the memory view metadata of any objects that support exporting their memory view... mrkn (Kenta Murata)
11:34 AM Bug #17636: Race condition in check_rvalue_consistency_force when using ractors
ruby_3_0 d3863cb2e80f27d26b521b2c957b21feacb900de merged revision(s) 07ab172ebef28bb82c2650694548d123802d6c22. naruse (Yui NARUSE)
11:32 AM Bug #17634: Ractor code gives me malloc(): unaligned fastbin chunk detected
ruby_3_0 commit:b49264ab7aa92f64a806857d7e81b3f1cbba5585. naruse (Yui NARUSE)
11:25 AM Bug #17497: Ractor performance issue
ruby_3_0 de6072a22edbaab3793cf7f976cc9e0118d0df40 merged revision(s) abdc634f64a440afcdc7f23c9757d27aab4db8a9,083c5f0... naruse (Yui NARUSE)
11:17 AM Bug #17599: [BUG] try to mark T_NONE object when object allocation tracing is enabled
ruby_3_0 b49264ab7aa92f64a806857d7e81b3f1cbba5585 merged revision(s) 969b824a0c7605e0e570631d967ad0de0c37d0bf,100e464... naruse (Yui NARUSE)
11:06 AM Bug #15852: APPLICATION_VERIFIER_LOCKS_LOCK_IN_FREED_HEAP on exiting ruby
ruby_3_0 0074ea2d83230e10ab0cd769fff203c13d3c592f merged revision(s) 2a83650b0fd25719fb6c03bfec7bd895734d3ceb. naruse (Yui NARUSE)
12:57 AM Bug #15852: APPLICATION_VERIFIER_LOCKS_LOCK_IN_FREED_HEAP on exiting ruby
`vm->waitpid_lock` and `vm->workqueue_lock` seem never deleted.
`rb_native_mutex_destroy` on them are disabled by `i...
nobu (Nobuyoshi Nakada)
07:57 AM Bug #12666: Fatal error: glibc detected an invalid stdio handle
Thx a lot! vo.x (Vit Ondruch)
07:31 AM Bug #17645: `shorten-64-to-32` errors with Clang 11.1.0 for 32-bit targets w.r.t. `time_t` (maybe Y2038?)
I encountered another compilation error of `shorten-64-to-32` for 32-bit musl targets, where `time_t` is 64-bit. A wo... xtkoba (Tee KOBAYASHI)
01:37 AM Misc #17635: DevelopersMeeting20210317Japan
* [Bug #16608] ConditionVariable#wait should return false when timeout exceeded (jeremyevans0)
* @nobu requested r...
jeremyevans0 (Jeremy Evans)
12:01 AM Bug #17494: ruby is hanged when using activesupport + rspec + rspec-parameterized
One possible workaround for this is a checking for an immediate loop in `resolve_refined_method`:
```diff
diff --...
jeremyevans0 (Jeremy Evans)

03/10/2021

10:55 PM Bug #17142 (Closed): Ruby fails to build in AIX
jeremyevans0 (Jeremy Evans)
10:52 PM Bug #17189 (Feedback): test_thread.rb in testsuite deadlocks with musl libc 1.2.1
Can you narrow down which particular test method is causing this issue? That would help narrow down the problem? Ev... jeremyevans0 (Jeremy Evans)
10:41 PM Bug #6120: Float and BigDecimal bug in remainder in corner cases
I've submitted a pull request to fix this issue for Integer/Float: https://github.com/ruby/ruby/pull/4257
I've sub...
jeremyevans0 (Jeremy Evans)
09:54 PM Bug #12666 (Closed): Fatal error: glibc detected an invalid stdio handle
jeremyevans0 (Jeremy Evans)
08:06 PM Bug #12666 (Assigned): Fatal error: glibc detected an invalid stdio handle
I've added a pull request for this: https://github.com/ruby/fiddle/pull/70 jeremyevans0 (Jeremy Evans)
08:07 PM Bug #15718 (Closed): YAML raises error when dumping strings with UTF32 encoding
jeremyevans0 (Jeremy Evans)
08:04 PM Bug #15718: YAML raises error when dumping strings with UTF32 encoding
Thanks for the investigation @jeremyevans0 👍
I'm definitely ok to close this. I don't even recall how I stumbled u...
marcandre (Marc-Andre Lafortune)
07:11 PM Bug #15718 (Feedback): YAML raises error when dumping strings with UTF32 encoding
I looked into this and ruby YAML uses libyaml, which is a YAML 1.1 implementation. YAML 1.1 does not support UTF-32 ... jeremyevans0 (Jeremy Evans)
07:37 PM Bug #16608: ConditionVariable#wait should return false when timeout exceeded
I've added a pull request that builds on @nobu's pull request, but uses a new method (`Mutex#sleep_for`) instead of m... jeremyevans0 (Jeremy Evans)
07:25 PM Bug #14096 (Closed): Psych allows invalid single quote escape character
This has been fixed in libyaml 0.2.1 (released June 2018), and the YAML given by @headius will raise `Psych::SyntaxEr... jeremyevans0 (Jeremy Evans)
05:43 PM Feature #17685 (Feedback): Marshal format for out of band buffer objects
Allow the use of the marshal protocol to transmit large data (objects) from one process or ractor to another, on same... dsisnero (Dominic Sisneros)
05:27 PM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
xtkoba (Tee KOBAYASHI) wrote in #note-19:
> To my understanding, the problem is that when `Random.urandom` failed to...
jeremyevans0 (Jeremy Evans)
04:38 PM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
To my understanding, the problem is that when `Random.urandom` failed to use `/dev/urandom` it does not fall back to ... xtkoba (Tee KOBAYASHI)
04:01 PM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
If SecureRandom requires a file descriptor to work, I think it should be expected to raise an exception if a file des... jeremyevans0 (Jeremy Evans)
10:53 AM Bug #14716: SecureRandom throwing an error in Ruby 2.5.1
I can reproduce this issue with Ruby 3.0.0p0 on my old Android phone by artificially opening a lot of files.
The r...
xtkoba (Tee KOBAYASHI)
12:23 AM Bug #14716 (Feedback): SecureRandom throwing an error in Ruby 2.5.1
Can anyone prepare a reproducible example of this happening with Ruby 2.7 or 3.0 (Ruby 2.6 goes into security mainten... jeremyevans0 (Jeremy Evans)
03:41 PM Feature #17684: Remove `--disable-gems` from release version of Ruby
I disagree on removing this option, I don't think the benefits of removing it are strong enough, even if it didn't ma... deivid (David Rodríguez)
02:53 PM Feature #17684: Remove `--disable-gems` from release version of Ruby
I'd love to see this clarified. IMO, there should be other ways to manage `$LOAD_PATH` then RubyGems. For such use ca... vo.x (Vit Ondruch)
01:35 PM Feature #17684: Remove `--disable-gems` from release version of Ruby
Will we be able to re-enable the `--disable-gems` option when we build `ruby` from source code? I think it is useful ... xtkoba (Tee KOBAYASHI)
01:21 PM Feature #17684: Remove `--disable-gems` from release version of Ruby
I don't have anything invested in this myself, but just for information to help the discussion, here's two examples o... chrisseaton (Chris Seaton)
01:02 PM Feature #17684: Remove `--disable-gems` from release version of Ruby
chrisseaton (Chris Seaton) wrote in #note-1:
> How should people who were using it for performance migrate off the o...
naruse (Yui NARUSE)
01:00 PM Feature #17684: Remove `--disable-gems` from release version of Ruby
Agreed. Unfortunately this increases the cost of development to support `--disable-gems`.
In other words, this featu...
naruse (Yui NARUSE)
12:59 PM Feature #17684: Remove `--disable-gems` from release version of Ruby
How should people who were using it for performance migrate off the option? chrisseaton (Chris Seaton)
12:51 PM Feature #17684 (Assigned): Remove `--disable-gems` from release version of Ruby
In my understand, `--disable-gems` is only debugging feature for ruby-core team.
But some users enabled its option...
hsbt (Hiroshi SHIBATA)
01:31 PM Feature #17674: Proposal: `Method#source_location` or `Method#owner` for refined methods
hi.
In Ruby 2.7 and later, `#method` supports Refinements.
```ruby
# test.rb
module Cover
refine Range do
...
osyo (manga osyo)
01:10 PM Misc #17635: DevelopersMeeting20210317Japan
* [Feature #17684] Remove `--disable-gems` from release version of Ruby
* Recently this increases the cost of the ...
naruse (Yui NARUSE)
09:40 AM Misc #17683 (Open): Current status of beginless range (experimental or not)
A beginless range was experimentally introduced in Ruby 2.7.0:
https://github.com/ruby/ruby/blob/v2_7_0/NEWS#label-O...
jnchito (Junichi Ito)
06:27 AM Feature #14643 (Closed): Remove problematic separator '\0' of Dir.glob and Dir.[]
mame (Yusuke Endoh)

03/09/2021

11:55 PM Bug #17508 (Closed): io-console versioning
I created a pull request to backport the remaining changes in io-console 0.5.7 from master to the ruby_3_0 branch: ht... jeremyevans0 (Jeremy Evans)
10:41 PM Feature #15517 (Assigned): Net::HTTP not recognizing valid UTF-8
I've submitted a pull request (https://github.com/ruby/net-http/pull/17) that takes the patch provided by @naruse in ... jeremyevans0 (Jeremy Evans)
03:12 PM Feature #17682 (Open): String#casecmp performance improvement
I've submitted a PR with up to 27x speedup for `String#casecmp`: https://github.com/ruby/ruby/pull/4133
According to...
Dan0042 (Daniel DeLorme)
11:11 AM Bug #15852 (Closed): APPLICATION_VERIFIER_LOCKS_LOCK_IN_FREED_HEAP on exiting ruby
Applied in changeset commit:git|2a83650b0fd25719fb6c03bfec7bd895734d3ceb.
----------
Destroy VM-wise locks before fr...
nobu (Nobuyoshi Nakada)
09:10 AM Bug #17583: Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
Does this work?
https://github.com/nobu/ruby/tree/disable-gc-while-VM-bootsrap
nobu (Nobuyoshi Nakada)
04:22 AM Bug #10961 (Closed): Zlib corrupts data when receive signal
Applied in changeset commit:git|0c5f8c62766afe4605172800063e63fe36996658.
----------
[ruby/zlib] Resume zstream if a...
wanabe (_ wanabe)
02:37 AM Bug #17676: Accessing ENV from Ractor raises IsolationError
I agree `ENV` should be shareable.
It is in my task list, but not high priority.
ko1 (Koichi Sasada)
12:43 AM Bug #17676 (Assigned): Accessing ENV from Ractor raises IsolationError
hsbt (Hiroshi SHIBATA)
01:36 AM Feature #17679: Ractor incoming channel can consume unlimited resources
It's not clear to me that this should be implemented at the Ractor level.
Both suggested approaches can be handled...
marcandre (Marc-Andre Lafortune)
12:42 AM Feature #17679 (Assigned): Ractor incoming channel can consume unlimited resources
hsbt (Hiroshi SHIBATA)
12:42 AM Bug #17678 (Assigned): Ractors do not restart after fork
hsbt (Hiroshi SHIBATA)
12:42 AM Bug #17677 (Assigned): Ractor crashes fork when blocking
hsbt (Hiroshi SHIBATA)
12:31 AM Bug #17680: tab completion no longer works on irb3.0
I could not reproduce the old version behaviour. I got back to irb 1.1.0 and the autocomplete behaviour is the same a... crocarneiro (Carlos Carneiro)

03/08/2021

11:35 PM Bug #13513: Resolv::DNS::Message.decode hangs after detecting truncation in UDP messages
I've confirmed this bug is still present in the current resolv library, and have submitted a patch to fix it: https:/... jeremyevans0 (Jeremy Evans)
07:00 PM Bug #17681 (Closed): irb3.0 exits after "source" command
jeremyevans0 (Jeremy Evans)
06:53 PM Bug #17681: irb3.0 exits after "source" command
Now resolved; I needed to update irb by gem3.0 install irb. simondedeo (Simon DeDeo)
06:42 PM Bug #17681 (Closed): irb3.0 exits after "source" command
in contrast to previous versions of irb, irb3.0 exits (with "nil") on executing a "source". Here's an example:
aye...
simondedeo (Simon DeDeo)
06:24 PM Bug #17680 (Closed): tab completion no longer works on irb3.0
in irb2.5:
rb(main):001:0> source 'li [then I hit tab...]
linking.rb list_load.rb list_load_OLD.rb
...
simondedeo (Simon DeDeo)
04:22 PM Feature #17679 (Assigned): Ractor incoming channel can consume unlimited resources
## Background
In the [ddtrace](https://github.com/DataDog/dd-trace-rb) gem, we want to move telemetry trace sendin...
marcotc (Marco Costa)
04:19 PM Bug #17678 (Closed): Ractors do not restart after fork
Hello there! I'm working at Datadog on the `ddtrace` gem -- <https://github.com/DataDog/dd-trace-rb> and we're experi... ivoanjo (Ivo Anjo)
04:19 PM Bug #17677 (Closed): Ractor crashes fork when blocking
## Background
If you create a Ractor which blocks (e.g. `receive`), then fork the process, the fork will segfault ...
delner (David Elner)
04:12 PM Bug #17676 (Closed): Accessing ENV from Ractor raises IsolationError
## Background
Accessing ENV variables from a Ractor will raise Ractor::IsolationError, as the Hash is non-shareabl...
delner (David Elner)
08:41 AM Bug #17673: sysseek(0) and '1A' in header return "EOFError (end of file reached)"
This is not specific to Ruby, but the very (in)famous text mode spec of Windows (and other dosish systems). nobu (Nobuyoshi Nakada)
08:12 AM Misc #17662: The heredoc pattern used in tests does not syntax highlight correctly in many editors
Okay, the style is an intentional hack to trick the editors into syntax-highlinting and auto-indenting the code withi... mame (Yusuke Endoh)
07:37 AM Misc #17662: The heredoc pattern used in tests does not syntax highlight correctly in many editors
Also, does auto indentation work inside `<<~RUBY` as `begin;`...`end;` hack? nobu (Nobuyoshi Nakada)
07:30 AM Misc #17662: The heredoc pattern used in tests does not syntax highlight correctly in many editors
I don't mind to transfer to `<<~RUBY` if ruby-mode.el supporting it gets released.
BTW, what editors support it?
nobu (Nobuyoshi Nakada)
05:37 AM Bug #17643 (Rejected): Ruby 3 embedded - no GC methods?
You don't call `ruby_options`.
And the `argv` made in this part is wrong.
> ```c
> int argc = 0;
> char* argv = (ch...
nobu (Nobuyoshi Nakada)
02:47 AM Bug #17675 (Closed): StringIO#each_byte doesn't check for readabilty while iterating
Applied in changeset commit:git|32a13591e0bb6e96b05452e214f14eda21ee3aa9.
----------
[ruby/stringio] Check if closed...
nobu (Nobuyoshi Nakada)
02:08 AM Misc #17641: pocke should have a commit bit
I agree.
Matz.
matz (Yukihiro Matsumoto)

03/07/2021

12:48 PM Bug #10961: Zlib corrupts data when receive signal
I sent PR https://github.com/ruby/zlib/pull/22 wanabe (_ wanabe)
02:20 AM Bug #17675: StringIO#each_byte doesn't check for readabilty while iterating
Please submit to https://github.com/ruby/stringio nobu (Nobuyoshi Nakada)
02:00 AM Bug #17675: StringIO#each_byte doesn't check for readabilty while iterating
The PR is:
https://github.com/ruby/ruby/pull/4245
wyhaines (Kirk Haines)
01:48 AM Bug #17675 (Closed): StringIO#each_byte doesn't check for readabilty while iterating
Bug #17661 is a failure to check readability on `each_byte` of an IO, causing a segmentation fault.
StringIO has a...
wyhaines (Kirk Haines)
01:36 AM Bug #17659 (Closed): Ractor: can't call io/wait methods
nobu (Nobuyoshi Nakada)
12:55 AM Bug #17661: IO#each will segfault when if file is closed inside an `each_byte` block
Aaron filed this bug on my behalf, as I was having issues with my account. Those issues appear to be issues no more, ... wyhaines (Kirk Haines)

03/06/2021

09:59 PM Bug #17216 (Closed): Enumerator::Chain doesn't support all Enumerator methods
Applied in changeset commit:git|bf40fe9fed19a5e22081b133661c0629988f1618.
----------
Fix calling enumerator methods ...
jeremyevans (Jeremy Evans)
09:59 PM Feature #17347 (Closed): Enumerator::Chain of Enumerator::Lazy should be lazy
Applied in changeset commit:git|bf40fe9fed19a5e22081b133661c0629988f1618.
----------
Fix calling enumerator methods ...
jeremyevans (Jeremy Evans)
09:59 PM Bug #17672 (Closed): Ractor stdio does not belong to the ractor
Applied in changeset commit:git|b3c53a8a885be8f5cc2b712798b0d2741c488ce4.
----------
Make Ractor stdio belonging to ...
nobu (Nobuyoshi Nakada)
09:24 PM Feature #17674 (Closed): Proposal: `Method#source_location` or `Method#owner` for refined methods
Inspired by https://bugs.ruby-lang.org/issues/15504#note-17
I'm working on a gem with Ruby refinements, and some m...
AlexWayfer (Alexander Popov)
09:16 PM Feature #15504: Freeze all Range objects
zverok (Victor Shepelev) wrote in #note-17:
> > if I want to check was called refined method or core?
>
> It actuall...
AlexWayfer (Alexander Popov)
02:50 AM Bug #17354: Module#const_source_location is misleading for constants awaiting autoload
When I proposed this feature in #10771, the motivation was to create a tool that automatically reads Ruby code and do... sawa (Tsuyoshi Sawada)
12:52 AM Bug #10203 (Closed): TCPServer.new has strange behaviour when EADDRINUSE without specifying hostname
I think this is not a bug and can be closed. `TCPServer.new` using first `getaddrinfo` address that works is reasona... jeremyevans0 (Jeremy Evans)
12:39 AM Bug #14046 (Closed): Ripper loses DATA
Ruby stops parsing the file when `__END__` is reached. Since the parser doesn't see the rest of the file, it is expec... jeremyevans0 (Jeremy Evans)
12:04 AM Bug #17673: sysseek(0) and '1A' in header return "EOFError (end of file reached)"
Right, that solved it, the Ruby documentation should specify that. Ok, thanks. stiuna (Juan Gregorio)
 

Also available in: Atom