Project

General

Profile

Actions

Bug #17587

closed

Segmentation fault with ractors and unix signals

Added by mweitzel (Matthew Weitzel) over 1 year ago. Updated 5 months ago.

Status:
Rejected
Priority:
Normal
Target version:
-
ruby -v:
ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x86_64-darwin19]
[ruby-core:102269]

Description

Segmentation fault when trapping signals and using a Ractor.

Can be reproduced by running the following

Ractor.new do
  Signal.trap('INT') do
    Ractor.yield("yoo hoO! big summer blowout")
  end
  `kill -2 #{$$}`
  `kill -2 #{$$}`
  `kill -2 #{$$}`
end.take

Files

Actions

Also available in: Atom PDF