Project

General

Profile

Activity

From 11/19/2022 to 11/25/2022

11/25/2022

10:15 PM Bug #19152 (Closed): Integration test for ruby-core
It also works. hsbt (Hiroshi SHIBATA)
09:55 PM Bug #19152 (Closed): Integration test for ruby-core
This is test posting for new issue. hsbt (Hiroshi SHIBATA)
10:15 PM Misc #19149 (Closed): Minimal covered tests with the --enable-yjit case?
Applied in changeset commit:git|1d64a5a7c09d1029508b6b3cb3d04e5a939bc8f8.
----------
YJIT: Run test-all tests withou...
alanwu (Alan Wu)
03:22 PM Misc #19149: Minimal covered tests with the --enable-yjit case?
> > This will run YJIT with its default options, which is what most people would use when running YJIT. If you specif... jaruga (Jun Aruga)
10:41 AM Misc #19149: Minimal covered tests with the --enable-yjit case?
maximecb (Maxime Chevalier-Boisvert) wrote in #note-1:
> If you want to thoroughly test everything, you could run mak...
jaruga (Jun Aruga)
09:44 PM Bug #19151 (Closed): Integration test for ruby-dev
It works. hsbt (Hiroshi SHIBATA)
09:36 PM Bug #19151 (Closed): Integration test for ruby-dev
This issue is posting test for ruby-dev. hsbt (Hiroshi SHIBATA)
09:25 PM Bug #19115 (Closed): RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
Applied in changeset commit:git|790cf4b6d0475614afb127b416e87cfa39044d67.
----------
Fix autoload status of statical...
alanwu (Alan Wu)
05:55 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
After more research, it appears the current behavior is expected. Parsing the single string with embedded colon is a... jeremyevans0 (Jeremy Evans)
04:26 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Bug #19150] pack/unpack silently ignores unknown directives (eregon)
* Similar to #19108 just above.
* I bel...
Eregon (Benoit Daloze)
04:24 PM Bug #19150 (Closed): pack/unpack silently ignores unknown directives
But I believe it should be an error instead.
Typically when a parser sees a syntax error it should fail not continue...
Eregon (Benoit Daloze)
10:06 AM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
ioquatix (Samuel Williams) wrote in #note-2:
> I don't have a strong opinion about this, but I'm generally against l...
smcgivern (Sean McGivern)
08:14 AM Misc #19030: [ANN] Migrate lists.ruby-lang.org to Google Groups
I migrated `ruby-core` list to mailmanlist and confirm to work redmine integration.
Sorry to send debug message f...
hsbt (Hiroshi SHIBATA)
03:05 AM Misc #19030: [ANN] Migrate lists.ruby-lang.org to Google Groups
I update a migration plan:
* ruby-core, ruby-dev, ruby-list, ruby-talk and ruby-doc will move to https://mailmanli...
hsbt (Hiroshi SHIBATA)
07:11 AM Bug #18971 (Closed): Enumerator::Lazy.take(0) leaks first element into next operation
Applied in changeset commit:git|ffc6c5d056e0f18a9bdfb9b1477d0192a6d37ea3.
----------
[Bug #18971] Add precheck to en...
nobu (Nobuyoshi Nakada)
07:11 AM Bug #19145 (Closed): TestException#test_exception_in_message timeouts
Applied in changeset commit:git|67d0f4821ff9ae550425a66202710d82de886384.
----------
[Bug #19145] `volatile` on an a...
nobu (Nobuyoshi Nakada)
02:25 AM Bug #18931 (Closed): Inconsistent handling of invalid codepoints in String#lstrip and String#rstrip
Applied in changeset commit:git|571d21fd4a2e877f49b4ff918832bda9a5e8f91c.
----------
Make String#rstrip{,!} raise En...
jeremyevans (Jeremy Evans)
01:04 AM Feature #18925 (Closed): Add `FileUtils.ln_sr` to create symbolic links relative to link location
Applied in changeset commit:git|c6330cd32b7d02b4603080a2c53d64be9e05773c.
----------
[ruby/fileutils] [Feature #1892...
nobu (Nobuyoshi Nakada)

11/24/2022

11:34 PM Bug #19130 (Closed): MRI failing when executing shell builtin commands with Errno::ENOENT
Closing as this behavior is by design and not a bug. jeremyevans0 (Jeremy Evans)
11:18 PM Bug #18580 (Closed): Range#include? inconsistency for beginless String ranges
Applied in changeset commit:git|04a92a6764bf678919cf4b68a27496a39d6b886a.
----------
Raise TypeError for endless non...
jeremyevans (Jeremy Evans)
10:26 PM Bug #18974 (Closed): Wrong line number in the rescue iseq for the exception matching code
Applied in changeset commit:git|f5d73da8062377e5b93100c6ea109a37bd04b4c1.
----------
Fix the position of rescue clau...
jeremyevans (Jeremy Evans)
07:59 PM Misc #19146 (Closed): Failed to activate YJIT for 3.2.0-dev on macOS Ventura (M1: Apple Silicon)
Applied in changeset commit:git|a81c89b7c877cc0ddf40a8d4672ca90090e116c6.
----------
YJIT: Make sure rustc's target ...
alanwu (Alan Wu)
06:15 PM Misc #19146: Failed to activate YJIT for 3.2.0-dev on macOS Ventura (M1: Apple Silicon)
Hello @hachi8833.
It seems YJIT is failing to link because you have an x86-64 `rustc` toolchain installed on a Mac...
maximecb (Maxime Chevalier-Boisvert)
01:01 PM Misc #19146 (Closed): Failed to activate YJIT for 3.2.0-dev on macOS Ventura (M1: Apple Silicon)
(hsbt kindly suggested to open the issue here. Thank you!)
I found that I'm unable to activate YJIT for the late...
hachi8833 (Shozo Hatta)
06:26 PM Misc #19149: Minimal covered tests with the --enable-yjit case?
If you want to thoroughly test everything, you could run make check two times, once with YJIT, and once without.
I...
maximecb (Maxime Chevalier-Boisvert)
04:26 PM Misc #19149 (Closed): Minimal covered tests with the --enable-yjit case?
In the [Fedora Ruby's RPM recipe file](https://src.fedoraproject.org/rpms/ruby/blob/rawhide/f/ruby.spec), we were run... jaruga (Jun Aruga)
05:49 PM Bug #19124 (Feedback): Compile with clang: Cannot compile with -flto -fvisibility=hidden
Since the linker hangs, I don't think there is much we can do on our end.
Assuming Clang mimics GCC I think `LD` sho...
alanwu (Alan Wu)
05:09 PM Bug #19143 (Closed): Windows - bundled extension gems compile, but don't copy *.so files to lib folder
alanwu (Alan Wu)
03:49 AM Bug #19143: Windows - bundled extension gems compile, but don't copy *.so files to lib folder
@alanwu
Thanks. A bit of 'multi-tasking brain freeze' going on this morning.
Or, yes they do work **without** a...
MSP-Greg (Greg L)
02:27 AM Bug #19143: Windows - bundled extension gems compile, but don't copy *.so files to lib folder
Does that mean the native extensions of those gems don't work when one tries to load them after installation? alanwu (Alan Wu)
03:54 PM Feature #19148 (Open): Define Hash#merge_sum as Hash#merge with sum block
To merge two hashes whilst summing any common elements, we currently have to pass a block instructing how to add the ... hgraham (Harry Graham)
02:37 PM Bug #19145: TestException#test_exception_in_message timeouts
Does this work?
```diff
diff --git a/eval_error.c b/eval_error.c
index 0112dece0d1..7f184691e50 100644
--- a/ev...
nobu (Nobuyoshi Nakada)
11:21 AM Bug #19145: TestException#test_exception_in_message timeouts
I think it has been happening since @nobu tweaked the exit process for https://bugs.ruby-lang.org/issues/19016. mame (Yusuke Endoh)
10:32 AM Bug #19145 (Closed): TestException#test_exception_in_message timeouts
Testing with 66e5200ba4, I observe following error:
~~~
$ make -C redhat-linux-build test-all 'TESTS=-v -n /TestE...
vo.x (Vit Ondruch)
01:53 PM Bug #19147: `TestFileExhaustive#test_expand_path_for_existent_username` and `TestDir#test_home` fails on i686
Maybe some of the recent changes in the string.c might be the reason? vo.x (Vit Ondruch)
01:28 PM Bug #19147 (Closed): `TestFileExhaustive#test_expand_path_for_existent_username` and `TestDir#test_home` fails on i686
Testing with commit:git|66e5200ba4 on Fedora Rawhide, I observe following error just on i686 (other platforms are pas... vo.x (Vit Ondruch)
01:43 PM Bug #18166: Windows Ripper test-all failures? bison package?
merged into ruby_2_7 at 168ec2b1e5ad0e4688e963d9de019557c78feed9 usa (Usaku NAKAMURA)
11:02 AM Bug #17583: Segfault on large stack(RUBY_THREAD_VM_STACK_SIZE)
mergerd into ruby_3_0 at 5fb3cf4 usa (Usaku NAKAMURA)
09:17 AM Feature #19128 (Rejected): Hash#delete could take a second argument as the default value?
byroot (Jean Boussier)
09:16 AM Feature #19128: Hash#delete could take a second argument as the default value?
You can close this, passing a block is much nicer and provides the functionality I need.
As a side note, I think p...
dorianmariefr (Dorian Marié)
02:55 AM Bug #19144 (Closed): Ruby should set AI_V4MAPPED | AI_ADDRCONFIG getaddrinfo flags by default
Currently, DNS lookups made with `getaddrinfo` from Ruby (i.e. not from the `Resolv` module) cause both A and AAAA DN... kjtsanaktsidis (KJ Tsanaktsidis)

11/23/2022

07:55 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
> If it doesn't wait it's not structured concurrency (children outlive the parent).
The problem with being strict ...
ioquatix (Samuel Williams)
10:54 AM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
ioquatix (Samuel Williams) wrote in #note-17:
> We can already write it like this:
>
> ```ruby
> Fiber.schedule ...
Eregon (Benoit Daloze)
02:43 PM Bug #19143 (Closed): Windows - bundled extension gems compile, but don't copy *.so files to lib folder
Just finished updating ruby-loco's mswin build to use a system similar to the ucrt & mingw builds.
Confirmed somet...
MSP-Greg (Greg L)
11:09 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
chrisseaton (Chris Seaton) wrote in #note-11:
> Maybe `Enumerator` should not use a full fiber - but something less ...
Eregon (Benoit Daloze)
02:57 AM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
Checking `ascii_only?` would reject non-ascii comments which are fine:
```ruby
p [2, 89].pack(<<~PACK)
C # 🚗
...
alanwu (Alan Wu)

11/22/2022

11:14 PM Feature #19138: `SyntaxError#path` for syntax_suggest
`SyntaxError` can have a series of errors.
Before adding `line`, we need to consider how to provide that list.
nobu (Nobuyoshi Nakada)
11:07 PM Feature #19138: `SyntaxError#path` for syntax_suggest
Should we also expose the `line`. Or maybe `source_location`?
Just a suggestion, if we only need `path` I think it's...
Eregon (Benoit Daloze)
10:39 PM Misc #19142 (Open): Run test suites against 'install', based on ENV variable?
Some time ago I believe there was discussion about:
```
make
make test
make install
```
vs
```
make
ma...
MSP-Greg (Greg L)
09:11 PM Feature #19071 (Closed): Add Time#deconstruct, #deconstruct_keys, and #to_h
https://github.com/ruby/ruby/pull/6594 merged. zverok (Victor Shepelev)
05:32 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
Async already has the concept of structured concurrency.
> I've been reading https://cr.openjdk.java.net/~rpressler/...
ioquatix (Samuel Williams)
12:20 PM Feature #19078: Introduce `Fiber#storage` for inheritable fiber-scoped variables.
I've been reading https://cr.openjdk.java.net/~rpressler/loom/loom/sol1_part2.html#scope-variables again and parts of... Eregon (Benoit Daloze)
05:24 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
Maybe `Enumerator` should not use a full fiber - but something less that behaves like the thread it's run on? An unde... chrisseaton (Chris Seaton)
01:40 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
I had a call with @byroot about this issue.
First of all, in the cases it's possible it's best to avoid `Enumerato...
Eregon (Benoit Daloze)
11:26 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
> How do we address this with Thread::Monitor?
If you are trying to say that one can shoot themselves in the foot ...
byroot (Jean Boussier)
11:18 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
It's not only an issue with Fiber scheduler although that is the most obvious way to illustrate.
After all Fiber sche...
Eregon (Benoit Daloze)
08:46 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
> Based on that I don't think a per-thread Monitor is really a solution
In the case of the original issue they are...
byroot (Jean Boussier)
05:10 AM Feature #19141: Add thread-owned Monitor to protect thread-local resources
Why do you need a recursive mutex for this code? Why not just lock inside the enumerator around whatever shared resou... ioquatix (Samuel Williams)
05:23 PM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
> I think you want to mean "if the string is not ASCII-compatible".
Can you explain why?
I think a string is on...
chrisseaton (Chris Seaton)
08:26 AM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
chrisseaton (Chris Seaton) wrote in #note-1:
> Possibly we should raise an exception if the string is not `ascii_onl...
nobu (Nobuyoshi Nakada)
03:37 PM Bug #19140 (Closed): rb_vm_insn_addr2insn: invalid insn address
jeremyevans0 (Jeremy Evans)
08:37 AM Bug #19140: rb_vm_insn_addr2insn: invalid insn address
That's valuable insight! Probably it is a volatile memory fault then. I restarted the physical machine now and I have... turion (Manuel Bärenz)
01:20 AM Bug #19139: Ruby 2.3.8 - 42912 IOT instruction (core dumped) when running rake -v
The fault occurred in /lib/x86_64-linux-gnu/libssl.so.3.
https://gist.github.com/Pauloparakleto/3cef9f75b8dce6215d00f...
nobu (Nobuyoshi Nakada)

11/21/2022

10:04 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
> That means any framework using Monitor is incompatible to be used with Enumerator.
It's only problematic if both t...
Eregon (Benoit Daloze)
10:02 PM Feature #19141: Add thread-owned Monitor to protect thread-local resources
@Eregon how does this relate to `Fiber#storage`? byroot (Jean Boussier)
05:50 PM Feature #19141 (Open): Add thread-owned Monitor to protect thread-local resources
### Background
In Ruby v3.0.2, Monitor was modified to be owned by fibers instead of threads [for reasons as desc...
wildmaples (Maple Ong)
08:52 PM Bug #19140: rb_vm_insn_addr2insn: invalid insn address
Thanks for the report. The stack trace shows that it's crashing
during GC, which means some bytecode object on the h...
alanwu (Alan Wu)
03:12 PM Bug #19140 (Closed): rb_vm_insn_addr2insn: invalid insn address
I recently upgraded my mastodon installation to 4.0.2 (and possibly also updated a minor ruby version, not sure) and ... turion (Manuel Bärenz)
06:28 PM Bug #19139 (Feedback): Ruby 2.3.8 - 42912 IOT instruction (core dumped) when running rake -v
Ruby 2.3 is out of support. Can you reproduce this issue Ruby 3.0 or 3.1? jeremyevans0 (Jeremy Evans)
01:35 PM Bug #19139 (Feedback): Ruby 2.3.8 - 42912 IOT instruction (core dumped) when running rake -v
https://gist.github.com/Pauloparakleto/3cef9f75b8dce6215d00f073e6b977ca
Above is the link to the backtrack. There ...
Paulo.Felipe (Paulo Souza)
04:47 PM Bug #19115: RubyGems fails to detect OpenSSL in --with-static-linked-ext builds
I've submitted a [PR](https://github.com/ruby/ruby/pull/6756) to fix this issue and I thought I'd also post some upda... alanwu (Alan Wu)
04:08 PM Feature #19138: `SyntaxError#path` for syntax_suggest
https://github.com/ruby/ruby/pull/6779 nobu (Nobuyoshi Nakada)
03:18 AM Feature #19138 (Closed): `SyntaxError#path` for syntax_suggest
Currently syntax_suggest searches the path name from the exception message.
But extracting the info from messages fo...
nobu (Nobuyoshi Nakada)
03:31 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
nobu (Nobuyoshi Nakada) wrote in #note-5:
> The list in Ruby is based on http://pubs.opengroup.org/onlinepubs/009695...
nobu (Nobuyoshi Nakada)
03:24 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
ifiht (Mikal R) wrote in #note-3:
> Is there a ruby-specific list then of what gets implemented? Seems like `type` i...
nobu (Nobuyoshi Nakada)
01:53 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
Thank you for your response. How do the changes to the example make a difference? The results with the original exa... javanthropus (Jeremy Bopp)
12:22 PM Bug #18899: Inconsistent argument handling in IO#set_encoding
I think your example needs to be as follows:
```ruby
#!/usr/bin/env ruby
def show(io, args)
printf(
"arg...
naruse (Yui NARUSE)
01:50 PM Misc #19074: DevMeeting-2022-12-01 (postponed from 11-17)
* [Bug #19108] Format routines like pack blindly treat a string as ASCII-encoded (@eregon)
* Is it OK to make `unk...
Eregon (Benoit Daloze)
01:47 PM Bug #19108: Format routines like pack blindly treat a string as ASCII-encoded
Agreed, I think it should be ArgumentError since it's otherwise silently ignoring characters in the pack format strin... Eregon (Benoit Daloze)
10:54 AM Feature #19089: Load bundler/setup in gem_prelude.rb when "bundle exec" is used
naruse (Yui NARUSE) wrote in #note-12:
> People shouldn't use and recommend others to use --disable-gem as a workaro...
Eregon (Benoit Daloze)
03:32 AM Feature #19089: Load bundler/setup in gem_prelude.rb when "bundle exec" is used
People shouldn't use and recommend others to use --disable-gem as a workaround for a bug. It's only for debugging.
I...
naruse (Yui NARUSE)
04:18 AM Misc #19122: Use MADV_DONTNEED instead of MADV_FREE when freeing a Fiber's stack
I don't have a strong opinion about this, but I'm generally against loosing performance.
Maybe it can be controlle...
ioquatix (Samuel Williams)
12:01 AM Feature #19070 (Closed): Enhance keep_tokens option for RubyVM::AbstractSyntaxTree parsing methods
Applied in changeset commit:git|d8601621edcf29e3323b90dcf04b774edd9fb45e.
----------
Enhance keep_tokens option for ...
yui-knk (Kaneko Yuichiro)

11/20/2022

03:40 PM Bug #4992: finalizer中のThread.newでSEGV
`Thread.new` is prohibited but not `Thread.start`.
```
$ ruby -v --disable=gems -d -e 'class E<StandardError;def ...
nobu (Nobuyoshi Nakada)
01:44 PM Bug #19016 (Closed): syntax_suggest is not working with Ruby 3.2.0-preview2
Applied in changeset commit:git|701dfe4eb741628213e4d701c13ad6d76904ac4f.
----------
[Bug #19016] Handle syntax erro...
nobu (Nobuyoshi Nakada)
08:18 AM Feature #17472 (Rejected): HashWithIndifferentAccess like Hash extension
As far as I understand, after `HashWithIndifferentAccess` is optimized to use `Symbol#name` and avoids to create dupl... naruse (Yui NARUSE)
03:08 AM Feature #19137 (Open): Numbered parameters are not made available to IRB.
Hello !
It does not look like numbered parameters are available through the Binding that's used by IRB.
```ruby...
0x1eef (0x 1eef)

11/19/2022

11:07 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
I don't think this is a bug. Ruby's behavior for the Kernel backtick method (what `%x` uses) is that a shell is only... jeremyevans0 (Jeremy Evans)
10:45 PM Bug #19130: MRI failing when executing shell builtin commands with Errno::ENOENT
Is there a ruby-specific list then of what gets implemented? Seems like `type` is both included in the POSIX spec (ht... ifiht (Mikal R)
 

Also available in: Atom