[#3747] constants (or class vriable?) — Wakou Aoyama <wakou@...>

青山です。

20 messages 1998/12/06
[#3751] Re: constants (or class vriable?) — Shin-ichro Hara <sinara@...> 1998/12/07

原です。

[#3763] Re: constants (or class vriable?) — Wakou Aoyama <wakou@...> 1998/12/07

青山です。

[#3764] Re: constants (or class vriable?) — matz@... (Yukihiro Matsumoto) 1998/12/08

まつもと ゆきひろです

[#3767] Re: constants (or class vriable?) — kjana@... (YANAGAWA Kazuhisa) 1998/12/08

In message <199812080034.JAA05946@picachu.netlab.co.jp>

[#3826] ruby 1.1d0 released — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

35 messages 1998/12/16

[#3873] (?: ) does not work? — shugo@... (MAEDA Shugo)

前田です。

15 messages 1998/12/19

[#3881] I want to catch all jump — shugo@... (Shugo Maeda)

前田です。

17 messages 1998/12/21
[#3895] Re: I want to catch all jump — matz@... (Yukihiro Matsumoto) 1998/12/22

まつもと ゆきひろです

[#3894] ruby 1.1d1 released — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

25 messages 1998/12/22

[#3899] interpreter reinitialization — shugo@... (Shugo Maeda)

前田です。

22 messages 1998/12/22
[#3923] Re: interpreter reinitialization — matz@... (Yukihiro Matsumoto) 1998/12/23

まつもと ゆきひろです

[#3926] Re: interpreter reinitialization — shugo@... (Shugo Maeda) 1998/12/23

前田です。

[#3931] Re: interpreter reinitialization — matz@... (Yukihiro Matsumoto) 1998/12/24

まつもと ゆきひろです

[#3956] Re: interpreter reinitialization — shugo@... (Shugo Maeda) 1998/12/24

前田です。

[#3960] Re: interpreter reinitialization — matz@... (Yukihiro Matsumoto) 1998/12/24

まつもと ゆきひろです

[#4002] config.guess — Koji Arai <JCA02266@...>

新井です。

24 messages 1998/12/26
[#4039] Re: config.guess — matz@... (Yukihiro Matsumoto) 1998/12/29

まつもと ゆきひろです

[#4045] Re: config.guess — Koji Arai <JCA02266@...> 1998/12/31

新井です。

[#4047] Re: config.guess — matz@... (Yukihiro Matsumoto) 1999/01/01

まつもと ゆきひろです

[#4048] Re: config.guess — Koji Arai <JCA02266@...> 1999/01/01

新井です。

[#4049] Re: config.guess — matz@... (Yukihiro Matsumoto) 1999/01/02

まつもと ゆきひろです

[#4050] Re: config.guess — Motoyuki Kasahara <m-kasahr@...> 1999/01/04

笠原です。

[#4030] module Precision — gotoken@... (GOTO Kentaro)

ごとけんです

78 messages 1998/12/28
[#4310] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/01/21

ごとけんです

[#4311] Re: module Precision — matz@... (Yukihiro Matsumoto) 1999/01/21

まつもと ゆきひろです

[#4312] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/01/21

ごとけんです

[#4317] Re: module Precision — keiju@... (石塚圭樹 ) 1999/01/21

けいじゅ@日本ラショナルソフトウェアです.

[#4364] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/01/25

ごとけんです

[#4478] Re: module Precision — matz@... (Yukihiro Matsumoto) 1999/01/28

まつもと ゆきひろです

[#4506] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/01/30

ごとけんです

[#4552] Re: module Precision — matz@... (Yukihiro Matsumoto) 1999/02/01

まつもと ゆきひろです

[#4557] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/02/01

ごとけんです

[#4632] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/02/03

ごとけんです

[#4647] Re: module Precision — keiju@... (石塚圭樹 ) 1999/02/03

けいじゅ@日本ラショナルソフトウェアです.

[#4648] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/02/03

ごとけんです

[#4633] Re: module Precision — matz@... (Yukihiro Matsumoto) 1999/02/03

まつもと ゆきひろです

[#4636] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/02/03

ごとけんです

[#4836] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/02/08

ごとけんです

[#4843] Re: module Precision — keiju@... (石塚圭樹 ) 1999/02/08

けいじゅ@日本ラショナルソフトウェアです.

[#4849] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/02/08

ごとけんです

[#4924] Re: module Precision — keiju@... (石塚圭樹 ) 1999/02/09

けいじゅ@日本ラショナルソフトウェアです.

[#4976] a genericity — gotoken@... (GOTO Kentaro) 1999/02/10

ごとけんです

[#5008] Re: a genericity — keiju@... (石塚圭樹 ) 1999/02/11

けいじゅ@日本ラショナルソフトウェアです.

[#5018] Re: a genericity — gotoken@... (GOTO Kentaro) 1999/02/11

ごとけんです

[#5171] Re: a genericity — keiju@... (石塚圭樹 ) 1999/02/16

けいじゅ@日本ラショナルソフトウェアです.

[ruby-dev:4026] [BUG] ruby 1.3(98/12/24)

From: Hiroshi Igarashi <igarashi@...>
Date: 1998-12-28 07:36:38 UTC
List: ruby-dev #4026
いがらし@早大です。

> いがらしです。
> 
> 例外のraiseがどうもおかしいようです。
> 問答無用でRuntimeErrorが投げられてしまいます。

自信ありませんが、一応これで直りました。

--- eval.c.orig	Thu Dec 24 18:28:47 1998
+++ eval.c	Mon Dec 28 06:00:57 1998
@@ -3000,7 +3000,7 @@
 	if (n == 1 && TYPE(mesg) == T_STRING) {
 	    mesg = rb_exc_new3(rb_eRuntimeError, mesg);
 	}
-	else if (n == 1 || n == 2) {
+	else if (n == 2) {
 	    mesg = rb_funcall(etype, rb_intern("new"), n-1, mesg);
 	}
 	if (!rb_obj_is_kind_of(mesg, rb_eException)) {


> またtracerありでraiseするとcoredumpします。
> 上のと原因は同じか近いところにあると思うのですが。

全然違うとこかも知れません。
一応バックトレースを送ります。

(gdb) run
Starting program: /usr/local/src/ruby/ruby-1.3/./ruby ../t2.rb
#0:../t2.rb:2:<: Tracer.on
#0:../t2.rb:3:-: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
#0:../t2.rb:3:: raise "some exception"
../t2.rb:3: [BUG] bug in variable assignment

Program received signal SIGABRT, Aborted.
0x400e83c5 in __kill ()
(gdb) bt
#0  0x400e83c5 in __kill ()
#1  0x400d139d in gsignal ()
#2  0x40043b2a in assign () at eval.c:3221
#3  0x400435bb in rb_yield_0 (val=1075415944, self=1075419644, klass=0)
    at eval.c:3065
#4  0x40048a8f in proc_call (proc=1075419324, args=1075415944) at eval.c:5307
#5  0x4003ed95 in call_trace_func (event=0x4008ff0d "c-call", file=0x0, line=0, 
    self=0, id=4233, klass=0) at eval.c:1601
#6  0x40044e65 in rb_call0 (klass=1075474604, recv=1075418164, id=4233, argc=0, 
    argv=0x0, body=0x401a6f94, nosuper=1) at eval.c:3625
#7  0x400457b0 in rb_call () at eval.c:3820
#8  0x40045985 in rb_funcall () at eval.c:3854
#9  0x4003d19f in get_backtrace (info=1075418164) at eval.c:760
#10 0x4003d1fb in error_print () at eval.c:779
#11 0x4003db49 in ruby_run () at eval.c:944
#12 0x8048571 in main (argc=2, argv=0xbffff47c, envp=0xbffff488) at main.c:32
#13 0x804850e in ___crt_dummy__ ()

---------------
いがらし ひろし

In This Thread

Prev Next