shia (Sangyong Sim)
- Login: shia
- Registered on: 12/09/2018
- Last sign in: 02/15/2024
Issues
| open | closed | Total | |
|---|---|---|---|
| Assigned issues | 0 | 0 | 0 |
| Reported issues | 1 | 3 | 4 |
Activity
01/09/2024
-
09:29 AM Ruby Bug #20168 (Closed): Process won't exit when Ractor.select waiting a Ractor
- ## Reproduction code
```ruby
trap(:INT) do
puts "SIGINT"
exit
end
trap(:TERM) do
puts "SIGTERM"
exit
end
r = Ractor.new do
loop do
sleep 1
end
end
Ractor.select(r) # stucked.
# SIGINT/SIGTERM sent ... -
09:08 AM Ruby Bug #20167 (Assigned): Code execution isn't recorded in Ractor
- ## reproduction code
```ruby
# frozen-string-literal: true
require "coverage"
Coverage.start
require_relative "./some_lib"
# # some_lib.rb
# class C
# def hoge(i)
# i
# end
# end
r = Ractor.new do
loop do...
01/07/2024
-
01:28 AM Ruby Bug #20146: Code using Ractor with env `RUBY_MAX_CPU=1` ends with unreachable
- It seems any shared thread created when max cpu = 1 without enabled_mn_threads.
I suspect native_thread_check_and_create_shared, which always reject create shared thread.
Ref: https://github.com/ruby/ruby/blob/e4a9a73931072458f2bc13b29a...
01/04/2024
-
02:17 AM Ruby Bug #20146 (Closed): Code using Ractor with env `RUBY_MAX_CPU=1` ends with unreachable
- ## 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
```
...
01/01/2024
12/11/2018
-
12:47 AM Ruby Bug #15394: Ruby adds unexpected HTTP header value when using symbol key
- Thanks!!
12/10/2018
-
07:37 AM Ruby Misc #15342: DevelopersMeeting20181212Japan
- * [Bug #15394] Ruby adds unexpected HTTP header value when using symbol key
* This is a small change I think, but could make codes less buggy
12/09/2018
-
05:53 AM Ruby Bug #15394 (Closed): Ruby adds unexpected HTTP header value when using symbol key
- ## Problem
Because of this, Ruby will set Host header twice if user uses symbol key.
In other words, host header should be set when host header is not given.
See code: https://github.com/ruby/ruby/blob/0777262b1b08722ee99d73fb8c9703...