
Issue #19319 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED, 3.2: DONE to 2.7: REQUIRED, 3.0: REQUIRED, 3.1: DONE, 3.2: DONE ruby_3_1 159930b7857bd3fe603840f686edffb54693d2a7 merged revision(s) d8ef0a98c670449b20436947f5ebbd327ed5ab0d. ---------------------------------------- Bug #19319: Crash in rb_str_casemap https://bugs.ruby-lang.org/issues/19319#change-102481 * Author: peterzhu2118 (Peter Zhu) * Status: Closed * Priority: Normal * Backport: 2.7: REQUIRED, 3.0: REQUIRED, 3.1: DONE, 3.2: DONE ---------------------------------------- Fix here: https://github.com/ruby/ruby/pull/7080 The following code crashes on my machine: ```ruby GC.stress = true str = "testing testing testing" puts str.capitalize ``` I can repro this issue on Ruby 2.7.7, 3.0.5, 3.1.3, 3.2.0. -- https://bugs.ruby-lang.org/