[#37248] [Feature:1.9] Enumerator#inspect — "Yusuke ENDOH" <mame@...>

遠藤です。

12 messages 2008/12/02

[#37337] [Feature #841] Object#self — "rubikitch ." <redmine@...>

Feature #841: Object#self

13 messages 2008/12/09

[#37513] Current status of 1.9.1 RC1's issues — "Yugui (Yuki Sonoda)" <yugui@...>

Hi, folks

14 messages 2008/12/20
[#37516] Re: Current status of 1.9.1 RC1's issues — Masatoshi SEKI <m_seki@...> 2008/12/20

咳といいます。

[#37576] [BUG:trunk] encoding for stdio's — "Yugui (Yuki Sonoda)" <yugui@...>

Yuguiです。

11 messages 2008/12/24

[ruby-dev:37637] [Bug #941] ignores SIGQUIT on FreeBSD 7.1

From: Yui NARUSE <redmine@...>
Date: 2008-12-29 02:14:23 UTC
List: ruby-dev #37637
Bug #941: ignores SIGQUIT on FreeBSD 7.1
http://redmine.ruby-lang.org/issues/show/941

起票者: Yui NARUSE
ステータス: Open, 優先度: Normal
カテゴリ: core, Target version: 1.9.1 Release Candidate

FreeBSD 7.1-PRERELEASE amd64 にて、SIGQUIT を無視してしまうようです。

  1) Failure:
test_status_kill(TestProcess) [test/ruby/test_process.rb:941]:
Expected ["#<Process::Status: pid 53404 SIGQUIT (signal )>",
 "#<Process::Status: pid 53404 SIGQUIT (signal ) (core dumped)>"].include?(*["#<Process::Status: pid 53404 exit 0>"]) to return true.

書き換えると以下の通り

% cat wait.rb
sleep 10;
print "finished\n";
% ruby19 -e'pid=spawn("ruby19","wait.rb"); Thread.new{sleep 3; Process.kill(:SIGQUIT, pid) }; Process.wait(pid);;p $?'
finished
#<Process::Status: pid 53220 exit 0>

なお、spawn("perl" に書き換えるとちゃんと殺せます


----------------------------------------
http://redmine.ruby-lang.org

In This Thread

Prev Next