Project

General

Profile

Bug #21779

Updated by nobu (Nobuyoshi Nakada) 4 months ago

Reported at https://github.com/ruby/io-console/pull/105. 

 This is caused by `InitVM_console` exposed from the statically linked io/console is called from the loaded io-console gem. 
 The static `InitVM_console` initializes the ractor local storage key, but it is different from the key used in the gem extension. 

 Also, [the workaround for conflict between `Init` functions](commit:ae8990aef098410ecc2b5f48fea9d7d171a3c5f6) is necessary for `InitVM` functions too. 

 https://github.com/ruby/ruby/pull/15539 

Back