Project

General

Profile

Activity

From 07/30/2021 to 08/05/2021

08/05/2021

05:49 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
It seems we can check if the `.note.gnu.property` exists in a binary file by the command `readelf -S --wide <file>`. ... jaruga (Jun Aruga)
05:10 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
By the way, I found a case generating ".note.gnu.property section" in the OpenSSL project.
https://github.com/openss...
jaruga (Jun Aruga)
03:52 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
I applied the patch for the Ruby 3.0.2 in RHEL 8, built. But I still see the failed message.
```
annocheck: Versi...
jaruga (Jun Aruga)
03:38 PM Bug #7844: include/prepend satisfiable module dependencies are not satisfied
PickachuEXE on GitHub requested this be backported to 2.7: https://github.com/ruby/ruby/pull/4711 . This does affect... jeremyevans0 (Jeremy Evans)
03:29 PM Bug #17806: Bad interaction between method cache, prepend, and refinements
Hi @mk, from the description you gave, it's possible that you are running into #17725.
I would try running these two...
alanwu (Alan Wu)
11:49 AM Bug #17806: Bad interaction between method cache, prepend, and refinements
Hi @alanwu,
at GitLab we are currently working on making our application Ruby 3 ready.
We are running into a st...
mk (Matthias Käppler)
02:52 PM Feature #18045: Variable Width Allocation Phase II
Hi @duerst, thank you for the feedback. Thank you for adding it to the committer meeting, we will wait for their feed... peterzhu2118 (Peter Zhu)
12:55 AM Feature #18045: Variable Width Allocation Phase II
I think this should really be discussed seriously at least once at a committer's meeting. I have added it to #18039. ... duerst (Martin Dürst)
02:10 PM Bug #12706: Hash#each yields inconsistent number of args
I just ran into this since I hadn't been aware of this change.
What I find odd about this change is that it introd...
mk (Matthias Käppler)
11:32 AM Bug #18062: Ruby with enabled LTO segfaults during build
Maybe a strict aliasing issue?
nobu (Nobuyoshi Nakada)
08:42 AM Bug #18062: Ruby with enabled LTO segfaults during build
vo.x (Vit Ondruch) wrote in #note-2:
> I'd say it goes sideways somewhere here:
>
> https://github.com/ruby/ruby/...
vo.x (Vit Ondruch)
08:30 AM Bug #18062: Ruby with enabled LTO segfaults during build
I'd say it goes sideways somewhere here:
https://github.com/ruby/ruby/blob/0db68f023372b634603c74fca94588b457be084...
vo.x (Vit Ondruch)
08:11 AM Bug #18062: Ruby with enabled LTO segfaults during build
GDB output:
~~~
$ gdb ./miniruby
GNU gdb (GDB) Fedora 10.2-6.fc35
Copyright (C) 2021 Free Software Foundation...
vo.x (Vit Ondruch)
07:56 AM Bug #18062 (Closed): Ruby with enabled LTO segfaults during build
After a while, I am trying to enable LTO for Ruby in Fedora. Previously I hit #17052, but now I observe issues much e... vo.x (Vit Ondruch)
10:05 AM Bug #18054: No rule to make target 'thread_fd_close.c', needed by 'thread_fd_close.o'
duerst (Martin Dürst) wrote in #note-2:
> Do you mean `ext/-test-/thread_fd_close` should no longer exist? Or someth...
nobu (Nobuyoshi Nakada)
08:08 AM Bug #18054: No rule to make target 'thread_fd_close.c', needed by 'thread_fd_close.o'
(sorry this answer is late)
nobu (Nobuyoshi Nakada) wrote in #note-1:
> Do `ext/-test-/thread_fd` directory and `...
duerst (Martin Dürst)
10:02 AM Feature #18063 (Open): io_uring implementation
https://www.youtube.com/watch?v=TYq_ohhYZ9A eugene.shved (Eugene Shved)
12:33 AM Misc #18039: DevelopersMeeting20210819Japan
* [Feature #18045] Variable Width Allocation Phase II (peterzhu2118)
* Variable Width Allocation is a major change ...
duerst (Martin Dürst)

08/04/2021

09:16 PM Feature #18045: Variable Width Allocation Phase II
Hello! We’re still looking for feedback on this. If there are no concerns, we’ll merge it next week. peterzhu2118 (Peter Zhu)
04:39 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
Thanks for the patch! Let me check it.
jaruga (Jun Aruga)
04:20 PM Bug #18061: Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
Does it work just by adding an empty section?
nobu (Nobuyoshi Nakada)
01:37 PM Bug #18061 (Closed): Execshield test: libruby.so.N.N.N: FAIL: property-note test because no .note.gnu.property section found
I found an issue in our company's internal test called "execshield" by a security tool annobin - annocheck command [1... jaruga (Jun Aruga)
08:05 AM Bug #14137: Windows / MinGW - Regexp - Character Properties - General Category
I agree with @jeremyevans0, but would like to add that
```
ruby -e 'p (/\p{L}/.match("a"))'
```
will produce `#<M...
duerst (Martin Dürst)
06:01 AM Misc #18059: Which FL_USERx are open to extension libraries?
duerst (Martin Dürst) wrote in #note-6:
> Dan0042 (Daniel DeLorme) wrote in #note-4:
>
> > Actually I have so man...
duerst (Martin Dürst)
03:53 AM Misc #18059: Which FL_USERx are open to extension libraries?
Dan0042 (Daniel DeLorme) wrote in #note-4:
> Actually I have so many questions about flags,...
> It would be nice...
duerst (Martin Dürst)

08/03/2021

11:47 PM Misc #18059: Which FL_USERx are open to extension libraries?
Dan0042 (Daniel DeLorme) wrote in #note-4:
> I thought it meant those flags have a different usage for each class. N...
nobu (Nobuyoshi Nakada)
03:48 PM Misc #18059: Which FL_USERx are open to extension libraries?
shyouhei (Shyouhei Urabe) wrote in #note-1:
> The "USER" terminology never seriously meant anything I guess.
I th...
Dan0042 (Daniel DeLorme)
01:37 PM Misc #18059: Which FL_USERx are open to extension libraries?
I think it could also make sense to deprecate those macros (e.g., by making them use functions marked as deprecated) ... Eregon (Benoit Daloze)
01:32 PM Misc #18059: Which FL_USERx are open to extension libraries?
Those specs were added because gems rely on it (https://github.com/oracle/truffleruby/issues/1884).
`rbtree3` is an ...
Eregon (Benoit Daloze)
03:11 AM Misc #18059: Which FL_USERx are open to extension libraries?
I guess none of them are open for extension libraries. For instance `FL_USER0` is `FL_SINGLETON`. It is obvious tha... shyouhei (Shyouhei Urabe)
12:38 AM Misc #18059 (Closed): Which FL_USERx are open to extension libraries?
Often the following failure occurs in `test-spec`.
```
RBasic support for regular objects supports copying the fl...
nobu (Nobuyoshi Nakada)
09:48 PM Misc #18039: DevelopersMeeting20210819Japan
* [Bug #13392] TracePoint return event location is incorrect for methods defined with define_method (alanwu)
* The...
alanwu (Alan Wu)
01:48 AM Misc #18039: DevelopersMeeting20210819Japan
* [Feature #18051] Move symbols exported under internal (nobu)
* Some symbols exported in headers under `internal`...
nobu (Nobuyoshi Nakada)
12:41 AM Misc #18039: DevelopersMeeting20210819Japan
* [Misc #18059] Which `FL_USER`x are open to extension libraries? (nobu)
* (need comment)
nobu (Nobuyoshi Nakada)
09:47 PM Bug #13392: TracePoint return event location is incorrect for methods defined with define_method
I implemented an alternative fix that is more complicated but allows for future optimizations here: https://github.co... alanwu (Alan Wu)
09:31 PM Bug #18060 (Closed): Infinite loop when b_return TracePoint raises
The following program loops indefinitely:
```ruby
puts("PID: #{$$}")
class Foo
define_singleton_method(:foo...
alanwu (Alan Wu)
11:56 AM Bug #18048: Thread#join can break with fiber scheduler unblock fails or blocks.
I see the git:2d4f29e77e883c29e35417799f8001b8046cde03 was pushed as the retry of 13f8521c630a15c87398dee0763e95f59c0... nagachika (Tomoyuki Chikanaga)
03:10 AM Bug #18011 (Closed): `Method#parameters` is incorrect for forwarded arguments
Applied in changeset commit:git|4c3140d60f6f94504842a4d0c0d79752a87aec8d.
----------
Add keyrest to ruby2_keywords p...
nobu (Nobuyoshi Nakada)

08/02/2021

08:31 PM Bug #18058: 3.1.0-dev with MJIT enabled Zlib::BufError during `gem install`
Here you go:
```
/usr/local/lib/ruby/3.1.0/rubygems/package.rb:698:in `read': buffer error (Zlib::BufError)
fro...
byroot (Jean Boussier)
08:28 PM Bug #18058: 3.1.0-dev with MJIT enabled Zlib::BufError during `gem install`
> Do you know if we can let Bundler show the backtrace?
It's `rubygems` not bundler. I don't know how make it prin...
byroot (Jean Boussier)
08:26 PM Bug #18058: 3.1.0-dev with MJIT enabled Zlib::BufError during `gem install`
Do you know if we can let ~~Bundler~~ rubygems (you're right, it wasn't Bundler) show the backtrace? The first step t... k0kubun (Takashi Kokubun)
11:45 AM Bug #18058 (Closed): 3.1.0-dev with MJIT enabled Zlib::BufError during `gem install`
It doesn't always happen (maybe 5-10% of the cases), but since I added MJIT to our CI builds I've been seeing this er... byroot (Jean Boussier)
02:16 PM Feature #18057: Introduce Array#mean
@nobu - yup, you are correct. The expected behaviour should be like this
```ruby
[1,2].mean #=> 1.5
```
ggmichaelgo (Michael Go)
01:54 PM Feature #18057: Introduce Array#mean
When `ary` has only `Integer`s, `ary.sum` is also an `Integer` and `ary.sum / ary.length` too.
```ruby
[1,2].sum ...
nobu (Nobuyoshi Nakada)
01:14 PM Feature #18057: Introduce Array#mean
💡 You can also use the [Refinements](https://www.alchemists.io/projects/refinements/#_mean) gem which also provides `... bkuhlmann (Brooke Kuhlmann)
04:46 AM Feature #18057: Introduce Array#mean
Thank you @mrkn!
I didn't know about enumerable-statistics, and I can definitely use this in my projects!!
I wish I...
ggmichaelgo (Michael Go)
04:42 AM Feature #18057: Introduce Array#mean
I definitely prefer using `mean` over `average`!
ggmichaelgo (Michael Go)
03:41 AM Feature #18057: Introduce Array#mean
I created [enumerable-statistics gem](https://github.com/mrkn/enumerable-statistics) to provide the methods for calcu... mrkn (Kenta Murata)
01:50 AM Feature #18057: Introduce Array#mean
oh goodness... that is embarrassing... Thank you for catching my error... 🙏 ggmichaelgo (Michael Go)
01:43 AM Feature #18057: Introduce Array#mean
ggmichaelgo, thanks for the reply. I have thought that what you wrote as the comment in the example code snippet are ... sawa (Tsuyoshi Sawada)
01:26 AM Feature #18057: Introduce Array#mean
Hello Sawa! I apologize for the confusion... (this is my first time contributing, and I am hoping to contribute more ... ggmichaelgo (Michael Go)
01:05 AM Feature #18057: Introduce Array#mean
The proposal is unclear. It seems to be neither arithmetic nor geometric mean. What kind of average do you have in m... sawa (Tsuyoshi Sawada)
12:22 AM Feature #18057: Introduce Array#mean
I have created PR for this feature :)
https://github.com/ruby/ruby/pull/4699
ggmichaelgo (Michael Go)
12:02 AM Feature #18057 (Open): Introduce Array#mean
Introduce Array#average to calculate the average value of an array.
```ruby
array = [1, 2, 3]
array.mean # 2
...
ggmichaelgo (Michael Go)

08/01/2021

09:53 AM Bug #10902: require("enumerator") scans LOAD_PATH 2x on every invocation
ruby_3_0 6f4ab641bb1035c5811e42e43320112e4a502a0e merged revision(s) 345db8f2aa373a31c619c8f85bd372f0a20829c1. nagachika (Tomoyuki Chikanaga)
09:27 AM Bug #17725: Prepend breaks ability to override optimized methods
I think fa0279d947c3962c3f8c32852278d3ebb964cb19 should be backported too.
But it could introduce a tiny incompati...
nagachika (Tomoyuki Chikanaga)
09:23 AM Bug #15856: Performance of redundant `Kernel.require` is slow when many gems are activated
ruby_3_0 0dbb3c15dbe9b7693ea362c94ed8939d20cba083 merged revision(s) b360588cd3cbac5fb4f004aa53a8fdc715906719. nagachika (Tomoyuki Chikanaga)
12:36 AM Bug #18049 (Feedback): Cannot build ruby-3.0.2 on NetBSD
nobu (Nobuyoshi Nakada)
12:36 AM Bug #18049: Cannot build ruby-3.0.2 on NetBSD
Maybe only miniruby needs to disable ASLR? nobu (Nobuyoshi Nakada)

07/31/2021

09:50 PM Bug #18046 (Closed): Missing include leads to build breakage of glib2 on head
Applied in changeset commit:git|3b52230452980f3afc6a7380276ea62f7c65e517.
----------
Define functions using rb_wait_...
nobu (Nobuyoshi Nakada)
05:15 PM Bug #18056 (Third Party's Issue): Found this while running rails server
This issue is from the sassc gem, not Ruby itself: https://github.com/sass/sassc-ruby/issues/218
jeremyevans0 (Jeremy Evans)
02:10 PM Bug #18056 (Third Party's Issue): Found this while running rails server
``` ruby
-- Crash Report log information --------------------------------------------
See Crash Report log file ...
amitsiddhu (Amit Siddhu)
05:11 PM Bug #17561 (Closed): The timeout option for Addrinfo.getaddrinfo is not reliable on Ruby 2.7.2
jeremyevans0 (Jeremy Evans)
12:30 PM Bug #17561: The timeout option for Addrinfo.getaddrinfo is not reliable on Ruby 2.7.2
merged into ruby_2_7 at d9ff8b3e86a03499a5c6bc36fae1592914a25b9c usa (Usaku NAKAMURA)
12:29 PM Bug #17841: The first instance of SortedSet doesn't sort when rbtree is present
merged into ruby_2_7 at 2a7235421fcd59b449c84306d059f22b4c5f0865 usa (Usaku NAKAMURA)
12:23 PM Bug #18049: Cannot build ruby-3.0.2 on NetBSD
Does this work?
```diff
diff --git a/configure.ac b/configure.ac
index d018e8a6f4f..2d91972c218 100644
--- a/configu...
nobu (Nobuyoshi Nakada)
01:02 AM Bug #17583: Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
Hi, could you backport this to Ruby 3.0? ciel (T Yamada)

07/30/2021

09:30 AM Feature #18055: Introduce
Hi Matz!
I see value in it, since it gives us one unified way, to call libraries:
Where ever you do it, when ever y...
shalokshalom (Matthias Schuster)
08:06 AM Feature #18055: Introduce
Can you explain how `introduce` solves the issue? How it is better than `require` and `autoload`?
Matz.
matz (Yukihiro Matsumoto)
07:47 AM Feature #18055 (Open): Introduce
Currently, ``autoload`` provides the ability to load libraries on the fly, also called lazy loading, in order to avoi... shalokshalom (Matthias Schuster)
05:41 AM Bug #18054: No rule to make target 'thread_fd_close.c', needed by 'thread_fd_close.o'
Do `ext/-test-/thread_fd` directory and `Makefile` there exist?
Probably `make -C ext/-test-/thread_fd_close distc...
nobu (Nobuyoshi Nakada)
 

Also available in: Atom