[#4076] Re: call/cc — shugo@... (Shugo Maeda)

51 messages 1999/01/08
[#4077] Re: [ruby-list:11512] Re: call/cc — maeda@... 1999/01/08

前田@リコーです。

[#4078] Re: call/cc — shugo@... (Shugo Maeda) 1999/01/08

[#4079] Re: call/cc — kjana@... (YANAGAWA Kazuhisa) 1999/01/08

In message <m0zyZO8-0003EbC@crunkey.chocolate.or.jp>

[#4098] Re: call/cc — shugo@... (Shugo Maeda) 1999/01/11

[#4105] Re: call/cc — EGUCHI Osamu <eguchi@...> 1999/01/12

えぐち@エスアンドイー です。

[#4144] Re: call/cc — shugo@... (Shugo Maeda) 1999/01/13

[#4090] finalizers — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

19 messages 1999/01/11

[#4095] Ruby on CYGWIN — TAKAHASHI Masayoshi <maki@...>

高橋です。久しぶりに書きます。

26 messages 1999/01/11
[#4111] Re: Ruby on CYGWIN — WATANABE Hirofumi <watanabe@...> 1999/01/12

わたなべです.

[#4115] Re: Ruby on CYGWIN — TAKAHASHI Masayoshi <maki@...> 1999/01/12

高橋です。Rubyのリンク集から見つけたのですが、sgmailって

[#4118] sgmail (Re: Ruby on CYGWIN) — Takahiro Maebashi <maebashi@...> 1999/01/12

前橋です。

[#4123] Tk? Gtk? (Re: sgmail) — TAKAHASHI Masayoshi <maki@...> 1999/01/13

高橋です。

[#4203] Compile via WATCOM C — ARIMA Yasuhiro <fit0298@...>

有馬です。

20 messages 1999/01/18
[#4204] Re: Compile via WATCOM C — KIMURA Koichi <kimura@...> 1999/01/18

[#4248] patch for ruby-mswin32 — Koji Oda <oda@...1.qnes.nec.co.jp>

小田@QNES です。

27 messages 1999/01/19
[#4254] Re: patch for ruby-mswin32 — matz@... (Yukihiro Matsumoto) 1999/01/19

まつもと ゆきひろです

[#4256] Re: patch for ruby-mswin32 — WATANABE Hirofumi <watanabe@...> 1999/01/19

わたなべです.

[#4258] Re: patch for ruby-mswin32 — matz@... (Yukihiro Matsumoto) 1999/01/19

まつもと ゆきひろです

[#4290] signed/unsigned char — ARIMA Yasuhiro <fit0298@...>

有馬です。

17 messages 1999/01/20
[#4292] Re: signed/unsigned char — EGUCHI Osamu <eguchi@...> 1999/01/20

えぐち@エスアンドイー です。

[#4293] Re: signed/unsigned char — ARIMA Yasuhiro <fit0298@...> 1999/01/20

Regard to "[ruby-dev:4292] Re: signed/unsigned char"

[#4295] Re: signed/unsigned char — EGUCHI Osamu <eguchi@...> 1999/01/20

えぐち@エスアンドイー です。

[#4327] pack("F") for bigendian float — gotoken@... (GOTO Kentaro)

ごとけんです。

25 messages 1999/01/22
[#4330] Re: pack("F") for bigendian float — gotoken@... (GOTO Kentaro) 1999/01/23

ごとけんです

[#4331] Re: pack("F") for bigendian float — gotoken@... (GOTO Kentaro) 1999/01/23

ごとけんです

[#4336] Re: pack("F") for bigendian float — matz@... (Yukihiro Matsumoto) 1999/01/24

まつもと ゆきひろです

[#4337] Re: pack("F") for bigendian float — gotoken@... (GOTO Kentaro) 1999/01/24

ごとけんです

[#4338] Re: pack("F") for bigendian float — Yamashita Junji (山下 純司) <ys_jyunji@...> 1999/01/24

山下 純司です。

[#4341] cascades on ruby — Kazunori NISHI <kazunori@...>

西@九大です。

51 messages 1999/01/25
[#4342] Re: cascades on ruby — Kazuhiro HIWADA <hiwada@...> 1999/01/25

ひわだです。

[#4343] Re: cascades on ruby — Kazunori NISHI <kazunori@...> 1999/01/25

西@九大です。

[#4344] Re: cascades on ruby — matz@... (Yukihiro Matsumoto) 1999/01/25

まつもと ゆきひろです

[#4386] Re: cascades on ruby — keiju@... (石塚圭樹 ) 1999/01/26

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

[#4389] Re: cascades on ruby — matz@... (Yukihiro Matsumoto) 1999/01/26

まつもと ゆきひろです

[#4394] Re: cascades on ruby — keiju@... (石塚圭樹 ) 1999/01/26

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

[#4396] keyword argument (Re: Re: cascades on ruby) — matz@... (Yukihiro Matsumoto) 1999/01/26

[#4399] Re: keyword argument (Re: Re: cascades on ruby) — keiju@... (石塚圭樹 ) 1999/01/26

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

[#4400] Re: keyword argument (Re: Re: cascades on ruby) — matz@... (Yukihiro Matsumoto) 1999/01/26

まつもと ゆきひろです

[#4401] Re: keyword argument (Re: Re: cascades on ruby) — keiju@... (石塚圭樹 ) 1999/01/26

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

[#4404] Re: keyword argument (Re: Re: cascades on ruby) — matz@... (Yukihiro Matsumoto) 1999/01/26

まつもと ゆきひろです

[#4410] Re: keyword argument (Re: Re: cascades on ruby) — keiju@... (石塚圭樹 ) 1999/01/26

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

[#4412] Re: keyword argument (Re: Re: cascades on ruby) — matz@... (Yukihiro Matsumoto) 1999/01/26

まつもと ゆきひろです

[#4473] Re: keyword argument (Re: Re: cascades on ruby) — matz@... (Yukihiro Matsumoto) 1999/01/28

まつもと ゆきひろです

[#4495] Re: keyword argument (Re: Re: cascades on ruby) — shugo@... (Shugo Maeda) 1999/01/29

前田です。

[#4349] Re: [ruby-list:11707] Re: ruby 1.2.2 released — EGUCHI Osamu <eguchi@...>

えぐち@エスアンドイー です。

35 messages 1999/01/25
[#4353] Re: [ruby-list:11707] Re: ruby 1.2.2 released — EGUCHI Osamu <eguchi@...> 1999/01/25

えぐち@エスアンドイー です。

[#4357] --enable-shared/BSD (Re: ) — EGUCHI Osamu <eguchi@...> 1999/01/25

えぐち@エスアンドイー です。

[#4375] Re: --enable-shared/BSD (Re: ) — matz@... (Yukihiro Matsumoto) 1999/01/26

まつもと ゆきひろです

[#4387] Re: --enable-shared/BSD (Re: ) — EGUCHI Osamu <eguchi@...> 1999/01/26

えぐち@エスアンドイー です。

[#4391] Re: --enable-shared/BSD (Re: ) — matz@... (Yukihiro Matsumoto) 1999/01/26

まつもと ゆきひろです

[#4406] Re: --enable-shared/BSD (Re: ) — EGUCHI Osamu <eguchi@...> 1999/01/26

えぐち@エスアンドイー です。

[#4419] Re: module Precision — Inaba Hiroto <inaba@...>

21 messages 1999/01/26
[#4438] Re: module Precision — gotoken@... (GOTO Kentaro) 1999/01/27

ごとけんです

[#4451] Re: module Precision — Inaba Hiroto <inaba@...> 1999/01/27

From: gotoken@math.sci.hokudai.ac.jp (GOTO Kentaro)

[#4453] new class for float of C (Re: module Precision) — gotoken@... (GOTO Kentaro) 1999/01/27

ごとけんです

[#4457] Re: new class for float of C (Re: module Precision) — matz@... (Yukihiro Matsumoto) 1999/01/28

まつもと ゆきひろです

[#4460] Re: new class for float of C (Re: module Precision) — gotoken@... (GOTO Kentaro) 1999/01/28

ごとけんです

[#4461] Re: new class for float of C (Re: module Precision) — matz@... (Yukihiro Matsumoto) 1999/01/28

まつもと ゆきひろです

[#4462] Re: new class for float of C (Re: module Precision) — gotoken@... (GOTO Kentaro) 1999/01/28

ごとけんです

[#4420] ruby 1.3.1-990126 — matz@... (Yukihiro Matsumoto)

まつもと ゆきひろです

17 messages 1999/01/26

[#4452] permit to put a comma — Koji Arai <JCA02266@...>

新井です。

18 messages 1999/01/27
[#4484] Re: permit to put a comma — matz@... (Yukihiro Matsumoto) 1999/01/29

まつもと ゆきひろです

[#4518] Inf.0 — gotoken@... (GOTO Kentaro)

ごとけんです

17 messages 1999/01/30

[ruby-dev:4481] bug? thread

From: WATANABE Tetsuya <tetsu@...>
Date: 1999-01-29 00:18:52 UTC
List: ruby-dev #4481
渡辺哲也です。

thread を使用したときに core をはいてしまうようです。

タイミングに関係するようで、実行すれば毎回起きるとい
うものではありません。「何度か実行して起きる」という
感じです。動作環境により再現しない場合は、関数 ggg 
内の、upto(200) の数字を少し大きく変更してみてくださ
い。

■ 環境

Ruby

ruby-1.3.1-990127

Linux

TurboLinux 3.0J
libc glibc-2.0.7
gcc egcs-1.1b

HP-UX

HP-UX 10.20
gcc gcc-2.7.2.1

■ 再現スクリプト

------------------------------
require 'thread'

def ggg
  1.upto(10) do |j|
    jj = []
    1.upto(200) do |i|
      jj[i] = ' ' * i
    end
  end
end

t = []
max = 8

1.upto(max) do |i|
  w = Thread.start {
    ggg
    p i
  }
  t.push(w)
end

1.upto(max) do |i|
  w = t.pop
  if w and w.alive?
    w.join
  end
end

exit
------------------------------

■ バックトレース

Linux:

#0  0x400780a1 in ?? () from /lib/libc.so.6
#1  0x400790a1 in ?? () from /lib/libc.so.6
#2  0x8097cad in rb_bug () at error.c:154
#3  0x8083b8d in sigsegv () at signal.c:333
#4  0xbfffd3d0 in ?? ()
#5  0x805ad65 in thread_mark (th=0x80fcf28) at eval.c:5847
#6  0x8060251 in rb_gc_mark (ptr=0x4010b568) at gc.c:574
#7  0x805aeae in rb_gc_mark_threads () at eval.c:5890
#8  0x80607d7 in rb_gc () at gc.c:916
#9  0x805faa8 in xmalloc (size=8480) at gc.c:65
#10 0x805fb25 in xrealloc (ptr=0x0, size=8480) at gc.c:100
#11 0x805b025 in rb_thread_save_context (th=0x80fcf28) at eval.c:5926
#12 0x805c4e2 in rb_thread_create_0 (fn=0x805c690 <rb_thread_yield>, arg=0x0, klass=1074978560) at eval.c:6729
#13 0x805c6f0 in rb_thread_start (klass=1074978560) at eval.c:6792
#14 0x8056643 in call_cfunc (func=0x805c6c0 <rb_thread_start>, recv=1074978560, len=0, argc=0, argv=0x0) at eval.c:3612
#15 0x8056b6f in rb_call0 (klass=1074978540, recv=1074978560, id=5417, argc=0, argv=0x0, body=0x4012deb0, nosuper=1)
    at eval.c:3748
#16 0x8057179 in rb_call (klass=1074978540, recv=1074978560, mid=5417, argc=0, argv=0x0, scope=0) at eval.c:3933
#17 0x805312c in rb_eval (self=1074995020, node=0x40125b20) at eval.c:2160
#18 0x80522b8 in rb_eval (self=1074995020, node=0x40125a30) at eval.c:1901
#19 0x8053b20 in rb_eval (self=1074995020, node=0x40125b48) at eval.c:2303
#20 0x8051b70 in rb_eval (self=1074995020, node=0x40125990) at eval.c:1695
#21 0x8055804 in rb_yield_0 (val=11, self=1074995020, klass=0) at eval.c:3159
#22 0x8055950 in rb_yield (val=11) at eval.c:3200
#23 0x806bdec in fix_upto (from=3, to=17) at numeric.c:1296
#24 0x805664e in call_cfunc (func=0x806bdb0 <fix_upto>, recv=3, len=1, argc=1, argv=0xbfffeaf4) at eval.c:3615
#25 0x8056b6f in rb_call0 (klass=1074976360, recv=3, id=3857, argc=1, argv=0xbfffeaf4, body=0x4012d12c, nosuper=1)
    at eval.c:3748
#26 0x8057179 in rb_call (klass=1074976360, recv=3, mid=3857, argc=1, argv=0xbfffeaf4, scope=0) at eval.c:3933
#27 0x805312c in rb_eval (self=1074995020, node=0x40125bac) at eval.c:2160
#28 0x80522b8 in rb_eval (self=1074995020, node=0x40125954) at eval.c:1901
#29 0x8051b70 in rb_eval (self=1074995020, node=0x4012592c) at eval.c:1695
#30 0x805067e in eval_node (self=1074995020) at eval.c:961
#31 0x8050738 in ruby_run () at eval.c:990
#32 0x804f5bc in main (argc=2, argv=0xbffff890, envp=0xbffff89c) at main.c:39

HP-UX:

#0  0xc0133598 in kill ()
#1  0xc00a49e4 in _raise ()
#2  0xc0085f10 in abort ()
#3  0x35794 in rb_bug (fmt=0x0) at error.c:154
#4  0x5b720 in sigsegv (sig=11) at signal.c:333
#5  <signal handler called>
#6  rb_gc_mark (ptr=0x20202020) at gc.c:394
#7  0x2d290 in thread_mark (th=0x400e52f8) at eval.c:5847
#8  0x3b564 in rb_gc_mark (ptr=0x20202020) at gc.c:574
#9  0x2d3b8 in rb_gc_mark_threads () at eval.c:5890
#10 0x3c0c0 in rb_gc () at gc.c:916
#11 0x3a450 in xmalloc (size=11712) at gc.c:65
#12 0x3a55c in xrealloc (ptr=0x0, size=11712) at gc.c:108
#13 0x2d538 in rb_thread_save_context (th=0x400e52f8) at eval.c:5926
#14 0x2ecd0 in rb_thread_create_0 (fn=0x400023b2 <_exit_dummy_decl+1994>, arg=0x0, klass=1074401280) at eval.c:6729
#15 0x2ef20 in rb_thread_start (klass=1074040208) at eval.c:6792
#16 0x27c88 in call_cfunc (func=0x400023ba <_exit_dummy_decl+2002>, recv=1074040208, len=162, argc=0, argv=0x0) at eval.c:3612
#17 0x28438 in rb_call0 (klass=1074040184, recv=1074040208, id=5233, argc=0, argv=0x0, body=0x40048d30, nosuper=1) at eval.c:3748
#18 0x28bcc in rb_call (klass=1074040184, recv=1074040208, mid=5233, argc=0, argv=0x0, scope=0) at eval.c:3933
#19 0x23f5c in rb_eval (self=1074058304, node=0x4003ef50) at eval.c:2160
#20 0x2318c in rb_eval (self=1074058304, node=0x4003ee30) at eval.c:1901
#21 0x24924 in rb_eval (self=1074058304, node=0x4003ef80) at eval.c:2303
#22 0x22a4c in rb_eval (self=1074058304, node=0x4003ed70) at eval.c:1695
#23 0x26964 in rb_yield_0 (val=17, self=1074058304, klass=1074401280) at eval.c:3159
#24 0x26b28 in rb_yield (val=538976288) at eval.c:3200
#25 0x488d4 in fix_upto (from=3, to=1) at numeric.c:1296
#26 0x27ca0 in call_cfunc (func=0x40003002 <_exit_dummy_decl+5146>, recv=8, len=162, argc=0, argv=0x7b03b9c0) at eval.c:3615
#27 0x28438 in rb_call0 (klass=1074037568, recv=3, id=3857, argc=1, argv=0x7b03b9c0, body=0x40047cf8, nosuper=1) at eval.c:3748
#28 0x28bcc in rb_call (klass=1074037568, recv=3, mid=3857, argc=1, argv=0x7b03b9c0, scope=0) at eval.c:3933
#29 0x23f5c in rb_eval (self=1074058304, node=0x40011378) at eval.c:2160
#30 0x23f5c in rb_eval (self=1074058304, node=0x4003ed28) at eval.c:2160
#31 0x22a4c in rb_eval (self=1074058304, node=0x4003ecf8) at eval.c:1695
#32 0x20e54 in eval_node (self=1074058304) at eval.c:962
#33 0x20f0c in ruby_run () at eval.c:990
#34 0x1e714 in main (argc=2, argv=0x7b03a70c, envp=0x400a1000) at main.c:39

--
WATANABE Tetsuya HP Japan
 e-mail  Tetsuya_WATANABE@hp.com
         tetsu@jpn.hp.com

In This Thread

Prev Next