From: Motohiro KOSAKI Date: 2011-07-11T15:40:52+09:00 Subject: [ruby-core:37985] [Ruby 1.9 - Bug #2616] unable to trap in doze Issue #2616 has been updated by Motohiro KOSAKI. For clarification, now SIGFPE, SIGILL and SIGSEGV can't be trapped from ruby script if you have multi threads and use windows. but I don't think it's big matter. ---------------------------------------- Bug #2616: unable to trap in doze http://redmine.ruby-lang.org/issues/2616 Author: Roger Pack Status: Assigned Priority: Low Assignee: Koichi Sasada Category: core Target version: 1.9.x ruby -v: ruby 1.9.2dev (2010-01-06 trunk 26246) [i386-mingw32] =begin this snippet: trap("ILL") { puts 'got one' } Thread.new { sleep 0.1;Process.kill "ILL", Process.pid} sleep appears to work like a champ in 1.8, and fail for 1.9.x =end -- http://redmine.ruby-lang.org