Project

General

Profile

Activity

From 06/30/2024 to 07/06/2024

07/06/2024

05:32 PM Feature #20609: Nested module namespace misses fallback to top level
This is expected. When you do:
```ruby
module A::B
end
```
Understand that in Ruby, this is a general form o...
jeremyevans0 (Jeremy Evans)
02:10 PM Feature #20609 (Open): Nested module namespace misses fallback to top level

Currently, Ruby falls back to the top-level constants if it cannot find the Module in the local scope. This can cau...
abdullah.arif (Abdullah Arif)
10:07 AM Bug #20606 (Closed): Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
Applied in changeset commit:git|7f1fe5f091db3b05c3970e7b7a7c602922729642.
----------
Raise a TypeError for Thread#th...
jeremyevans (Jeremy Evans)
07:19 AM Bug #20305: commit 1d2d25dcadda0764f303183ac091d0c87b432566 breaks grapheme_clusters
ruby_3_2 commit:a67b43d99e24dc7c2a9e134a65f28f968fe124c1 merged revision(s) commit:3a04ea2d0379dd8c6623c2d5563e6b4e23... nagachika (Tomoyuki Chikanaga)
07:19 AM Bug #20239: Segmentation fault when using Regex on a large String
ruby_3_2 commit:2b35d80834f14011f7d313f8fac7855dc9949f70 merged revision(s) commit:75aaeb35b82da26359b9418d2963384d0c... nagachika (Tomoyuki Chikanaga)
06:36 AM Bug #20288: `rb_fiber_scheduler_close` exceptions are not handled in `rb_fiber_scheduler_set`.
ruby_3_2 commit:89de66dbb0d8454c9d69faa331d6e35f8b315cce merged revision(s) commit:78d9fe69479d32214a52ad7291c3973f1b... nagachika (Tomoyuki Chikanaga)
06:35 AM Bug #20393: `after_fork_ruby` clears all pending interrupts for both parent and child process.
Thanks! ioquatix (Samuel Williams)
06:34 AM Bug #20393: `after_fork_ruby` clears all pending interrupts for both parent and child process.
ruby_3_2 commit:5577e5d396cc8f062833b67d6280db6cc8501e7a merged revision(s) commit:a7ff264477105b5dc0ade6facad4176a1b... nagachika (Tomoyuki Chikanaga)
06:35 AM Bug #20286: TracePoint does not emit `thread_end` event when thread exits with exception
ruby_3_2 commit:89de66dbb0d8454c9d69faa331d6e35f8b315cce merged revision(s) commit:78d9fe69479d32214a52ad7291c3973f1b... nagachika (Tomoyuki Chikanaga)
05:14 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
> So either the metadata should signal just IBT
in the meanwhile I've done this in https://github.com/ruby/ruby/pu...
kjtsanaktsidis (KJ Tsanaktsidis)
04:27 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
I wonder if distributors who want shadow-stack support should just compile Ruby with `--with-coroutine=ucontext` to u... kjtsanaktsidis (KJ Tsanaktsidis)
02:24 AM Bug #20413: Enumerator can block fiber scheduler.
Sorry, I accidentally handled a different ticket (#20414).
ruby_3_2 commit:2f8f17e842666abb05ca522d6072c957fab0e12...
nagachika (Tomoyuki Chikanaga)
02:22 AM Bug #20414: `Fiber#raise` should recurse to `resumed_fiber` rather than failing.
Sorry, I accidentally changed a different ticket. nagachika (Tomoyuki Chikanaga)
02:20 AM Bug #20414: `Fiber#raise` should recurse to `resumed_fiber` rather than failing.
ruby_3_2 commit:2f8f17e842666abb05ca522d6072c957fab0e12e merged revision(s) commit:5d1702e01a36e11b183fe29ce10780a9b1... nagachika (Tomoyuki Chikanaga)
02:13 AM Bug #20414: `Fiber#raise` should recurse to `resumed_fiber` rather than failing.
I think this change seems somewhat like a spec change. Could this change potentially reveal latent errors in the appl... nagachika (Tomoyuki Chikanaga)
02:01 AM Bug #20499: Ruby builds on macOS store absolute paths for AR and NM in rbconfig since Ruby 3.2.3/3.3.0
ruby_3_2 commit:5141d72fde2528721663ddbc0554ac81ddc0656f merged revision(s) commit:1e08a9f0e9058186db18f29efc6458c00f... nagachika (Tomoyuki Chikanaga)

07/05/2024

06:18 PM Bug #20608 (Assigned): Hash#find always allocates each iterated pair
I have prototyped a patch that delays the array allocation of multiple arguments for `Enumerable#find`, `#any?` etc.
...
mame (Yusuke Endoh)
10:32 AM Bug #20608: Hash#find always allocates each iterated pair
> I personally don't like the idea of manually copying many Enumerable methods into Hash...
It is indeed annoying....
ivoanjo (Ivo Anjo)
10:07 AM Bug #20608: Hash#find always allocates each iterated pair
As you've probably noticed from reading the source, there is no `Hash#find` method. `Enumerable#find` is. It cannot k... mame (Yusuke Endoh)
08:49 AM Bug #20608 (Closed): Hash#find always allocates each iterated pair
Hey there!
Recently I ran into this sharp edge in `Hash#find`:
```ruby
puts RUBY_DESCRIPTION
def allocated_...
ivoanjo (Ivo Anjo)
05:17 PM Misc #20574: DevMeeting-2024-07-11
* [Bug #20505] Reassigning the block argument in method body keeps old block when calling super with implicit argumen... jeremyevans0 (Jeremy Evans)
04:29 PM Bug #20606: Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
Eregon (Benoit Daloze) wrote in #note-4:
> > I'm not opposed to changing the behavior, but raising an exception when...
jeremyevans0 (Jeremy Evans)

07/04/2024

07:35 PM Feature #20405: Inline comments
This could be particularly useful for projects like `rbs-inline`. pabloh (Pablo Herrero)
05:40 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
fweimer (Florian Weimer) wrote in #note-48:
> The change in https://github.com/ruby/ruby/pull/11081/files does not l...
vo.x (Vit Ondruch)
07:28 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
The change in https://github.com/ruby/ruby/pull/11081/files does not look correct to me because it enables shadow sta... fweimer (Florian Weimer)
07:20 AM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
ioquatix (Samuel Williams) wrote in #note-46:
> BTW, IIUC, if we can use CET instead of the shadow stack, it's a far ...
vo.x (Vit Ondruch)
11:00 AM Misc #20574: DevMeeting-2024-07-11
* [Bug #20606] `Thread#thread_variable_get` and `Thread#thread_variable?` don't raise `TypeError` exception for incor... andrykonchin (Andrew Konchin)
10:02 AM Bug #20606: Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
> I'm not opposed to changing the behavior, but raising an exception when one was not previously raised presents back... Eregon (Benoit Daloze)
09:46 AM Bug #20606: Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
@jeremyevans0 The specs were added in https://github.com/ruby/spec/pull/1127 (so not written by Andrii, but reviewed ... Eregon (Benoit Daloze)

07/03/2024

11:40 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
BTW, IIUC, if we can use CET instead of the shadow stack, it's a far simpler and more efficient solution, so I'm stro... ioquatix (Samuel Williams)
11:39 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
Thanks, I agree with your proposed change. ioquatix (Samuel Williams)
12:10 AM Bug #18061 (Assigned): Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
hsbt (Hiroshi SHIBATA)
11:01 PM Bug #20597: `eval('break if false')` should raise SyntaxError but retuns nil
I submitted a pull request to fix this (but prism still needs a related fix) https://github.com/ruby/ruby/pull/11099 jeremyevans0 (Jeremy Evans)
08:35 PM Bug #20606: Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
This change would be simple to implement, and I agree the fiber/thread variable inconsistency seems odd. There are s... jeremyevans0 (Jeremy Evans)
03:56 PM Bug #20606 (Closed): Thread#thread_variable_get, Thread#thread_variable? and Thread#[] methods handle non-String/Symbol parameter values differently
The `Thread#thread_variable_get`, `Thread#thread_variable?` and `Thread#[]` methods handle the `key` parameter that i... andrykonchin (Andrew Konchin)
08:34 PM Bug #20607: Exception messages are inconsistent when thread-local variables are accessed
I submitted a pull request to make the error message consistent: https://github.com/ruby/ruby/pull/11097 jeremyevans0 (Jeremy Evans)
04:41 PM Bug #20607 (Closed): Exception messages are inconsistent when thread-local variables are accessed
`Thread`'s methods to manipulate thread-local variables raise `TypeError` exceptions with slightly different messages... andrykonchin (Andrew Konchin)
06:26 PM Bug #20605 (Closed): PRs with backported fix for https://github.com/ruby/ruby/pull/11036 to Ruby 3.3 and 3.2
jeremyevans0 (Jeremy Evans)
01:42 PM Bug #20605 (Closed): PRs with backported fix for https://github.com/ruby/ruby/pull/11036 to Ruby 3.3 and 3.2
Hey! I work for Datadog on the Ruby profiler part of the [datadog (previously ddtrace)](https://github.com/datadog/dd... ivoanjo (Ivo Anjo)
06:21 PM Bug #20603 (Closed): Rails Active Job test gets segmentation fault
jeremyevans0 (Jeremy Evans)
06:19 PM Bug #20599 (Closed): TypeError: #<BaseMailer:0x00000000008070> is not a symbol nor a string since 4cbc41d5e5cb6793174d5964975fdb4470323ca1 with YJIT enabled
jeremyevans0 (Jeremy Evans)
12:10 AM Bug #20599 (Assigned): TypeError: #<BaseMailer:0x00000000008070> is not a symbol nor a string since 4cbc41d5e5cb6793174d5964975fdb4470323ca1 with YJIT enabled
hsbt (Hiroshi SHIBATA)
03:39 PM Bug #20601: Configuration flags are not properly propagated to assembler
kjtsanaktsidis (KJ Tsanaktsidis) wrote in #note-4:
> and in fact I would go a step furthre and delete `$ASFLAGS` in ...
vo.x (Vit Ondruch)
11:58 AM Bug #20601: Configuration flags are not properly propagated to assembler
Just one more thing: I was worried for a moment that trying to assemble with `$CFLAGS` would cause problems if you ha... kjtsanaktsidis (KJ Tsanaktsidis)
11:47 AM Bug #20601: Configuration flags are not properly propagated to assembler
OK, I poked at this a bit tonight. I have quite a few thoughts but they're kind of disorganised.
The short version o...
kjtsanaktsidis (KJ Tsanaktsidis)
08:54 AM Bug #20601: Configuration flags are not properly propagated to assembler
Is something like that really needed? From my POV, the issue is that originally, there were `.s` files processed by A... vo.x (Vit Ondruch)
04:21 AM Bug #20601: Configuration flags are not properly propagated to assembler
I think we should do what we did for the pac-ret stuff, that Florian recommended, right? Run tests against CFLAGS in ... kjtsanaktsidis (KJ Tsanaktsidis)
03:16 PM Feature #20470 (Closed): Extract Ruby's Garbage Collector
Applied in changeset commit:git|51bd816517941798c63e587a5a9f3caf69cd510e.
----------
[Feature #20470] Split GC into ...
peterzhu2118 (Peter Zhu)
02:31 PM Feature #20589 (Closed): Resize array in `rb_ary_freeze` and use `rb_ary_freeze` internally for arrays
Closing given https://github.com/ruby/ruby/pull/11030 was merged yesterday.
However it caused some assertions fail...
byroot (Jean Boussier)
12:11 AM Bug #20462 (Assigned): Native threads are no longer reused
hsbt (Hiroshi SHIBATA)

07/02/2024

09:53 PM Bug #20603: Rails Active Job test gets segmentation fault
Confirmed b2b8306b46 addresses this issue. Thanks for the fix.
```
$ ruby -v
ruby 3.4.0dev (2024-07-02T18:48:43Z...
yahonda (Yasuo Honda)
05:37 PM Bug #20603: Rails Active Job test gets segmentation fault
I opened a fix https://github.com/ruby/ruby/pull/11086 eileencodes (Eileen Uchitelle)
01:05 PM Bug #20603 (Closed): Rails Active Job test gets segmentation fault
Rails Active Job test sometimes gets segmentation fault.
https://buildkite.com/rails/rails-nightly/builds/723#01906a...
yahonda (Yasuo Honda)
05:18 PM Bug #20604 (Rejected): Performance regression in C++ extensions due to lack of optimization flags by default since Ruby 2.7
I found a significant performance regression in `sassc` gem when comparing Ruby 2.6 and later, that the extension is ... ntkme (Natsuki Natsume)
12:42 PM Bug #20602 (Closed): RangeError: integer 128496650801200 too big to convert to 'int' without YJIT since cdf33ed5f37f9649c482c3ba1d245f0d80ac01ce
I have opened https://bugs.ruby-lang.org/issues/20588 and the test case has been fixed via 4cbc41d5e5cb6793174d596497... yahonda (Yasuo Honda)
12:38 PM Bug #20601: Configuration flags are not properly propagated to assembler
This might be the medicine:
~~~patch
$ git diff
diff --git a/template/Makefile.in b/template/Makefile.in
index ...
vo.x (Vit Ondruch)
12:24 PM Bug #20601 (Closed): Configuration flags are not properly propagated to assembler
Looking into #18061, one of the issues is that the `.S` files are not processed with the correct flags. For example t... vo.x (Vit Ondruch)
11:24 AM Bug #20573: Warning.warn shouldn't be called for disabled warnings
As a small note on this, it's typically better to check `$VERBOSE` level and if the category is enabled before even g... Eregon (Benoit Daloze)
06:00 AM Bug #20592: Interrupting Addrinfo causes Segmentation fault on alpine
@nagachika @k0kubun When you backport this patch, please backport commit:d8c6e91748871ab2287d7703347847fe18a292d2 as ... mame (Yusuke Endoh)
04:47 AM Misc #20600 (Closed): @ruby-lang.org has been migrated to Cloudflare
@ruby-lang.org has been migrated to Cloudflare, because ruby-lang.org was migrated from Google Domains to Squarespace... shugo (Shugo Maeda)

07/01/2024

11:45 PM Bug #20599: TypeError: #<BaseMailer:0x00000000008070> is not a symbol nor a string since 4cbc41d5e5cb6793174d5964975fdb4470323ca1 with YJIT enabled
This issue does not reproduce since a2c27bae9653a817b4e5f699f421836f8f97410b .
However, similar issue like #20588 ha...
yahonda (Yasuo Honda)
05:24 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
vo.x (Vit Ondruch) wrote in #note-41:
> Given that [GCC documentation](https://gcc.gnu.org/onlinedocs/gcc/Instrument...
vo.x (Vit Ondruch)
04:53 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
And FTR, [this](https://github.com/gcc-mirror/gcc/blob/8088374a868aacab4dff208ec3e3fde790a1d9a3/gcc/config/i386/cet.h... vo.x (Vit Ondruch)
04:52 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
As can be seen, I am testing this with Ruby 3.3.2. The upstream situation is, however, already a bit different since ... vo.x (Vit Ondruch)
04:42 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
Forgot to mention that Ruby needs to be built with `--disable-yjit`, because Rust is another problem:
https://bugz...
vo.x (Vit Ondruch)
04:37 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
So I am experimenting with this simple patch:
~~~patch
diff --git a/coroutine/amd64/Context.S b/coroutine/amd64/C...
vo.x (Vit Ondruch)
05:13 PM Bug #20099: Ruby 3.3.0 segfaults on s390x musl libc (Alpine Linux) when built with -O3 (default optflags)
I've tried to reproduce the bug on Linux One s390x machine(using docker image alpinelinux/alpine-gitlab-ci with ruby ... haukot (Dmitry Davydov)
11:35 AM Bug #20596 (Closed): [BUG] unexpected rb_parser_ary_data_type (0) for script lines
Eregon (Benoit Daloze)
01:11 AM Bug #20596: [BUG] unexpected rb_parser_ary_data_type (0) for script lines
Applied the patch to master branch https://github.com/ruby/ruby/pull/11076. yui-knk (Kaneko Yuichiro)
 

Also available in: Atom