[#39954] Fwd: [ruby-cvs:33451] Ruby:r26235 (trunk): * trace.h: new file. wraps tracing mechanisms. — SASADA Koichi <ko1@...>

 ささだです.

16 messages 2010/01/04
[#39957] Re: Fwd: [ruby-cvs:33451] Ruby:r26235 (trunk): * trace.h: new file. wraps tracing mechanisms. — Yugui <yugui@...> 2010/01/04

2010/1/4 SASADA Koichi <ko1@atdot.net>:

[#39959] Re: Fwd: [ruby-cvs:33451] Ruby:r26235 (trunk): * trace.h: new file. wraps tracing mechanisms. — SASADA Koichi <ko1@...> 2010/01/04

 ささだです.

[#39975] [Feature #2571] 文字列のハミング距離 — Kenta Murata <redmine@...>

Feature #2571: 文字列のハミング距離

14 messages 2010/01/07

[#39978] "require 'logge'" fails on ruby 1.8.7 from http://github.com/shyouhei/ruby — MOROHASHI Kyosuke <moronatural@...>

諸橋です。

7 messages 2010/01/07

[#40004] [Bug:trunk] require_relative depends on current directory — Yusuke ENDOH <mame@...>

遠藤です。

13 messages 2010/01/09

[#40074] [Bug #2603] NetBSD 5.0以降でpthreadの処理に由来する不具合 — Takahiro Kambe <redmine@...>

Bug #2603: NetBSD 5.0以降でpthreadの処理に由来する不具合

29 messages 2010/01/14
[#40086] Re: [Bug #2603] NetBSD 5.0以降でpthreadの処理に由来する不具合 — f-miura@... (MIURA, Fumiaki) 2010/01/14

NTTレゾナントの三浦です。不完全なpatchを書いてすみません。

[#40088] Re: [Bug #2603] NetBSD 5.0以降でpthreadの処理に由来する不具合 — Takahiro Kambe <taca@...> 2010/01/14

こんばんは。

[#40091] Re: [Bug #2603] NetBSD 5.0以降でpthreadの処理に由来する不具合 — KOSAKI Motohiro <kosaki.motohiro@...> 2010/01/15

kosakiです

[#40092] Re: [Bug #2603] NetBSD 5.0以降でpthreadの処理に由来する不具合 — Takahiro Kambe <taca@...> 2010/01/15

こんにちは。

[#40077] [Bug #2604] test_dsa_sign_verify() in test/openssl/test_ec.rb failes — Takahiro Kambe <redmine@...>

Bug #2604: test_dsa_sign_verify() in test/openssl/test_ec.rb failes

11 messages 2010/01/14

[#40153] [Bug:trunk] three bugs of Matrix::Scalar — Yusuke ENDOH <mame@...>

連投すみません。

19 messages 2010/01/25
[#40184] Re: [Bug:trunk] three bugs of Matrix::Scalar — keiju@... (石塚圭樹) 2010/01/27

けいじゅ@いしつかです.

[#40189] Re: [Bug:trunk] three bugs of Matrix::Scalar — Yusuke ENDOH <mame@...> 2010/01/27

遠藤です。

[#40191] Re: [Bug:trunk] three bugs of Matrix::Scalar — keiju@... (石塚圭樹) 2010/01/27

けいじゅ@いしつかです.

[#40224] Re: [Bug:trunk] three bugs of Matrix::Scalar — Yukihiro Matsumoto <matz@...> 2010/01/28

まつもと ゆきひろです

[#40162] [Bug #2658] rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR — Yusuke Endoh <redmine@...>

Bug #2658: rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR

8 messages 2010/01/26
[#40163] Re: [Bug #2658] rubyspec: Ruby character strings interpolates the return value of Object#inspect, without ivars, if Object#to_s does not return a String instance ERROR — Tanaka Akira <akr@...> 2010/01/26

2010年1月26日20:39 Yusuke Endoh <redmine@ruby-lang.org>:

[#40168] [Bug #2662] BigDecimal#ceil, etc. should not return Integer — Yusuke Endoh <redmine@...>

Bug #2662: BigDecimal#ceil, etc. should not return Integer

10 messages 2010/01/26

[#40200] [Feature #2673] the length for an enumerator generated by Array#permutation and Array#combination — Kenta Murata <redmine@...>

Feature #2673: the length for an enumerator generated by Array#permutation and Array#combination

14 messages 2010/01/28

[#40221] [Bug:trunk] rubyspec: SimpleDelegator when frozen creates a frozen clone ERROR — Yusuke ENDOH <mame@...>

まつもとさん、または lib/delegator.rb についてわかる誰か

13 messages 2010/01/28

[#40265] MonitorMixin::ConditionVariable#wait timeout — Tanaka Akira <akr@...>

手元の Ubuntu 9.10 の環境で Ruby 1.9.2 を make test-all すると

38 messages 2010/01/30
[#40326] Re: MonitorMixin::ConditionVariable#wait timeout — Shugo Maeda <shugo@...> 2010/02/05

前田です。

[#41155] Re: MonitorMixin::ConditionVariable#wait timeout — Yusuke ENDOH <mame@...> 2010/05/05

前田さん、akr さん

[#41157] Re: MonitorMixin::ConditionVariable#wait timeout — Tanaka Akira <akr@...> 2010/05/05

2010年5月5日9:32 Yusuke ENDOH <mame@tsg.ne.jp>:

[#41158] Re: MonitorMixin::ConditionVariable#wait timeout — Yusuke ENDOH <mame@...> 2010/05/05

遠藤です。

[#41159] Re: MonitorMixin::ConditionVariable#wait timeout — Tanaka Akira <akr@...> 2010/05/05

2010年5月5日11:46 Yusuke ENDOH <mame@tsg.ne.jp>:

[#41160] Re: MonitorMixin::ConditionVariable#wait timeout — Yusuke ENDOH <mame@...> 2010/05/05

遠藤です。

[#41182] Re: MonitorMixin::ConditionVariable#wait timeout — Tanaka Akira <akr@...> 2010/05/06

2010年5月5日13:22 Yusuke ENDOH <mame@tsg.ne.jp>:

[#41183] Re: MonitorMixin::ConditionVariable#wait timeout — Yusuke ENDOH <mame@...> 2010/05/06

遠藤です。

[#41186] Re: MonitorMixin::ConditionVariable#wait timeout — Tanaka Akira <akr@...> 2010/05/06

2010年5月6日19:58 Yusuke ENDOH <mame@tsg.ne.jp>:

[#41205] Re: MonitorMixin::ConditionVariable#wait timeout — Yusuke ENDOH <mame@...> 2010/05/06

遠藤です。

[#41207] Re: MonitorMixin::ConditionVariable#wait timeout — KOSAKI Motohiro <kosaki.motohiro@...> 2010/05/06

2010年5月6日23:08 Yusuke ENDOH <mame@tsg.ne.jp>:

[#41208] Re: MonitorMixin::ConditionVariable#wait timeout — Tanaka Akira <akr@...> 2010/05/06

2010年5月6日23:15 KOSAKI Motohiro <kosaki.motohiro@gmail.com>:

[#41245] Re: MonitorMixin::ConditionVariable#wait timeout — Yusuke ENDOH <mame@...> 2010/05/10

遠藤です。

[#41252] Re: MonitorMixin::ConditionVariable#wait timeout — KOSAKI Motohiro <kosaki.motohiro@...> 2010/05/10

kosakiです

[#41255] Re: MonitorMixin::ConditionVariable#wait timeout — Yusuke ENDOH <mame@...> 2010/05/10

遠藤です。

[#41256] Re: MonitorMixin::ConditionVariable#wait timeout — Masaya TARUI <tarui@...> 2010/05/10

樽家です。

[#40269] [Feature #2695] Supported Platforms — Kazuhiro NISHIYAMA <redmine@...>

Feature #2695: Supported Platforms

17 messages 2010/01/31
[#40760] [Feature #2695] Supported Platforms — Yusuke Endoh <redmine@...> 2010/03/25

チケット #2695 が更新されました。 (by Yusuke Endoh)

[ruby-dev:39988] Re: [ruby-list:46704] [ANN] Ruby 1.8.7-p248 released.

From: Takahiro Kambe <taca@...>
Date: 2010-01-08 03:43:41 UTC
List: ruby-dev #39988
こんにちは。

昨年暮れにリリースされた Ruby 1.8.7-p248 ですが、その前の p174 に比べ
て不可思議な現象を確認しています。

環境:	NetBSD 5.0_STABLEおよびcurrent (5.99.22) / i386

make test-all を実行したときに、threadのテストで先に進まなくなります。
調べてわかったことは、以下のようになります。

o test/thread/test_thread.rbから実行されるlbtest.rbを直接実行すると、
  問題なく完了する。

o test/thread/test_thread.rbの test_local_barrier メソッド内で、
  lbtest.rbの呼び出しをを10回繰り返しているが、

  * これを1回にすると問題なく完了する。
  * 2回以上繰り返すと2回目から、

            result = `#{EnvUtil.rubybin} #{lbtest}`

    の結果を待ち続けてブロックした状態になる。

  * この状態で、Control-Cで中断すると、lbtest.rbを実行しているRubyの
    プロセスが残って、SIGKILL以外のシグナルを無視しているようだ。

以下の方法で確認しています。

% eval "`make -n test-all` -v thread"		(threadだけ実行)
Loaded suite thread
Started
test_condvar(TC_Thread): .
test_condvar_wait_exception_handling(TC_Thread): .
test_condvar_wait_not_owner(TC_Thread): .
test_local_barrier(TC_Thread): ^C./test/thread/test_thread.rb:75:in ``': Interrupt
        from ./test/thread/test_thread.rb:75:in `test_local_barrier'
        from ./test/thread/test_thread.rb:74:in `times'
        from ./test/thread/test_thread.rb:74:in `test_local_barrier'
(以下省略)
% ps jc |egrep ruby
taca  4116     1   546 d326a8    0 Il   ttyp2 0:00.10 ruby18
% kill 4116
% ps jc |egrep ruby
taca  4116     1   546 d326a8    0 Sl   ttyp2 0:00.16 ruby18
% gcore 4116
% gdb ruby18 ruby18.core
(省略)
Core was generated by `ruby18'.
#0  0xbba31017 in ___lwp_park50 () from /usr/lib/libc.so.12
(gdb) where
#0  0xbba31017 in ___lwp_park50 () from /usr/lib/libc.so.12
#1  0xbbb0db43 in pthread_cond_timedwait () from /usr/lib/libpthread.so.1
#2  0xbbb3d6e0 in thread_timer ()
   from /data/work/lang/ruby18-base/work.edge/ruby-1.8.7-p248/libruby18.so.18
#3  0xbbb0ff1b in pthread_create () from /usr/lib/libpthread.so.1
#4  0xbba31030 in ___lwp_park50 () from /usr/lib/libc.so.12
#5  0xbb600000 in ?? ()
#6  0x08049ad0 in ?? ()
#7  0xbb500000 in ?? ()
#8  0x00000000 in ?? ()

改めてlbtest.rbを呼び出している側、test/thread/test_thread.rbを実行中
のRubyのプロセスをgcore(1)を使って状態を見ると、

(gdb) where
#0  0xbb9ef4c7 in read () from /usr/lib/libc.so.12
#1  0xbbb0ada8 in read () from /usr/lib/libpthread.so.1
#2  0xbbab0f82 in __sread () from /usr/lib/libc.so.12
#3  0xbbaa4dbf in __srefill () from /usr/lib/libc.so.12
#4  0xbbaa4cd3 in __srget () from /usr/lib/libc.so.12
#5  0xbbaa4649 in getc () from /usr/lib/libc.so.12
#6  0xbbb60094 in io_fread ()
   from /data/work/lang/ruby18-base/work.edge/ruby-1.8.7-p248/libruby18.so.18
#7  0xbbb60246 in read_all ()
   from /data/work/lang/ruby18-base/work.edge/ruby-1.8.7-p248/libruby18.so.18
#8  0xbbb65051 in rb_f_backquote ()
   from /data/work/lang/ruby18-base/work.edge/ruby-1.8.7-p248/libruby18.so.18
...

と、readでブロックしていることが確認できます。

以上、状況の調査だけで解決方法は不明です。

-- 
神戸 隆博(かんべ たかひろ)		at 仕事場 

In This Thread

Prev Next