[ruby-core:126438] [Ruby Bug#22237] GC.auto_compact corrupts a String or segfaults from String#tr with dup or gsub