From: "dodecadaniel (Daniel Colson) via ruby-core" Date: 2025-05-22T02:33:05+00:00 Subject: [ruby-core:122223] [Ruby Bug#21357] Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite Issue #21357 has been updated by dodecadaniel (Daniel Colson). Possible fix https://github.com/ruby/ruby/pull/13404 (if tests pass ��������) ---------------------------------------- Bug #21357: Crash in Hash#merge! with ruby-dev in rubocop-rspec test suite https://bugs.ruby-lang.org/issues/21357#change-113370 * Author: Earlopain (Earlopain _) * Status: Open * ruby -v: ruby 3.5.0dev (2025-05-20T09:22:41Z master a82e7132df) +PRISM [x86_64-linux] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- 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: * Clone https://github.com/rubocop/rubocop-rspec * Run `NO_COVERAGE=1 bundle exec rake spec` 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) -- 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/