From: "robertgleeson (Robert Gleeson)" Date: 2013-03-30T17:31:22+09:00 Subject: [ruby-core:53840] [Backport93 - Backport #8187] timeout doesn't interrupt assignment. Issue #8187 has been updated by robertgleeson (Robert Gleeson). Tested against: - ruby 1.9.3p194 (2012-04-20 revision 35410) [x86_64-darwin11.4.2] - ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin11.4.2] The behavior on 1.9.3 is to hang without being able to interrupt, and the behavior on 2.0.0 is to stop the code but not raise an exception. ---------------------------------------- Backport #8187: timeout doesn't interrupt assignment. https://bugs.ruby-lang.org/issues/8187#change-38050 Author: robertgleeson (Robert Gleeson) Status: Open Priority: Normal Assignee: Category: Target version: Timeout does not interrupt & raise like usual with this example code: require 'timeout' Timeout.timeout(0.5) do x = " "*(2**31) end -- http://bugs.ruby-lang.org/