Project

General

Profile

Actions

Bug #21670

open

3.4.5 crashing with "try to mark T_NONE object"

Bug #21670: 3.4.5 crashing with "try to mark T_NONE object"

Added by esaron (Es Aron) about 5 hours ago. Updated about 4 hours ago.

Status:
Open
Assignee:
-
Target version:
-
ruby -v:
ruby 3.4.5 (2025-07-16 revision 20cda200d3) +PRISM [x86_64-linux]
[ruby-core:123687]

Description

We're experiencing a large number of crashes while running tests in CI on Ubuntu 22.04 runners. It is inconsistent, and we cannot reproduce reliably, although when the crash happens it appears to always happen in the same place, even if during different tests.

This occurs both with and without YJIT enabled.


Files

3.4.5-crash-logs.txt (185 KB) 3.4.5-crash-logs.txt esaron (Es Aron), 11/05/2025 03:00 PM

Updated by byroot (Jean Boussier) about 4 hours ago Actions #1 [ruby-core:123690]

It's in mark_method_entry_i, which rings a bell. @jhawthorn (John Hawthorn) didn't you fix that one?

@esaron please try the latest patch release: 3.4.7, your issue looks a lot like a missing write barrier issue and John fixed many of them in 3.4.7: https://github.com/ruby/ruby/compare/v3_4_5...v3_4_7

Actions

Also available in: PDF Atom