
Issue #19319 has been updated by naruse (Yui NARUSE). Backport changed from 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED, 3.2: REQUIRED to 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED, 3.2: DONE ruby_3_2 686b38f83e70b3e1796092c71dd0b7dc2206b118 merged revision(s) d8ef0a98c670449b20436947f5ebbd327ed5ab0d. ---------------------------------------- Bug #19319: Crash in rb_str_casemap https://bugs.ruby-lang.org/issues/19319#change-101327 * Author: peterzhu2118 (Peter Zhu) * Status: Closed * Priority: Normal * Backport: 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED, 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/