Project

General

Profile

Actions

Bug #21357

closed

Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite

Added by Earlopain (Earlopain _) 4 days ago. Updated 1 day ago.

Status:
Closed
Assignee:
-
Target version:
-
ruby -v:
ruby 3.5.0dev (2025-05-20T09:22:41Z master a82e7132df) +PRISM [x86_64-linux]
[ruby-core:122218]

Description

I've encountered crahses on ruby-head in recent days, related to hash methods like merge and merge!. I can now reproduce it locally while running the rubocop-rspec test suite:

I attached the crash report. I want to reduce this down but have no idea how. The crash is very consistent for me though, it doesn't take very long for it to happen (only a few seconds usually).

There were related(?) changes to hash like https://bugs.ruby-lang.org/issues/21333, maybe related.


Files

test.log (224 KB) test.log Earlopain (Earlopain _), 05/21/2025 12:48 PM
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0