From: the.codefolio.guy@... Date: 2019-07-02T11:14:23+00:00 Subject: [ruby-core:93474] [Ruby master Bug#15971] Segfault with --jit-wait when using simple *= operator Issue #15971 has been updated by noahgibbs (Noah Gibbs). When I change "a *= b" to "a * b" it doesn't crash. ---------------------------------------- Bug #15971: Segfault with --jit-wait when using simple *= operator https://bugs.ruby-lang.org/issues/15971#change-79023 * Author: noahgibbs (Noah Gibbs) * Status: Open * Priority: Normal * Assignee: * Target version: * ruby -v: ruby 2.7.0dev (2019-07-02T06:22:22Z trunk 4d6c35d33a) [x86_64-darwin18] * Backport: 2.4: UNKNOWN, 2.5: UNKNOWN, 2.6: UNKNOWN ---------------------------------------- I get a segfault with the very simple Ruby code below with JIT debug options. Runs fine with only "--jit" (no --jit-wait or --jit-save-temps). Ruby with "ruby --jit --jit-save-temps --jit-wait ./multiply.rb" Ruby version: ruby 2.7.0dev (2019-07-02T06:22:22Z trunk 4d6c35d33a) [x86_64-darwin18] # multiply.rb def multiply(a, b) a *= b end 1_000_000.times do multiply(7.0, 10.0) end ---Files-------------------------------- crash_report_text.txt (6.25 KB) ruby_2019-07-02-120741_C02RP0G1G8WM.crash (38.8 KB) -- https://bugs.ruby-lang.org/ Unsubscribe: