Hi, I'm running into a segmentation fault with cast on Windows. It doesn't occur when garbage collection is disabled. Here's a minimal script to reproduce:
require "numo/narray"
data = 3000.times.map { |v| 1000000000 + 86400 * v }
10000.times do |i|
puts i
p Numo::DFloat.cast(data.map { |v| v + 1 })
end
Hi, I'm running into a segmentation fault with
cast
on Windows. It doesn't occur when garbage collection is disabled. Here's a minimal script to reproduce:It happens with Ruby version 2.6.3 on AppVeyor: https://ci.appveyor.com/project/ankane/numo-repro/builds/32090203.
Here's the trace: