[ruby-core:93473] [Ruby master Bug#15971] Segfault with --jit-wait when using simple *= operator

From: the.codefolio.guy@...
Date: 2019-07-02 11:13:51 UTC
List: ruby-core #93473
Issue #15971 has been reported by noahgibbs (Noah Gibbs).

----------------------------------------
Bug #15971: Segfault with --jit-wait when using simple *= operator
https://bugs.ruby-lang.org/issues/15971

* 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: <mailto:ruby-core-request@ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>

In This Thread

Prev Next