Project

General

Profile

Actions

Bug #22303

closed

EncodingError from interpolating symbol crashes whole process

Bug #22303: EncodingError from interpolating symbol crashes whole process

Added by alanwu (Alan Wu) 10 days ago. Updated about 21 hours ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:126648]

Description

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.

Updated by Eregon (Benoit Daloze) 9 days ago Actions #1

  • Description updated (diff)

Updated by alanwu (Alan Wu) 9 days ago Actions #2

  • Description updated (diff)

Updated by k0kubun (Takashi Kokubun) 6 days ago Actions #3 [ruby-core:126704]

  • Backport changed from 3.3: UNKNOWN, 3.4: REQUIRED, 4.0: REQUIRED to 3.3: UNKNOWN, 3.4: REQUIRED, 4.0: DONE

Updated by nagachika (Tomoyuki Chikanaga) about 21 hours ago Actions #4 [ruby-core:126801]

  • Backport changed from 3.3: UNKNOWN, 3.4: REQUIRED, 4.0: DONE to 3.3: UNKNOWN, 3.4: DONE, 4.0: DONE
Actions

Also available in: PDF Atom