From: nobu.nakada@... Date: 2003-10-09T18:01:43+09:00 Subject: [ruby-dev:21580] Re: core dump in rb_thread_schedule なかだです。 At Thu, 9 Oct 2003 15:49:19 +0900, Yukihiro Matsumoto wrote: > |今日、cvs update したら、rb_thread_schedule で core を吐くようになったのですが、 > |何か思い当たるかたはいますか? > > threadまわりの変更はゆうべ中田さんがコミットしてますが、関係 > あるのかな。 あると考えるのが自然だと思います。とりあえず他に思い当たる節がな いんですが、これで何か変わるでしょうか。 Index: eval.c =================================================================== RCS file: /cvs/ruby/src/ruby/eval.c,v retrieving revision 1.555 diff -u -2 -p -r1.555 eval.c --- eval.c 9 Oct 2003 05:05:43 -0000 1.555 +++ eval.c 9 Oct 2003 08:59:47 -0000 @@ -9466,9 +9573,10 @@ rb_thread_start_0(fn, arg, th) th->result = (*fn)(arg, th); } + th = th_save; } else if (TAG_DST()) { + th = th_save; th->result = prot_tag->retval; } - th = th_save; POP_TAG(); status = th->status; -- --- 僕の前にBugはない。 --- 僕の後ろにBugはできる。 中田 伸悦