Project

General

Profile

Actions

Feature #1952

closed

cannot stop with Ctrl+C

Added by usa (Usaku NAKAMURA) over 15 years ago. Updated almost 12 years ago.

Status:
Closed
Target version:
[ruby-dev:39107]

Description

=begin
以下のスクリプトがCtrl+Cで停止せず、Ctrl+C押下後はkill -9でしか殺せません。

Thread.new do
begin
begin
sleep
ensure
raise
end
rescue
retry
end
end.join
=end


Related issues 6 (0 open6 closed)

Related to Ruby master - Bug #1963: redo'ing deadlock causes [BUG]Closed08/20/2009Actions
Related to Backport191 - Backport #2948: failing test - test_thread.rb in ruby 1.9.1 p378 on linux redhatClosedyugui (Yuki Sonoda)Actions
Related to Ruby master - Bug #2558: r24591 causes SegfaultClosed01/05/2010Actions
Related to Ruby master - Bug #4285: Ruby don't have asynchrounous exception safe syntax and It should have.Closedko1 (Koichi Sasada)01/17/2011Actions
Related to Ruby master - Bug #6131: Ctrl-C handler do not work from exec process (Windows)Closedh.shirosaki (Hiroshi Shirosaki)03/12/2012Actions
Related to Ruby master - Bug #5368: ensure節でsleepするようなThreadがあるとインタプリタが終了しないClosedkosaki (Motohiro KOSAKI)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0Like0