Project

General

Profile

Activity

From 11/12/2023 to 11/18/2023

11/18/2023

06:56 PM Bug #20007 (Closed): prism test begain to fail on s390x
I've closed it. Thanks for the report! kddnewton (Kevin Newton)
10:59 AM Bug #20007: prism test begain to fail on s390x
... But it seems I cannot close this bug. mtasaka (Mamoru TASAKA)
10:58 AM Bug #20007: prism test begain to fail on s390x
commit:f479e629ab497f325091096819fa5bf60c0d03b2 reverted commit:7c99e43c3f050244b06dbd18de4f605ea70d234c
Once closing.
mtasaka (Mamoru TASAKA)
12:05 AM Bug #20007 (Assigned): prism test begain to fail on s390x
s390x Travis has also failed since that revision https://app.travis-ci.com/github/ruby/ruby/jobs/613506136. k0kubun (Takashi Kokubun)
06:53 PM Revision bc744f3f (git): [prism] Update common.mk for prism big5 hkscs
kddnewton (Kevin Newton)
06:52 PM Revision cd4316a5 (git): [ruby/prism] Big5 HKSCS encoding
https://github.com/ruby/prism/commit/3ca9823eb4 Ryan Garver
06:47 PM Revision bbf14bbb (git): [ruby/prism] Add IBM864 encoding
Fixes https://github.com/ruby/prism/pull/1868
Related #1843
https://github.com/ruby/prism/commit/abc136dfc9
kcdragon (Mike Dalton)
06:43 PM Revision fdcb9783 (git): [ruby/prism] Faster lex_keyword
https://github.com/ruby/prism/commit/23a68dcda2 Haldun Bayhantopcu
06:41 PM Revision a6f9e6ad (git): [ruby/prism] Add macCentEuro encoding
https://github.com/ruby/prism/commit/ff95edbd99 thomasmarshall (Thomas Marshall)
05:49 PM Revision 631b500d (git): [ruby/irb] Fix irb crash on `{}.` completion
(https://github.com/ruby/irb/pull/764)
https://github.com/ruby/irb/commit/07e4d540cc
tompng (tomoya ishida)
05:44 PM Revision ae48d4ad (git): Ensure keyword splat method argument is hash
Commit e87d0882910001ef3b0c2ccd43bf00cee8c34a0c introduced a
regression where the keyword splat object passed by the caller
would be directly used by callee as keyword splat parameters,
if it implemented #to_hash. The return value of #t...
jeremyevans (Jeremy Evans)
02:29 PM Bug #19999: Backport: .travis.yml and fixed commits
nagachika (Tomoyuki Chikanaga) wrote in #note-5:
> Hmm, it comes into some timeout on pc64le-linux and arm32-linux.
> ...
I guess your failing build for ruby_3_2 is below.
https://app.travis-ci.com/github/ruby/ruby/builds/267334752
You ...
jaruga (Jun Aruga)
03:04 AM Bug #19999: Backport: .travis.yml and fixed commits
Hmm, it comes into some timeout on pc64le-linux and arm32-linux.
I will revert it at this moment.
nagachika (Tomoyuki Chikanaga)
02:46 AM Bug #19999: Backport: .travis.yml and fixed commits
Thank you for your suggestion. I copied the whole `.travis.yml` from current master branch at 4b16259d1d6f408a88ac2c8d04ed78e87bdeda9f. nagachika (Tomoyuki Chikanaga)
02:44 AM Bug #19999: Backport: .travis.yml and fixed commits
ruby_3_2 4b16259d1d6f408a88ac2c8d04ed78e87bdeda9f merged revision(s) 9682275b5493439334fb3933ce2da3b95271eb1c. nagachika (Tomoyuki Chikanaga)
10:38 AM Revision c56dd94d (git): Lrama v0.5.10
yui-knk (Kaneko Yuichiro)
03:06 AM Revision 5baf94f9 (git): merge revision(s) 1f115f141dd17f75049a5e17107906c5bcc372e1:
Speed up rebuilding the loaded feature index
Rebuilding the loaded feature index slowed down with the bug fix
for #17885 in 79a4484a072e9769b603e7b4fbdb15b1d7eccb15. The
slowdown was extreme if realpath emulatio...
nagachika (Tomoyuki Chikanaga)
03:04 AM Revision d1ba26a5 (git): Revert "merge revision(s) 9682275b5493439334fb3933ce2da3b95271eb1c: [Backport #19999]"
This reverts commit 4b16259d1d6f408a88ac2c8d04ed78e87bdeda9f. nagachika (Tomoyuki Chikanaga)
02:41 AM Revision 4b16259d (git): merge revision(s) 9682275b5493439334fb3933ce2da3b95271eb1c: [Backport #19999]
[Travis] make `.bundle` directory writable
To create gem files from sources under `gems/src` for tests.
---
.travis.yml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
nagachika (Tomoyuki Chikanaga)
01:34 AM Bug #20008 (Closed): f(**kw, &block) calls block.to_proc before kw.to_hash
The evaluation order expectation is that `kw.to_hash` is called first in this case. Ruby previously called `kw.to_hash` before `block.to_proc` in Ruby 2, but stopped doing so in Ruby 3.0. In master, `f(*a, **kw, &block)` is also affecte... jeremyevans0 (Jeremy Evans)
01:32 AM Revision f479e629 (git): [ruby/prism] Revert "Ensure serialized file is little endian"
https://github.com/ruby/prism/commit/4cec275fff kddnewton (Kevin Newton)

11/17/2023

11:50 PM Bug #20007 (Closed): prism test begain to fail on s390x
As of commit:3bc41f4f0b testsuite was successful on both x86_64 and s390x, but
as of commit:ef72970a04 testsuite fails on s390x (note that s390x is big endian):
```
....
....
87) Skipped:
TestIRB::DebugCommandTest#test_multi_irb...
mtasaka (Mamoru TASAKA)
10:57 PM Revision 24fe22a5 (git): Fix ordering for auto compaction in get_overloaded_cme()
Found through GC.stress + GC.auto_compact crashes in GH-8932.
Previously, the compaction run within `rb_method_entry_alloc()` could
move the `def->body.iseq.cref` and `iseqptr` set up before the call and
leave the `def` pointing to moved...
alanwu (Alan Wu)
09:41 PM Revision ef72970a (git): Fix File.directory? doc hidding File::Stat#directory? doc
Now the documentation that was already in the codebase for
`File::Stat#directory?` shows up.
robotdana (Dana Sherson)
09:08 PM Revision 3dd77bc0 (git): Fix corruption when out of shape during ivar remove
Reproduction script:
```
o = Object.new
10.times { |i| o.instance_variable_set(:"@a#{i}", i) }
i = 0
a = Object.new
while RubyVM::Shape.shapes_available > 2
a.instance_variable_set(:"@i#{i}", 1)
i += 1
end
o.remove_instance_variab...
peterzhu2118 (Peter Zhu)
08:11 PM Revision 7c99e43c (git): [ruby/prism] Ensure serialized file is little endian
https://github.com/ruby/prism/commit/0c762ee68a kddnewton (Kevin Newton)
08:11 PM Revision cbdac2f0 (git): [ruby/prism] Silence clang analyzer warnings for the memory leaks
https://github.com/ruby/prism/commit/68112c556e Haldun Bayhantopcu
08:06 PM Revision 585fdfe1 (git): [ruby/prism] add Windows-874 encoding
https://github.com/ruby/prism/commit/0670dd3b9a Peter Cai
08:06 PM Revision 229f6e5b (git): [ruby/prism] Update spacing in encoding_test.rb
https://github.com/ruby/prism/commit/56508c2201 kddnewton (Kevin Newton)
08:06 PM Revision 50b7b927 (git): [ruby/prism] Add macThai
https://github.com/ruby/prism/commit/f654058f50 Haldun Bayhantopcu
08:06 PM Revision 0a081a33 (git): [ruby/prism] Add macRoman
https://github.com/ruby/prism/commit/42b20ee399 Haldun Bayhantopcu
08:04 PM Revision 85dcfef2 (git): [ruby/prism] Add macUkraine
https://github.com/ruby/prism/commit/440557fddc Haldun Bayhantopcu
03:48 PM Revision e5d6b409 (git): [ruby/prism] Do not allow trailing commas in calls without parenthesis
https://github.com/ruby/prism/commit/f1d56da58f Haldun Bayhantopcu
03:28 PM Revision db4303f9 (git): [ruby/prism] Never test locale encoding
https://github.com/ruby/prism/commit/f0f057b055 kddnewton (Kevin Newton)
02:50 PM Revision c2f2090d (git): [ruby/prism] Do not test locale encoding on windows
https://github.com/ruby/prism/commit/8f40536431 kddnewton (Kevin Newton)
02:47 PM Revision 9ba49c61 (git): mingw.yml - remove encoding, run tests in cmd shell
MSP-Greg (Greg L)
02:32 PM Revision 4a26a65e (git): [ruby/prism] Add macTurkish
https://github.com/ruby/prism/commit/2232d4b6a0 Haldun Bayhantopcu
01:22 PM Revision 940f2e7f (git): size_pool_idx_for_size: Include debugging info in error message
We ran into that case on our CI, including some sizes would help
debug it much easier.
byroot (Jean Boussier)
08:19 AM Revision 94c9f166 (git): Refactor rb_obj_evacuate_ivs_to_hash_table
That function is a bit too low level to called from multiple
places. It's always used in tandem with `rb_shape_set_too_complex`
and both have to know how the object is laid out to update the
`iv_ptr`.
So instead we can provide two highe...
byroot (Jean Boussier)
02:18 AM Bug #19246: Rebuilding the loaded feature index much slower in Ruby 3.1
I will fill Backport field with "3.2: REQUIRED" according to the comments in https://github.com/ruby/ruby/pull/8275. I will retry to backport to ruby_3_2. nagachika (Tomoyuki Chikanaga)
02:01 AM Revision 498b086c (git): Skip test_ForwardingArgumentsNode
due to a failure on a CI
http://ci.rvm.jp/results/trunk-iseq_binary@ruby-sp2-docker/4779277
```
expected:
== disasm: #<ISeq:prism_test_forwarding_arguments_node1@<compiled>:2 (2,8)-(4,11)>
local table (size: 1, argc: 0 [opts: 0, rest: -...
mame (Yusuke Endoh)

11/16/2023

06:00 PM Revision 3bc41f4f (git): [ruby/prism] Add macGreek encoding
https://github.com/ruby/prism/commit/c36d3fc647 kddnewton (Kevin Newton)
05:39 PM Revision ce853559 (git): [ruby/prism] Only run encoding tests on CRuby
https://github.com/ruby/prism/commit/a63acc0629 kddnewton (Kevin Newton)
05:39 PM Revision 4b2915f0 (git): [ruby/prism] Add macRomania encoding
https://github.com/ruby/prism/commit/bb73801cf4 kddnewton (Kevin Newton)
05:39 PM Revision 6c2defdf (git): [ruby/prism] Support for the macIceland encoding
https://github.com/ruby/prism/commit/f433d1b51b kddnewton (Kevin Newton)
05:39 PM Revision 13bf8c1b (git): [ruby/prism] EUC-JP can be triple byte
https://github.com/ruby/prism/commit/de66ce874a kddnewton (Kevin Newton)
05:39 PM Revision b753e169 (git): [ruby/prism] IBM862 encoding
https://github.com/ruby/prism/commit/151698bf86 kddnewton (Kevin Newton)
05:39 PM Revision 7dba4f42 (git): [ruby/prism] IBM861 encoding
https://github.com/ruby/prism/commit/6d2b59384a kddnewton (Kevin Newton)
05:39 PM Revision 91af9e8d (git): [ruby/prism] IBM860 encoding
https://github.com/ruby/prism/commit/aa6163d77a kddnewton (Kevin Newton)
05:39 PM Revision a7df025c (git): [ruby/prism] IBM857 encoding
https://github.com/ruby/prism/commit/8c9b580f84 kddnewton (Kevin Newton)
05:39 PM Revision 076d0957 (git): [ruby/prism] IBM855 encoding
https://github.com/ruby/prism/commit/9354ad1848 kddnewton (Kevin Newton)
05:39 PM Revision b0a18865 (git): [ruby/prism] IBM852 encoding
https://github.com/ruby/prism/commit/45251fcbf1 kddnewton (Kevin Newton)
05:39 PM Revision f93e4ac1 (git): [ruby/prism] Split up encoding comparisons based on first letter
https://github.com/ruby/prism/commit/80fac1e4a9 kddnewton (Kevin Newton)
05:39 PM Revision ef748f35 (git): [ruby/prism] IBM775 encoding
https://github.com/ruby/prism/commit/65175641b1 kddnewton (Kevin Newton)
05:39 PM Revision ae3c3467 (git): [ruby/prism] IBM-737 encoding
https://github.com/ruby/prism/commit/af1a665939 kddnewton (Kevin Newton)
05:39 PM Revision 8c44d69b (git): [ruby/prism] IBM720 encoding
https://github.com/ruby/prism/commit/fc1f6ea3af kddnewton (Kevin Newton)
05:39 PM Revision ba937eee (git): [ruby/prism] IBM437 encoding
https://github.com/ruby/prism/commit/d60329eeb5 kddnewton (Kevin Newton)
05:39 PM Revision f60b9743 (git): [ruby/prism] Add cp855 encoding
https://github.com/ruby/prism/commit/8069d143f5 kddnewton (Kevin Newton)
05:39 PM Revision 5d7e6842 (git): [ruby/prism] Add cp852 encoding
https://github.com/ruby/prism/commit/ebe83490bf kddnewton (Kevin Newton)
05:39 PM Revision 63c490dc (git): [ruby/prism] Add remaining windows encodings
https://github.com/ruby/prism/commit/e77b549a59 kddnewton (Kevin Newton)
05:39 PM Revision ca789e72 (git): [ruby/prism] Add windows-1250 encoding
https://github.com/ruby/prism/commit/a362535ca4 kddnewton (Kevin Newton)
05:39 PM Revision aebc6e8b (git): [ruby/prism] Fix parsing other encodings bytes >= 0x80
https://github.com/ruby/prism/commit/c787d2e076 kddnewton (Kevin Newton)
05:39 PM Revision f8dcb06f (git): [ruby/prism] Include GBK user-defined sections
https://github.com/ruby/prism/commit/4f71d3bdb1 kddnewton (Kevin Newton)
05:16 PM Revision a6548e9e (git): [prism] Add cp51932 to common.mk
kddnewton (Kevin Newton)
05:14 PM Revision 12431948 (git): [prism] Ignore other generated files from prism
kddnewton (Kevin Newton)
05:13 PM Revision d976e7cc (git): [ruby/prism] Update gemspec
https://github.com/ruby/prism/commit/1a10f6f9c0 Maple Ong
05:13 PM Revision 1ead1982 (git): [ruby/prism] Test cp51932
https://github.com/ruby/prism/commit/29ba8cd1f2 Maple Ong
05:13 PM Revision ae56db59 (git): [ruby/prism] Hook up encoding file to prism
https://github.com/ruby/prism/commit/93ec917dfe Maple Ong
05:13 PM Revision 5277cf3e (git): [ruby/prism] Add cp51932 encoding file
https://github.com/ruby/prism/commit/c67a0f4c78 Maple Ong
04:49 PM Revision 81b35fe7 (git): rb_evict_ivars_to_hash: get rid of the sahpe paramater
It's only used to allocate the table with the right size,
but in some case we were passing `rb_shape_get_shape_by_id(SHAPE_OBJ_TOO_COMPLEX)`
which `next_iv_index` is a bit undefined.
So overall we're better to just allocate a table the ...
byroot (Jean Boussier)
04:28 PM Revision b92a92a3 (git): [DOC] More on JSON extensions (#8898)
burdettelamar (Burdette Lamar)
04:27 PM Revision 2524c8b5 (git): [ruby/open3] [DOC] RDoc for Open3
(https://github.com/ruby/open3/pull/19)
https://github.com/ruby/open3/commit/577bee9696
burdettelamar (Burdette Lamar)
03:13 PM Revision e3f46452 (git): [ruby/prism] Fix calls with splat without parenthesis
https://github.com/ruby/prism/commit/d81a77e0e3 Haldun Bayhantopcu
03:12 PM Revision 64a122ac (git): [ruby/prism] Add test cases for `in` in `case` condition
Fix https://github.com/ruby/prism/pull/1515
It is also fixed by #1807, so this adds only test cases.
https://github.com/ruby/prism/commit/a0092f075e
make_now_just (Hiroya Fujinami)
01:24 PM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
k0kubun (Takashi Kokubun) wrote in #note-14:
> Just in case, could you measure the time spent on the loop instead of a whole Ruby command? The prelude script sometimes takes a lot of time, the performance varies across different version...
cs96and (Alan Davies)
01:51 AM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
Just in case, could you measure the time spent on the loop instead of a whole Ruby command? The prelude script sometimes takes a lot of time, the performance varies across different versions, and `time` command would benchmark that as we... k0kubun (Takashi Kokubun)
12:20 PM Bug #11183: Cumulative error on Complex::I ** 100000000000000000000000000000000
https://github.com/ruby/ruby/pull/8931
self の偏角が45度の整数倍であるような場合に特別扱いするようにしてみました。
```
1i ** (10 ** 100) #=> 1+0i
1i ** (10 ** 100 + 1) #=> 0+1i
(1+1i) ** (10 ** 100) # warning: in a**b, b may be too big
...
kyanagi (Kouhei Yanagita)
09:23 AM Revision 9786b909 (git): Fix regex match cache out-of-bounds access
Previously the following read and wrote 1 byte out-of-bounds:
$ valgrind ruby -e 'p /(\W+)[bx]\?/i.match? "aaaaaa aaaaaaaaa aaaa aaaaaaaa aaa aaaaxaaaaaaaaaaa aaaaa aaaaaaaaaaaa a ? aaa aaaa a ?"' 2> >(grep Invalid -A 30)
Because o...
alanwu (Alan Wu)
09:14 AM Revision c65bb5a0 (git): Warn bundled gems before Ruby 3.4.0
hsbt (Hiroshi SHIBATA)
09:14 AM Revision 7415901a (git): Always revert or skip extended require of RubyGems.
hsbt (Hiroshi SHIBATA)
08:14 AM Misc #19997: DevMeeting-2023-11-30
* [Feature #19998] Emit deprecation warnings when the old (non-Typed) Data_XXX API is used (byroot)
* The new API is available since 2010, and the old API is officially deprecated since 2015.
* Yet some relatively popular gem maint...
byroot (Jean Boussier)
02:22 AM Revision e3745126 (git): [ruby/rdoc] Revert "chore: Remove unnecessary argument for `join` method"
This reverts commit https://github.com/ruby/rdoc/commit/4a1c74bc0a09.
Since RDoc still supports ruby 2.6 which has not deprecated `$,`, the
argument of `Array#join` is not unnecessary yet.
https://github.com/ruby/rdoc/commit/72897d32ed
nobu (Nobuyoshi Nakada)
01:43 AM Revision 8d160b93 (git): [ruby/rdoc] chore: Remove unnecessary argument for `join` method
https://github.com/ruby/rdoc/commit/4a1c74bc0a toshimaru
01:43 AM Revision 72242e69 (git): [ruby/rdoc] fix: Fix NoMethodError for `tokens_to_s` method
Calling `tokens_to_s` gets an error if `token_stream` is nil:
```
undefined method `compact' for nil:NilClass (NoMethodError)
```
So, fall back to an empty array if `@token_stream` is nil.
https://github.com/ruby/rdoc/commit/452e4a2600
toshimaru
12:05 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
Ah that makes sense - if you want to get potentially overridden symbols there isn’t a good way to do that at the moment. Plus I grant you the portability story around symbol exporting is messy, so wrapping that up would be handy. kjtsanaktsidis (KJ Tsanaktsidis)

11/15/2023

11:08 PM Revision d2e7a70e (git): [ruby/prism] Track the then keyword for conditionals
https://github.com/ruby/prism/commit/fef0019a25 kddnewton (Kevin Newton)
07:25 PM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
JesseJohnson (Jesse Johnson) wrote in #note-12:
> Can anyone replicate this on Ruby 3 or later?
Still poor performance in 3.1.3 and 3.2.2...
**1.9.3 send()**
```
$ ./ruby-1.9.3-p551-i386-mingw32/bin/ruby.exe --version
ruby 1.9.3p551 (2...
cs96and (Alan Davies)
02:06 PM Bug #8444: Regexp vars $~ and friends are not thread local
nobu (Nobuyoshi Nakada) wrote in #note-9:
> "Thread-local" in that sentence was wrong, and removed at commit:932dd9f10e684fa99b059054fbc934607d85b45a, but "method-local" is removed too.
Indeed, the documentation used to say "Regexp G...
Dan0042 (Daniel DeLorme)
01:47 PM Feature #20005: Add C API to return symbols of native extensions resolved from features
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-5:
> True, dlopen/dlsym have some portability issues, but:
> ...
It returns `RTLD_DEFAULT`, no `dlopen` call is needed.
This special handle searches all loaded libraries in the loaded or...
nobu (Nobuyoshi Nakada)
09:26 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
True, dlopen/dlsym have some portability issues, but:
> dlsym needs the handle of the loaded library, and it is not trivial to retrieve the path from the feature name.
Can’t you just call `dlopen(NULL)` to get this? From the Linux ...
kjtsanaktsidis (KJ Tsanaktsidis)
09:17 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
@kjtsanaktsidis `dlsym` can do, but
- not all platforms use `dlopen` and `dlsym`.
- `dlsym` needs the handle of the loaded library, and it is not trivial to retrieve the path from the feature name.
nobu (Nobuyoshi Nakada)
07:38 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
Maybe I’m just not very clever, but I don’t understand why `dlsym` doesn’t already do this? Why doesn’t it work for your use case? I don’t think I understand. kjtsanaktsidis (KJ Tsanaktsidis)
05:46 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
@nobu No, I intended that the API retrieves `extern`-ed (or `EXPORTS`-ed in *.def) symbols. I missed to mention it. tagomoris (Satoshi Tagomori)
03:13 AM Feature #20005: Add C API to return symbols of native extensions resolved from features
`a_client_open` is a function just defined in a_client.so?
I.e., do you intend that all non-static functions can be retrieved from other extension libraries without any action in the defining library?
nobu (Nobuyoshi Nakada)
10:38 AM Revision e9bc5307 (git): [rubygems/rubygems] Make temp gem home independent of pwd
https://github.com/rubygems/rubygems/commit/5c36556d2e deivid (David Rodríguez)
10:27 AM Revision 5bf75c20 (git): Refactor the settings of test-all out
test/runner.rb and tool/lib/test/unit/parallel.rb must use the same
settings. However, some settings were copied and pasted, while some were
added only to test/runner.rb.
This changeset creates tool/test/init.rb for all settings of test-...
mame (Yusuke Endoh)
10:19 AM Revision 960a031a (git): vm_setivar_slowpath: improve bug error message
We're occasionally hitting this bug on CI, it would be useful
to see if the id is consistent.
byroot (Jean Boussier)
10:05 AM Revision 8f1ec6e1 (git): Adjust spaces [ci skip]
nobu (Nobuyoshi Nakada)
08:52 AM Revision db8d437d (git): No need to save `$VERBOSE`
nobu (Nobuyoshi Nakada)
08:52 AM Revision b003c95e (git): Separate tests for Hash only from tests for Hash and its subclasses
nobu (Nobuyoshi Nakada)
08:52 AM Revision ad72d96f (git): Escape and quote non-local variable names
nobu (Nobuyoshi Nakada)
08:52 AM Revision 7998dcde (git): Remove invariant condition
The `while` loop condition dereferences `cfp` and no `break` there,
`cfp` cannot be NULL just after the loop.
nobu (Nobuyoshi Nakada)
08:33 AM Revision b69bbf58 (git): [rubygems/rubygems] User bundler UA when downloading gems
Gem::RemoteFetcher uses Gem::Request, which adds the RubyGems UA.
Gem::RemoteFetcher is used to download gems, as well as the full index.
We would like the bundler UA to be used whenever bundler is making
requests.
This PR also avoids u...
segiddins (Samuel Giddins)
05:58 AM Revision 536649f8 (git): Fix IRB tests (#8925)
* Revert "Fixup da2c2931a60"
This reverts commit e1978a905a32af2d48b6e9efb6d0fe1656fddc5b.
* Revert "Skip Type completion tests related with IRB::VERSION"
This reverts commit da2c2931a602da22bc1fd10dc41f5c3a117bf502.
* require irb/ve...
hsbt (Hiroshi SHIBATA)
03:11 AM Revision e1978a90 (git): Fixup da2c2931a60
hsbt (Hiroshi SHIBATA)
02:38 AM Revision 9cba65fd (git): test: Follow-up fix for #8916
`test_thread_trace` is also flaky due to the same reason as #8916.
https://rubyci.s3.amazonaws.com/centos7/ruby-master/log/20231114T213002Z.fail.html.gz
https://rubyci.s3.amazonaws.com/wsl2/ruby-master/log/20231114T090003Z.fail.html.gz
katei (Yuta Saito)
02:02 AM Revision da2c2931 (git): Skip Type completion tests related with IRB::VERSION
hsbt (Hiroshi SHIBATA)
01:09 AM Revision 197ab823 (git): Revert "Tests of irb is still broken."
This reverts commit 5398bbcbab702907430ee019d07f5dcf2b0ce4af.
We explicitly load rubygems at rubygems_ext.rb
https://github.com/rubygems/rubygems/commit/8840d8507be72ff32bcbbdfb14e0b54efb364ffa
hsbt (Hiroshi SHIBATA)

11/14/2023

09:22 PM Revision befad28f (git): Resync prism delete bin/dot
kddnewton (Kevin Newton)
09:22 PM Revision 93e9be2f (git): [ruby/prism] Check value expressions on creating a node
https://github.com/ruby/prism/commit/d60948bac3 make_now_just (Hiroya Fujinami)
09:22 PM Revision 5048c4f4 (git): [ruby/prism] Check value expressions on parsing arguments and assignments
They are corresponding to `arg_value` in `parse.y`.
https://github.com/ruby/prism/commit/a4a4834e0d
make_now_just (Hiroya Fujinami)
09:22 PM Revision ed755181 (git): [ruby/prism] Rename librubyparser to libprism
librubyparser was an artifact of the prototype that was initially
named ruby-parser. Instead, this renames it to libprism to be
consistent with the actual name.
https://github.com/ruby/prism/commit/8600b06811
kddnewton (Kevin Newton)
09:22 PM Revision 80e379bd (git): [ruby/prism] Check value expressions on parsing arguments and assignments
They are corresponding to `arg_value` in `parse.y`.
https://github.com/ruby/prism/commit/a4a4834e0d
make_now_just (Hiroya Fujinami)
09:22 PM Revision bc84334a (git): [ruby/prism] Add the ability to convert nodes to dot
https://github.com/ruby/prism/commit/3e4b4fb947 kddnewton (Kevin Newton)
09:19 PM Revision db8803d5 (git): [ruby/prism] More consistent lex modes with %q
https://github.com/ruby/prism/commit/014f714ed1 kddnewton (Kevin Newton)
07:59 PM Feature #19744: Namespace on read
@tagomoris Given this feature is not possible to provide correctly and I don't think it's fixable either, I think it would be best to close/reject this issue, WDYT?
One big problem is monkey patching via `class String; ...; end` e.g. ...
Eregon (Benoit Daloze)
05:56 PM Bug #20006 (Third Party's Issue): [Windows] failed to allocate memory (NoMemoryError) - test/ruby/test_ast.rb
Given that the MinGW job on ruby/ruby GitHub Actions is running fine, it seems specific to the ruby-loco configuration. Unless it's happening in `ruby/ruby/.github/workflows/mingw.yml` as well, it should be discussed under the ruby-loco ... k0kubun (Takashi Kokubun)
05:35 PM Bug #20006 (Third Party's Issue): [Windows] failed to allocate memory (NoMemoryError) - test/ruby/test_ast.rb
On GitHub Actions, all ruby-loco windows builds are intermittently failing with logs similar to the below:
```
D:\a\ruby-loco\ruby-loco\ruby-mingw\bin\ruby.exe: failed to allocate memory (NoMemoryError)
D:\a\ruby-loco\ruby-loco\ruby-m...
MSP-Greg (Greg L)
02:34 PM Revision 336d81a6 (git): [ruby/prism] Check value expressions on creating a node
https://github.com/ruby/prism/commit/d60948bac3 make_now_just (Hiroya Fujinami)
02:34 PM Revision 499786de (git): [ruby/prism] Check value expressions on parsing arguments and assignments
They are corresponding to `arg_value` in `parse.y`.
https://github.com/ruby/prism/commit/a4a4834e0d
make_now_just (Hiroya Fujinami)
02:34 PM Revision 3439f1e6 (git): [ruby/prism] Add parse_value_expression
https://github.com/ruby/prism/commit/37fad74134 make_now_just (Hiroya Fujinami)
02:34 PM Revision 52a0f1d1 (git): [ruby/prism] Add "Unexpected void value expression" error
https://github.com/ruby/prism/commit/88b7b8e1fc make_now_just (Hiroya Fujinami)
02:25 PM Revision 26d11383 (git): [ruby/prism] fix: float suffix at end of file
Found by fuzzing.
https://github.com/ruby/prism/commit/d77d4fe2b7
mdalessio (Mike Dalessio)
02:15 PM Feature #20005 (Closed): Add C API to return symbols of native extensions resolved from features
I want an API to resolve symbols of other native extensions by a feature name and a symbol name (just like `dlsym`).
(`rb_dln_resolve_symbol` is an example function name of this feature in the example below)
```c
// "a_client_open" ...
tagomoris (Satoshi Tagomori)
02:11 PM Revision d6d1a183 (git): [ruby/prism] fix: nested heredoc dedentation use-after-free
Because the lex mode may be freed when popped, we need to store off
this value for dedentation.
https://github.com/ruby/prism/commit/64007322f5
Co-authored-by: Kevin Newton <kddnewton@gmail.com>
mdalessio (Mike Dalessio)
01:09 PM Revision 5844957f (git): Update bundled gems list at 6fb030e6f1f7cfe162f5db9fca0bc6 [ci skip]
git[bot]
01:08 PM Revision 6fb030e6 (git): Skip TOPDIR test
Soutaro Matsumoto
01:08 PM Revision bb008f00 (git): Update bundled gems manually
hsbt (Hiroshi SHIBATA)
11:35 AM Revision e6b2cd15 (git): Skip test_diff_* from rbs tests. It used bundle command
hsbt (Hiroshi SHIBATA)
09:27 AM Revision 0880158f (git): * 2023-11-14 [ci skip]
git[bot]
09:27 AM Revision 031d05cc (git): Lock gem versions for C ext dependencies (#8918)
* Lock rubocop and standard versions for json dependencies
https://github.com/ruby/actions/actions/runs/6854220854/job/18636881910
current directory: /home/runner/work/actions/actions/snapshot-ruby_3_1/tmp/7/gems/rubocop/ruby/3.1.0...
hsbt (Hiroshi SHIBATA)
08:29 AM Revision 63fdfa13 (git): [DOC] Link Dir.exist? to File.directory?
nobu (Nobuyoshi Nakada)
08:20 AM Revision b01118f2 (git): [DOC] Describe Dir.home
nobu (Nobuyoshi Nakada)
07:59 AM Revision 99355122 (git): [ruby/rdoc] Fix TIDYLINK after braces
(https://github.com/ruby/rdoc/pull/1015)
TIDYLINK multi-word label should not include braces.
https://github.com/ruby/rdoc/commit/41ad3191e9
nobu (Nobuyoshi Nakada)
07:01 AM Revision 50e1c293 (git): test: Assert only events originated from the test_settracefunc.rb test file
This test suite is flaky on CI, because the test asserts events from
finalizers also. Tracing events from finalizers is not deterministic
and is not a part of test interests, so this commit changes the test
to assert only events originat...
katei (Yuta Saito)
06:56 AM Revision 19a7a766 (git): [DOC] Adjust heading levels
So that the first headings would be the top-most headings. nobu (Nobuyoshi Nakada)
06:56 AM Revision caa9881f (git): [DOC] Fix doc/regexp.rdoc links
- Rename regexp.rdoc to exclude from "Pages". This file is for to be
included in the "class Regexp" document, but it also appeared as a
separate page duplicately.
- Fix links on case-sensitive filesystems.
- Fix to use rdoc-ref inst...
nobu (Nobuyoshi Nakada)
05:25 AM Revision e020eb26 (git): [ruby/prism] fix: Handle zero-length block parameters in invalid Ruby
Found by fuzzing.
https://github.com/ruby/prism/commit/4cd6c8cf98
mdalessio (Mike Dalessio)
04:49 AM Bug #8444: Regexp vars $~ and friends are not thread local
"Thread-local" in that sentence was wrong, and removed at commit:932dd9f10e684fa99b059054fbc934607d85b45a, but "method-local" is removed too. nobu (Nobuyoshi Nakada)
03:58 AM Bug #20004 (Closed): Release CI is broken with Ruby master
From 3 week ago, Release action of master is broken.
https://github.com/ruby/actions/actions/runs/6599016994/job/17927644579#step:16:44
```
Invoking `/Users/runner/work/actions/actions/snapshot-master/ruby -rrubygems /Users/runner...
hsbt (Hiroshi SHIBATA)
03:18 AM Revision 33b92c2d (git): [rubygems/rubygems] improvement: include response body on fetch_http error
https://github.com/rubygems/rubygems/commit/de4189af35 Paul Bob
01:35 AM Bug #18024 (Closed): Ractor crashes when connections are closed in multiple Ractors
hsbt (Hiroshi SHIBATA)
01:34 AM Bug #18024: Ractor crashes when connections are closed in multiple Ractors
I retried this script on my laptop (macOS Ventura) and Ruby 3.2.2, and I also couldn't reproduce the crash.
So the problem could be an environment-specific one.
Could someone close this?
tagomoris (Satoshi Tagomori)

11/13/2023

11:26 PM Revision fabf5bea (git): Don't overwrite shape capacity when removing ivar
Other objects may be using the shape, so we can't change the capacity
otherwise the other objects may have a buffer overflow.
peterzhu2118 (Peter Zhu)
11:26 PM Revision 68869e9b (git): Revert "Revert "Remove SHAPE_CAPACITY_CHANGE shapes""
This reverts commit 5f3fb4f4e397735783743fe52a7899b614bece20. peterzhu2118 (Peter Zhu)
11:22 PM Bug #17037: rounding of Rational#to_f
Test case:
```
def test_rational_with_large_integer_components_to_f
r = 450359962737049649/450359962737049600r
assert_equal(1.0, r.to_f)
end
```
The issue is that large integers, abs > 2 ** 53 - 1, are truncated wh...
JesseJohnson (Jesse Johnson)
11:16 PM Bug #18966: Strange behavior when numbered parameters and method definition are both used in a block
Ruby 3.2.2 exhibits the same behaviour as above but on master ( as of b1f345b1 ) all of these now evaluate to 'a' fcheung (Frederick Cheung)
11:14 PM Bug #18129 (Closed): Ractor-incompatible global variables can be accessed through alias
Closing, cannot reproduce this. @rm155 please feel free to reopen with reproduction instructions if the bug still exists. jemmai (Jemma Issroff)
11:01 PM Bug #18129: Ractor-incompatible global variables can be accessed through alias
I've tried a number of different variations on this, but never got it to reproduce (tried `ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]` and `ruby 3.0.6p216 (2023-03-30 revision 23a532679b) [x86_64-darwin22]` since the o... dazuma (Daniel Azuma)
11:12 PM Bug #19160 (Closed): cmp_clamp arguments
Fix was merged, so this can be closed. jemmai (Jemma Issroff)
11:03 PM Revision b4127084 (git): Record more info from CALLCACHE in heap dumps
This records the called_id and klass from imemo_callcache objects in
heap dumps.
jhawthorn (John Hawthorn)
10:48 PM Revision 775ed27d (git): [PRISM] Initialize keyword to silence warning
jemmai (Jemma Issroff)
10:45 PM Bug #18119: Ractor crashes when instantiating classes
Reproduces in 3.2.2 (MacOS 14 on x86_64). Again different error message:
```
ruby(17800,0x7000094bd000) malloc: Heap corruption detected, free list is damaged at 0x60000271cfe0
*** Incorrect guard value: 0
```
dazuma (Daniel Azuma)
10:41 PM Bug #18024: Ractor crashes when connections are closed in multiple Ractors
Also not able to reproduce on `ruby 3.2.2 (2023-03-30 revision e51014f9c0) [x86_64-darwin22]` or `ruby 3.3.0dev (2023-11-13T21:00:10Z master e8ab3f7010) [x86_64-darwin23]`. I wonder if this was an environment issue in the original report. dazuma (Daniel Azuma)
10:14 PM Revision c552a5f7 (git): YJIT: shrink `Context` down to 15 bytes (#8911)
* WIP context refactoring
* Refactor to remove Context.temp_mapping
maximecb (Maxime Chevalier-Boisvert)
10:03 PM Bug #17624: Ractor.receive is not thread-safe
Retested, still reproduces on 3.2.2 and 3.3.0-dev as of 2023 Nov 13.
dazuma (Daniel Azuma)
09:59 PM Bug #17617: When a Ractor's incoming port is closed, Ractor.receive_if does not raise Ractor::ClosedError, but instead blocks indefinitely
Retested, still reproduces on 3.2.2 and 3.3.0-dev as of 2023 Nov 13. dazuma (Daniel Azuma)
09:00 PM Revision e8ab3f70 (git): test: Check file name in test_thread_add_trace_func also
For better assert failure diagnostics. katei (Yuta Saito)
08:35 PM Bug #11142: Command line argument parser on windows handles double quotes inconsistently.

Is there a reason the windows parsing doesn't match the linux behavior?:
```
vscode ➜ /workspaces/ruby (master) $ ruby -e "puts ARGV" "foo""bar"
foobar
vscode ➜ /workspaces/ruby (master) $ ruby -e "puts ARGV" "foo"" bar"
foo bar
```
A...
pcai (Peter Cai)
08:11 PM Bug #9189: Build failure on Windows in case of nonascii TEMP environment.
I'm unable to reproduce. Windows presents an ascii-safe alias of the TEMP folder for me so I can't seem to test the handling:
* windows 11 (Version 10.0.22621 Build 22621)
* Ruby+Devkit 3.2.2-1 (x64)
```
C:\work>ruby -e "system('set TE...
pcai (Peter Cai)
08:02 PM Bug #11183: Cumulative error on Complex::I ** 100000000000000000000000000000000
This behavior still exists in Ruby 3.2.2.
In order to fix this Complex#** would need to handle the special cases of self being 0+1i and 0-1i.
Correct:
```
irb(main):052:0> Complex(0, -1) ** 1000000000000000000
=> (1+0i)
irb(m...
JesseJohnson (Jesse Johnson)
07:55 PM Bug #14364 (Open): Regexp last match variable in procs
jemmai (Jemma Issroff)
07:47 PM Bug #14364 (Closed): Regexp last match variable in procs
jemmai (Jemma Issroff)
07:51 PM Bug #17400: Incorrect character downcase for Greek Sigma
RubyConf Hack Day: Bug still exists in 3.2.2 katiecaballero2023 (Katie Caballero)
07:50 PM Bug #8444 (Open): Regexp vars $~ and friends are not thread local
jemmai (Jemma Issroff)
07:47 PM Bug #8444 (Closed): Regexp vars $~ and friends are not thread local
jemmai (Jemma Issroff)
07:34 PM Bug #8444: Regexp vars $~ and friends are not thread local
RubyConf Hack Day: suggest to close Anonymous
07:50 PM Bug #16145: regexp match error if mixing /i, character classes, and utf8
Confirmed that it's still happening on ruby -v ruby 3.2.2 (2023-03-30 revision e51014f9c0) [arm64-darwin23]
irb(main):001:0> 'CAFÉ' =~ /[xé]/i
=> nil
irb(main):002:0> "CAFÉ" =~ /x|é/i
=> 3
sancheta867 (Steven Ancheta)
07:46 PM Bug #9010: ./configure --prefix= cannot handle directories with spaces
Still happening on master as b1f345b1 when building on macos:
```
../configure --prefix="${HOME}/dir with space/.rubies/ruby-master"
make install
```
produces
```
...
linking shared-library libruby.3.3.dylib
clang: error: no...
fcheung (Frederick Cheung)
07:44 PM Bug #11514 (Closed): AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
Closing because AIX6.1 and Ruby 2.2 are both EOL, as per @jarrodreyesdev's comment https://bugs.ruby-lang.org/issues/11514#note-10 jemmai (Jemma Issroff)
06:54 PM Bug #11514: AIX6.1 - Ruby 2.2.3 - Segmentation fault in :byteslice
AIX6.1 is deprecated:
https://www.ibm.com/support/pages/tlsp-doc-number3035-support-lifecycle-notice-aix-61-technology-levels-6
Ruby 2.2 is end of life:
https://www.ruby-lang.org/en/downloads/branches/
jarrodreyesdev (Jarrod Reyes)
07:41 PM Bug #10436: ruby -c and ripper inconsistency: m(&nil) {}
This bug still exists on Ripper. Should we try revive @jeremyevans0's patch?
It is potentially worth noting that Prism creates a `ParseError`: "Multiple block arguments; only one block is allowed"
jemmai (Jemma Issroff)
07:29 PM Bug #8445: IO.open and IO#set_enconding does not support :fallback option
I can replicate this in 3.2.2. JesseJohnson (Jesse Johnson)
07:27 PM Bug #11808: Different behavior between Enumerable#grep and Array#grep
This appears to be fixed in 3.3.0dev as of Nov 2023,
``` ruby
irb(main):001* class Test
irb(main):002* include Enumerable
irb(main):003* def each
irb(main):004* return enum_for(:each) unless block_given?
irb(main):005*...
noelrap (Noel Rappin)
07:21 PM Bug #6360: Debug information build even without requesting it
This still seems to set -ggdb3 CFLAGS by default in trunk. Is this still considered a bug and if so, how should it be re-enabled? pcai (Peter Cai)
07:10 PM Bug #7968: Poor UDPSocket#send performance in ruby 2.0.0 on windows
Can anyone replicate this on Ruby 3 or later? JesseJohnson (Jesse Johnson)
07:07 PM Bug #7964: Writing an ASCII-8BIT String to a StringIO created from a UTF-8 String
@naruse (Yui NARUSE)
Like you said, the example comparisons aren't equal. I saw that the Feature #5677 that your linked to in your comment was rejected, would it be alright to close this issue?
madeline-hou (Madeline Hou)
06:58 PM Bug #8299: Minor error in float parsing
I'm not able to replicate this in Ruby 2.6 or Ruby 3.2. Has this been fixed in the relevant compilers? If so can this bug be closed?
```
irb(main):001:0> RUBY_VERSION
=> "2.6.10"
irb(main):002:0> -1.1505945E-5
=> -1.1505945e-05
`...
JesseJohnson (Jesse Johnson)
06:46 PM Bug #7742: System encoding (Windows-1258) is not recognized by Ruby to convert back to UTF-8
If I understand correctly this test case should convert correctly and not raise a Encoding::ConverterNotFoundError error.
```
"\xE3\xEC".force_encoding(Encoding::Windows_1258).encode(Encoding::UTF_8)
```
JesseJohnson (Jesse Johnson)
06:35 PM Bug #6351: transcode table generator does not support multi characters of Unicode
@duerst Is this still an issue? If so, is there a test case? JesseJohnson (Jesse Johnson)
05:36 PM Bug #20001: Make Ruby work properly with ASAN enabled
> I think I see my efforts here as complementary to yours, rather than duplicative
💯 I agree. I believe having both ASAN and Valgrind available is ideal. Valgind, I tend to be very confident in the results, but ASAN will be easier to ...
HParker (Adam Hess)
02:57 PM Revision bbfd735b (git): [rubygems/rubygems] TruffleRuby uses a bash prelude in default launchers
https://github.com/rubygems/rubygems/commit/e119f4208a Eregon (Benoit Daloze)
01:34 PM Revision d5c3680a (git): [ruby/prism] Add tests for error cases on #1791, #1807, and #1810
https://github.com/ruby/prism/commit/231e965124 make_now_just (Hiroya Fujinami)
12:42 PM Revision 90b49024 (git): [ruby/reline] Fallback to 256color if COLORTERM != truecolor
(https://github.com/ruby/reline/pull/604)
* Fallback to 256color if COLORTERM != truecolor
* Add Reline::Face.force_truecolor to force truecolor without COLORTERM env
https://github.com/ruby/reline/commit/090e1e4df0
tompng (tomoya ishida)
11:33 AM Revision 8e64c87f (git): [rubygems/rubygems] Make sure to `require "rubygems"` explicitly
This is also done in bundler/lib/bundler/rubygems_integration.rb, but
bundler/lib/bundler.rb loads this file before it.
https://github.com/rubygems/rubygems/commit/8840d8507b
nobu (Nobuyoshi Nakada)
10:17 AM Revision 50a5b76d (git): [wasm] allocate Asyncify setjmp buffer in heap
`rb_jmpbuf_t` type is considerably large due to inline-allocated
Asyncify buffer, and it leads to stack overflow even with small number
of C-method call frames. This commit allocates the Asyncify buffer used
by `rb_wasm_setjmp` in heap t...
katei (Yuta Saito)
09:04 AM Feature #19998: Emit deprecation warnings when the old (non-Typed) Data_XXX API is used
Interesting tidbits from the `re2` PR: https://github.com/mudge/re2/pull/116#pullrequestreview-1725029520
> I was unaware of the newer TypedData API.
Which IMO confirms that just marking something as deprecated in the documentatio...
byroot (Jean Boussier)
08:21 AM Bug #19922 (Open): ObjectSpace.dump_all in multiple threads in parallel causes SEGV
Reopening because the fix caused a failure on ruby-ci, so we'll revert for now. byroot (Jean Boussier)
07:57 AM Revision f1b95095 (git): Revert "Wrap rb_objspace_reachable_objects_from_root with RB_VM_LOCK"
This reverts commit 76dc327eeffefe02577999fe5f8215f762a581b6. byroot (Jean Boussier)
07:57 AM Revision a1887f4d (git): Revert "Fix crash caused by concurrent ObjectSpace.dump_all calls"
This reverts commit 9a62fd3cbae2ebb60e2f9cad782af1ad18db4319. byroot (Jean Boussier)
07:45 AM Revision 9ca41e99 (git): GVL Instrumentation: pass thread->self as part of event data
Context: https://github.com/ivoanjo/gvl-tracing/pull/4
Some hooks may want to collect data on a per thread basis.
Right now the only way to identify the concerned thread is to
use `rb_nativethread_self()` or similar, but even then becau...
byroot (Jean Boussier)
07:04 AM Revision 4376a175 (git): [DOC] Close a tag
nobu (Nobuyoshi Nakada)
06:59 AM Revision 44a6a13c (git): [DOC] Fix Timezone Objects description
From the beginning when Timezone object support was introduced,
Timezone objects are allowed everywhere offset strings are allowed.
nobu (Nobuyoshi Nakada)
02:28 AM Revision 952de171 (git): make-snapshot: update RUBY_PATCHLEVEL_STR regexp
the regexp to replace RUBY_PATCHLEVEL_STR for prerelease snapshots doesn't
match since GH-8578.
follow-up: https://github.com/ruby/ruby/pull/8578
follow-up: 68df43788dc237a1071f02b2d82768f844696315
sorah (Sorah Fukumori)
02:09 AM Feature #19010 (Closed): Follow up of #18996: Support changing irb's autocompletion background
hsbt (Hiroshi SHIBATA)
02:09 AM Feature #18996 (Closed): Proposal: Introduce new APIs to reline for changing dialog UI colours
hsbt (Hiroshi SHIBATA)
02:06 AM Revision 5bb75628 (git): [rubygems/rubygems] Explicitly define `@default_specifications_dir` for tests
Resetting `@default_specifications_dir` to `nil` means that the
`Gem.default_specifications_dir` needs to be invoked. However, given
that this method might be overridden by operating_system.rb and similar,
this might lead to various test...
Vít Ondruch
02:06 AM Revision 28f7a46f (git): [rubygems/rubygems] Provide more insightful test error output
Original output:
~~~
Failure: test_realworld_upgraded_default_gem(TestGemRequire): <false> is not true.
/mnt/test/rubygems/test_require.rb:474:in `test_realworld_upgraded_default_gem'
471: File.write(path, code)
472:
...
Vít Ondruch
02:06 AM Revision 5bdbe242 (git): [rubygems/rubygems] Add a warning in an edge case of using `gemspec` DSL
If a Gemfile duplicates a development dependency also defined in a local
gemspec with a different requirement, the requirement in the local
gemspec will be silently ignored.
This surprised me.
I think we should either:
* Make sure bot...
deivid (David Rodríguez)
02:06 AM Revision e2d7e53c (git): [rubygems/rubygems] This can be frozen now
https://github.com/rubygems/rubygems/commit/d06544add2 deivid (David Rodríguez)
02:06 AM Revision 3757d902 (git): [rubygems/rubygems] Remove now unnecessary dups
https://github.com/rubygems/rubygems/commit/56ce2a6445 deivid (David Rodríguez)
02:06 AM Revision e6c84d05 (git): [rubygems/rubygems] Remove now unnecessary dup
https://github.com/rubygems/rubygems/commit/3c1a6a7dfa deivid (David Rodríguez)
02:06 AM Revision c7bf511c (git): [rubygems/rubygems] Add a note about `required_rubygems_version` in Bundler
https://github.com/rubygems/rubygems/commit/9509d98b5c deivid (David Rodríguez)
02:06 AM Revision a4d80eee (git): [rubygems/rubygems] Let RuboCop target Ruby 3.0
https://github.com/rubygems/rubygems/commit/70243b1d72 deivid (David Rodríguez)
02:06 AM Revision 50482cd1 (git): [rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in Bundler
https://github.com/rubygems/rubygems/commit/93619c97ff deivid (David Rodríguez)
02:06 AM Revision 54511303 (git): [rubygems/rubygems] Drop support for Ruby 2.6 and Ruby 2.7 in RubyGems
https://github.com/rubygems/rubygems/commit/10c26a483d deivid (David Rodríguez)
02:06 AM Revision 435eb56f (git): [rubygems/rubygems] Automatically lock extra ruby platforms
Since we started locking the specific platform in the lockfile, that has
created an annoying situation for users that don't develop on Linux.
They will create a lockfile on their machines, locking their local
platform, for example, darwi...
deivid (David Rodríguez)
02:06 AM Revision 59b361aa (git): [rubygems/rubygems] Refactor platform test helpers
https://github.com/rubygems/rubygems/commit/7ab4c203f9 deivid (David Rodríguez)
02:06 AM Revision f273132b (git): [rubygems/rubygems] Extract builder to create a `LazySpecification` from full spec
https://github.com/rubygems/rubygems/commit/957d3d9a7f deivid (David Rodríguez)
02:06 AM Revision 58b0a674 (git): [rubygems/rubygems] Extract a new small platform helper
https://github.com/rubygems/rubygems/commit/8f7340df8e deivid (David Rodríguez)
02:06 AM Revision bd6aaa78 (git): [rubygems/rubygems] Remove unused `SpecSet#merge`
https://github.com/rubygems/rubygems/commit/53e0490b55 deivid (David Rodríguez)
02:06 AM Revision 196d1bf5 (git): [rubygems/rubygems] Pass source to `LazySpecification` initializer
https://github.com/rubygems/rubygems/commit/05120e2fe8 deivid (David Rodríguez)
02:06 AM Revision 636b70d2 (git): [rubygems/rubygems] Allow setting metadata on LazySpecification
This is a step forward towards eventually including metadata in the
lockfile.
https://github.com/rubygems/rubygems/commit/56fc02b251
deivid (David Rodríguez)
02:06 AM Revision ea7cde64 (git): [rubygems/rubygems] Set LazySpecification dependencies directly
https://github.com/rubygems/rubygems/commit/2462c8e04d deivid (David Rodríguez)
02:06 AM Revision 43b8b887 (git): [rubygems/rubygems] Report possible error prior checking output of gem uninstall
Originally, the failed test case reported following error:
~~~
Failure: test_gem_exec_gem_uninstall(TestGemCommandsExecCommand):
<""> was expected to include
<"Successfully uninstalled a-2\n">.
/mnt/test/rubygems/test_gem_commands_e...
Vít Ondruch
01:16 AM Misc #19997: DevMeeting-2023-11-30
* [Feature #11322] OpenUri: RuntimeError: HTTP redirection loop
* https://github.com/ruby/open-uri/pull/18
* Is `max_redirects` okay for this?
hsbt (Hiroshi SHIBATA)
01:15 AM Feature #11322: OpenUri: RuntimeError: HTTP redirection loop
https://github.com/ruby/open-uri/pull/18 is another approach with `max_redirects` option. hsbt (Hiroshi SHIBATA)

11/12/2023

10:38 PM Bug #20001: Make Ruby work properly with ASAN enabled
This is the first part of this work: https://github.com/ruby/ruby/pull/8903
With this PR, i can at least run `make` with asan enabled on both macos & linux with clang. GCC still doesn't work and i haven't tried actually running the te...
kjtsanaktsidis (KJ Tsanaktsidis)
12:14 AM Bug #20001 (Closed): Make Ruby work properly with ASAN enabled
This ticket covers some work I want to do to get the ASAN infrastructure working in Ruby working again. I don't know if it ever worked well, but if it did, it appears to have bitrotted. Here are a few of its current problems:
### Stac...
kjtsanaktsidis (KJ Tsanaktsidis)
08:32 PM Bug #20003: Array#rassoc does not preform implicit conversion
temabolshakov (Tema Bolshakov) wrote:
> There is a difference between behaviour of Array#assoc and Array#rassoc. The first one performs implicit conversion (calls #to_ary) while the former does not.
> ...
I prepared a fix here https:/...
temabolshakov (Tema Bolshakov)
08:00 PM Bug #20003 (Closed): Array#rassoc does not preform implicit conversion
There is a difference between behaviour of Array#assoc and Array#rassoc. The first one performs implicit conversion (calls #to_ary) while the former does not.
``` ruby
class ArrayConvertible
def initialize(*values)
@values =...
temabolshakov (Tema Bolshakov)
04:51 PM Bug #19922 (Closed): ObjectSpace.dump_all in multiple threads in parallel causes SEGV
Fixed in 76dc327eeffefe02577999fe5f8215f762a581b6 and 9a62fd3cbae2ebb60e2f9cad782af1ad18db4319
byroot (Jean Boussier)
02:34 PM Bug #19922: ObjectSpace.dump_all in multiple threads in parallel causes SEGV
Thank you. https://github.com/ruby/ruby/pull/8858 resolves my issue. wanabe (_ wanabe)
04:50 PM Revision 9a62fd3c (git): Fix crash caused by concurrent ObjectSpace.dump_all calls
Since the callback defined in the objspace module might give up the GVL,
we need to make sure the right cr->mfd value is set back after the GVL
is re-obtained.
kjtsanaktsidis (KJ Tsanaktsidis)
04:50 PM Revision 76dc327e (git): Wrap rb_objspace_reachable_objects_from_root with RB_VM_LOCK
rb_objspace_reachable_objects_from has it too, so I figure it's most
likely required for _from_root as well.
kjtsanaktsidis (KJ Tsanaktsidis)
12:22 PM Feature #20002: Print C-level backtrace on uncaught Ruby exceptions
byroot (Jean Boussier) wrote in #note-1:
> Maybe you already know, but when debugging a C extension you can trigger a crash report with `rb_bug("message")`.
Yes, but the problem is that it is difficult to know where the exception is ...
osyoyu (Daisuke Aritomo)
09:55 AM Feature #20002: Print C-level backtrace on uncaught Ruby exceptions
Maybe you already know, but when debugging a C extension you can trigger a crash report with `rb_bug("message")`.
byroot (Jean Boussier)
09:36 AM Feature #20002 (Open): Print C-level backtrace on uncaught Ruby exceptions
When a uncaught Ruby exception occurs, the Ruby-level backtrace is printed.
While this information is valuable for debugging Ruby code, this isn't necessarily the case when developing C extensions, since this message has no information ...
osyoyu (Daisuke Aritomo)
04:51 AM Revision 60e19a0b (git): Just check if iteration level is non-zero
The level in ivar is no longer needed to check if iterating, only used
for increment/decrement.
nobu (Nobuyoshi Nakada)
04:51 AM Revision 9ab64b1d (git): Refactor hash iteration level
- Make it unsigned like as in-flags bits
- Make it long since it should be fixable
- Reduce it to in-flags bits after decrement
nobu (Nobuyoshi Nakada)
03:20 AM Bug #19994: Seemingly require causes segfault??
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-3:
>
> ...
Okay, with commit:e6916f1305 I still see this segfault, but with PR8899 applied, I don't see this segfault any longer and
the original rubygem-stringex test suite also passes...
mtasaka (Mamoru TASAKA)
02:53 AM Revision 94f82a65 (git): [ruby/prism] Add the ability to convert nodes to dot
https://github.com/ruby/prism/commit/3e4b4fb947 kddnewton (Kevin Newton)
02:34 AM Revision 2fb1d374 (git): [ruby/prism] Reject invalid rational literals like `1e1r` on lexing
Fix https://github.com/ruby/prism/pull/1586
https://github.com/ruby/prism/commit/b3bde866f2
make_now_just (Hiroya Fujinami)
12:53 AM Bug #19716: SystemStackError occurs too easily on Alpine Linux (due to small stack size reported by pthread_attr_getstacksize on musl libc)
It would be great to get this fixed finally. There are no bugs reported, since Alpine linux is used mostly as Docker container system and official Ruby alpine image already includes the patch https://github.com/docker-library/ruby/blob/3... retro (Josef Šimánek)
12:25 AM Bug #19976 (Closed): test/fiber/test_queue.rb stuck tests in Ubuntu ppc64le
jeremyevans0 (Jeremy Evans)
 

Also available in: Atom