misc/161551: Ruby 1.9.2 fails to handle a signal (TERM, HUP, etc)
Andrey Cherkashin
andoriyu at gmail.com
Thu Oct 13 17:50:10 UTC 2011
>Number: 161551
>Category: misc
>Synopsis: Ruby 1.9.2 fails to handle a signal (TERM, HUP, etc)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Thu Oct 13 17:50:09 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Andrey Cherkashin
>Release: FreeBSD 9.0-BETA3
>Organization:
>Environment:
FreeBSD freebsd 9.0-BETA3 FreeBSD 9.0-BETA3 #0 r225816+a1b6562: Thu Sep 29 06:46:06 PDT 2011 root at freebsd:/sys/i386/compile/XEN i386
>Description:
When you start a ruby daemon, and sending a signal (i.e. HUP) RubyVM fails with:
Illegal instruction: 4 (core dumped)
System ruby (from ports) works fine. Meanwhile ruby installed from rvm doesn't.
>How-To-Repeat:
Run this ruby script:
trap(:HUP) do
puts "HUP received"
end
puts "#$$ ready to receive SIGHUP"
sleep
And send hip signal.
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list