
6 Jan
2023
6 Jan
'23
3:27 p.m.
Issue #19319 has been reported by peterzhu2118 (Peter Zhu). ---------------------------------------- Bug #19319: Crash in rb_str_casemap https://bugs.ruby-lang.org/issues/19319 * Author: peterzhu2118 (Peter Zhu) * Status: Open * Priority: Normal * Backport: 2.7: REQUIRED, 3.0: REQUIRED, 3.1: REQUIRED, 3.2: REQUIRED ---------------------------------------- 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/