[#26156] ruby 1.8.3 preview1 — Yukihiro Matsumoto <matz@...>

Hi,

28 messages 2005/05/12

[#26186] ruby_setenv dumps core with mod_ruby/1.4.2 — Tietew <tietew-ml-ruby-dev@...>

Tietew です。

15 messages 2005/05/18
[#26285] Re: ruby_setenv dumps core with mod_ruby/1.4.2 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/06/05

山本です。

[#26325] Re: ruby_setenv dumps core with mod_ruby/1.4.2 — Tietew <tietew-ml-ruby-dev@...> 2005/06/10

Tietew です。

[#26187] IO.select dumps core — Tanaka Akira <akr@...17n.org>

[ruby-talk:142505] で可能性に気がついたのですが、いま実験してみたとこ

31 messages 2005/05/18
[#26255] Re: IO.select dumps core — nobu@... 2005/05/31

なかだです。

[#26256] Re: IO.select dumps core — Tanaka Akira <akr@...17n.org> 2005/06/01

In article <200505311523.j4VFN4Y4005876@sharui.nakada.niregi.kanuma.tochigi.jp>,

[#26257] Re: IO.select dumps core — nobu@... 2005/06/01

なかだです。

[#26262] Re: IO.select dumps core — Tanaka Akira <akr@...17n.org> 2005/06/01

In article <200506010140.j511edY4012889@sharui.nakada.niregi.kanuma.tochigi.jp>,

[#26265] Re: IO.select dumps core — Takahiro Kambe <taca@...> 2005/06/02

In message <87u0khj377.fsf@m17n.org>

[#26365] Re: IO.select dumps core — とみたまさひろ <tommy@...> 2005/06/22

とみたです。

[#26366] Re: IO.select dumps core — nobu@... 2005/06/22

なかだです。

[#26369] Re: IO.select dumps core — とみたまさひろ <tommy@...> 2005/06/23

とみたです。

[#26242] many errors with soap/wsdl test on mswin32 — "U.Nakamura" <usa@...>

こんにちは、なかむら(う)です。

12 messages 2005/05/27
[#26249] Re: many errors with soap/wsdl test on mswin32 — "H.Yamamoto" <ocean@...2.ccsnet.ne.jp> 2005/05/31

山本です。

[ruby-dev:26195] test_event(TestSetTraceFunc) failed on ruby-1.8 built with gcc-4.0

From: Tanaka Akira <akr@...17n.org>
Date: 2005-05-21 10:45:57 UTC
List: ruby-dev #26195
ruby 1.8 を gcc 4.0 で作ると

  1) Failure:
test_event(TestSetTraceFunc) [./test/ruby/test_settracefunc.rb:133]:
<["return", 7, :bar, TestSetTraceFunc]> expected but was
<["return", 6, :bar, TestSetTraceFunc]>.

というようにテストが失敗します。

調べてみると、とりあえず次のように volatile を入れると直ります。

Index: eval.c
===================================================================
RCS file: /src/ruby/eval.c,v
retrieving revision 1.616.2.97
diff -u -r1.616.2.97 eval.c
--- eval.c	18 May 2005 14:39:22 -0000	1.616.2.97
+++ eval.c	21 May 2005 10:40:41 -0000
@@ -5540,7 +5540,7 @@
     ID    oid;
     int argc;			/* OK */
     VALUE *argv;		/* OK */
-    NODE *body;			/* OK */
+    volatile NODE *body;			/* OK */
     int nosuper;
 {
     NODE *b2;		/* OK */

あと、/* OK */ というコメントはどうすべきかよくわかりません。

% ./miniruby -v
ruby 1.8.3 (2005-05-19) [i686-linux]
% gcc --version
gcc (GCC) 4.0.1 20050521 (prerelease)
Copyright (C) 2005 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
-- 
[田中 哲][たなか あきら][Tanaka Akira]

In This Thread

Prev Next