From: "masterleep2 (Bill Lipa) via ruby-core" Date: 2025-05-16T16:19:52+00:00 Subject: [ruby-core:122149] [Ruby Bug#21345] crash on evaluating 'a=>a,*,' Issue #21345 has been reported by masterleep2 (Bill Lipa). ---------------------------------------- Bug #21345: crash on evaluating 'a=>a,*,' https://bugs.ruby-lang.org/issues/21345 * Author: masterleep2 (Bill Lipa) * Status: Open * ruby -v: ruby 3.4.3 (2025-04-14 revision d0b7e5b6a0) +PRISM [arm64-darwin24] * Backport: 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN ---------------------------------------- ``` ruby -e 'a=>a,*,' -e: [BUG] Unexpected node type in pattern matching expression: PM_IMPLICIT_REST_NODE ruby 3.4.3 (2025-04-14 revision d0b7e5b6a0) +PRISM [arm64-darwin24] -- Crash Report log information -------------------------------------------- See Crash Report log file in one of the following locations: * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details. Don't forget to include the above Crash Report log file in bug reports. -- Control frame information ----------------------------------------------- c:0001 p:0000 s:0003 E:0001f0 DUMMY [FINISH] -- Threading information --------------------------------------------------- Total ractor count: 1 Ruby thread count for this ractor: 1 -- C level backtrace information ------------------------------------------- /opt/local/lib/libruby.3.4.dylib(rb_vm_bugreport+0xb6c) [0x104cbcfdc] /opt/local/lib/libruby.3.4.dylib(rb_bug_without_die_internal+0xfc) [0x104afa12c] /opt/local/lib/libruby.3.4.dylib(rb_bug+0x1c) [0x104e07970] /opt/local/lib/libruby.3.4.dylib(pm_compile_pattern.cold.2+0x0) [0x104e0750c] /opt/local/lib/libruby.3.4.dylib(pm_compile_pattern+0x42a8) [0x104abd78c] /opt/local/lib/libruby.3.4.dylib(pm_compile_pattern+0x3f90) [0x104abd474] /opt/local/lib/libruby.3.4.dylib(pm_compile_match_required_node+0x3b4) [0x104abdb54] /opt/local/lib/libruby.3.4.dylib(pm_compile_node+0x1670) [0x104a8659c] /opt/local/lib/libruby.3.4.dylib(pm_compile_scope_node+0x1c34) [0x104ac2018] /opt/local/lib/libruby.3.4.dylib(pm_iseq_compile_node+0x84) [0x104a84e60] /opt/local/lib/libruby.3.4.dylib(pm_iseq_new_with_opt_try+0x1c) [0x104b5cbc8] /opt/local/lib/libruby.3.4.dylib(rb_protect+0xbc) [0x104b060cc] /opt/local/lib/libruby.3.4.dylib(pm_iseq_new_with_opt+0x14c) [0x104b5c034] /opt/local/lib/libruby.3.4.dylib(pm_iseq_new_main+0xc4) [0x104b5c23c] /opt/local/lib/libruby.3.4.dylib(ruby_process_options+0x16a4) [0x104c12a30] /opt/local/lib/libruby.3.4.dylib(ruby_options+0xb0) [0x104b04b04] /opt/local/bin/ruby3.4(main+0x64) [0x1041eff20] ``` ---Files-------------------------------- crash.txt (14.1 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/