Project

General

Profile

Actions

Bug #17587

closed

Segmentation fault with ractors and unix signals

Added by mweitzel (Matthew Weitzel) about 3 years ago. Updated over 2 years ago.

Status:
Rejected
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

Like0
Like0Like0Like0Like0