From: "k0kubun (Takashi Kokubun) via ruby-core" Date: 2026-09-14T19:50:18+00:00 Subject: [ruby-core:126704] [Ruby Bug#22303] EncodingError from interpolating symbol crashes whole process Issue #22303 has been updated by k0kubun (Takashi Kokubun). Backport changed from 3.3: UNKNOWN, 3.4: REQUIRED, 4.0: REQUIRED to 3.3: UNKNOWN, 3.4: REQUIRED, 4.0: DONE ruby_4_0 commit:1e7d45210ea4d0c39ed0f29fb0caa1e0dbf8dc77 merged revision(s) commit:5831948a66412922e1abafd2c38fd6400e420581. ---------------------------------------- Bug #22303: EncodingError from interpolating symbol crashes whole process https://bugs.ruby-lang.org/issues/22303#change-119002 * Author: alanwu (Alan Wu) * Status: Closed * Backport: 3.3: UNKNOWN, 3.4: REQUIRED, 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/