[#116016] [Ruby master Bug#20150] Memory leak in grapheme clusters — "peterzhu2118 (Peter Zhu) via ruby-core" <ruby-core@...>
Issue #20150 has been reported by peterzhu2118 (Peter Zhu).
7 messages
2024/01/04
[#116382] [Ruby master Feature#20205] Enable `frozen_string_literal` by default — "byroot (Jean Boussier) via ruby-core" <ruby-core@...>
Issue #20205 has been reported by byroot (Jean Boussier).
77 messages
2024/01/23
[ruby-core:116003] [Ruby master Bug#20146] Code using Ractor with env `RUBY_MAX_CPU=1` ends with unreachable
From:
"shia (Sangyong Sim) via ruby-core" <ruby-core@...>
Date:
2024-01-04 02:17:55 UTC
List:
ruby-core #116003
Issue #20146 has been reported by shia (Sangyong Sim).
----------------------------------------
Bug #20146: Code using Ractor with env `RUBY_MAX_CPU=1` ends with unreachable
https://bugs.ruby-lang.org/issues/20146
* Author: shia (Sangyong Sim)
* Status: Open
* Priority: Normal
* ruby -v: ruby 3.4.0dev
* Backport: 3.0: UNKNOWN, 3.1: UNKNOWN, 3.2: UNKNOWN, 3.3: UNKNOWN
----------------------------------------
## Reproducible code
```rb
# sample-code.rb
Ractor.new { 1 }
```
```bash
RUBY_MAX_CPU=1 ruby sample-code.rb # This will not end with exit code 0
RUBY_MAX_CPU=2 ruby sample-code.rb # This ends with exit code 0 as expected
```
## Expected
process with RUBY_MAX_CPU=1 exits successfully as same as RUBY_MAX_CPU more than 1.
--
https://bugs.ruby-lang.org/
______________________________________________
ruby-core mailing list -- ruby-core@ml.ruby-lang.org
To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org
ruby-core info -- https://ml.ruby-lang.org/mailman3/postorius/lists/ruby-core.ml.ruby-lang.org/