wayneeseguin/rvm — Issue #502: Ruby 1.9.2 installed via rvm fails to handle a signal.
Author: andoriyu
Created: 2011-10-13 18:02:12+00:00
State: open

FreeBSD freebsd 9.0-BETA3 FreeBSD 9.0-BETA3 #0 r225816+a1b6562: Thu Sep 29 06:46:06 PDT 2011 root@freebsd:/sys/i386/compile/XEN i386
ruby 1.9.2p290 (2011-07-09 revision 32553) [i386-freebsd9.0]
Every time when i send a signal (i.e. HUP) RubyVM fails into core:
Illegal instruction: 4 (core dumped)

While system ruby works fine.

Here is a code to test:

trap(:HUP) do
puts "HUP received"
end
puts "#$$ ready to receive SIGHUP"
sleep