From: "nagachika (Tomoyuki Chikanaga) via ruby-core" Date: 2026-09-20T06:30:23+00:00 Subject: [ruby-core:126801] [Ruby Bug#22303] EncodingError from interpolating symbol crashes whole process Issue #22303 has been updated by nagachika (Tomoyuki Chikanaga). Backport changed from 3.3: UNKNOWN, 3.4: REQUIRED, 4.0: DONE to 3.3: UNKNOWN, 3.4: DONE, 4.0: DONE ruby_3_4 commit:cf53d1a7283dbe78830cabd9e72124208d8380d3 merged revision(s) commit:5831948a66412922e1abafd2c38fd6400e420581. ---------------------------------------- Bug #22303: EncodingError from interpolating symbol crashes whole process https://bugs.ruby-lang.org/issues/22303#change-119109 * Author: alanwu (Alan Wu) * Status: Closed * Backport: 3.3: UNKNOWN, 3.4: DONE, 4.0: DONE ---------------------------------------- commit:5831948a66412922e1abafd2c38fd6400e420581 The `intern` instruction has been incorrectly marked `leaf=true` for a long time (3.3 through trunk) and its stack canary check crashes the whole runtime process. The crash reliably happens in debug builds. (`VM_CHECK_MODE > 0`) In release builds it can give the wrong line number in backtrace, if running in the interpreter, or when running in the JIT cause GC memory safety issues. -- https://bugs.ruby-lang.org/ ______________________________________________ ruby-core mailing list -- ruby-core@ml.ruby-lang.org To unsubscribe send an email to ruby-core-leave@ml.ruby-lang.org ruby-core info -- https://ml.ruby-lang.org/mailman3/lists/ruby-core.ml.ruby-lang.org/