Project

General

Profile

Actions

Bug #8137

closed

r39819 以降 Process.kill(0, $$) が終了しない

Added by hsbt (Hiroshi SHIBATA) over 11 years ago. Updated over 11 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 2.1.0dev (2013-03-20 trunk 39842) [x86_64-darwin12.3.0]
Backport:
[ruby-dev:47182]

Description

r39819 以降、以下のコードが終了せずにデッドロックとなります。

$ ruby -e 'Process.kill(0, $$)'

1.9.3, 2.0.0 では正常に終了します。この影響により例えば以下のようなコードが動かなくなるので、デッドロックは回避するようにして頂けないでしょうか。

https://github.com/puppetlabs/puppet/blob/master/lib/puppet/util/pidlock.rb#L46

Actions #1

Updated by nobu (Nobuyoshi Nakada) over 11 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

This issue was solved with changeset r39862.
Hiroshi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.


thread.c: fix deadlock

Actions

Also available in: Atom PDF

Like0
Like0