[#14206] undef_method :method_missing — Kenichi Komiya <kom@...1.accsnet.ne.jp>

154 messages 2001/08/04
[#14207] Re: undef_method :method_missing — nobu.nakada@... 2001/08/04

なかだです。

[#14208] Re: undef_method :method_missing — nobu.nakada@... 2001/08/05

なかだです。

[#14209] Virtual Machine — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。

[#14210] Re: Virtual Machine — Kenta MURATA <muraken2@...> 2001/08/05

むらけんです.

[#14212] Re: Virtual Machine — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。

[#14214] Re: Virtual Machine — SHIROYAMA Takayuki <psi@...> 2001/08/05

[#14220] Re: Virtual Machine — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。

[#14211] Common GUI framework(Re: Virtual Machine) — nobu.nakada@... 2001/08/05

なかだです。

[#14213] RE: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。どもっ。

[#14215] Re: Common GUI framework(Re: Virtual Machine) — akira yamada / やまだあきら <akira@...> 2001/08/05

[#14221] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。

[#14235] Re: Common GUI framework(Re: Virtual Machine) — IWATSUKI Hiroyuki <don@...> 2001/08/05

岩月と申します。

[#14237] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。どもっ。

[#14239] Re: Common GUI framework(Re: Virtual Machine) — ARIMA Yasuhiro <fit0298@...> 2001/08/05

有馬です。

[#14241] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。

[#14244] Re: Common GUI framework(Re: Virtual Machine) — ARIMA Yasuhiro <fit0298@...> 2001/08/05

有馬です。

[#14247] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。どもっ。

[#14263] Re: Common GUI framework(Re: Virtual Machine) — とみたまさひろ <tommy@...> 2001/08/05

とみたです。

[#14266] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。

[#14269] Re: Common GUI framework(Re: Virtual Machine) — とみたまさひろ <tommy@...> 2001/08/05

とみたです。

[#14275] Re: Common GUI framework(Re: Virtual Machine) — ARIMA Yasuhiro <fit0298@...> 2001/08/05

有馬です。

[#14294] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。

[#14317] Re: Common GUI framework(Re: Virtual Machine) — ARIMA Yasuhiro <fit0298@...> 2001/08/06

有馬です。

[#14321] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/06

金光です。どもっ。

[#14332] Re: Common GUI framework(Re: Virtual Machine) — ARIMA Yasuhiro <fit0298@...> 2001/08/06

有馬です。

[#14335] Re: Common GUI framework(Re: Virtual Machine) — Kenta MURATA <muraken2@...> 2001/08/06

むらけんです.

[#14346] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/06

金光です。どもっ。

[#14356] Re: Common GUI framework(Re: Virtual Machine) — ARIMA Yasuhiro <fit0298@...> 2001/08/06

有馬です。

[#14357] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/06

金光です。どもどもっ。

[#14243] Re: Common GUI framework(Re: Virtual Machine) — IWATSUKI Hiroyuki <don@...> 2001/08/05

岩月と申します。

[#14258] Re: Common GUI framework(Re: Virtual Machine) — akira yamada / やまだあきら <akira@...> 2001/08/05

[#14260] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。FOXとかもあるのかぁ。すげぇなぁ。

[#14277] Re: Common GUI framework(Re: Virtual Machine) — matz@... (Yukihiro Matsumoto) 2001/08/05

まつもと ゆきひろです

[#14295] Re: Common GUI framework(Re: Virtual Machine) — "KANEMITSU Masao" <masao-k@...> 2001/08/05

金光です。御大、待ってましたっ。

[#14390] [Patch] pp.rb and debug.rb — "NAKAMURA, Hiroshi" <nakahiro@...>

なひです。

113 messages 2001/08/09
[#14391] Re: [Patch] pp.rb and debug.rb — "NAKAMURA, Hiroshi" <nakahiro@...> 2001/08/09

なひです。書き忘れ。

[#14392] Re: [Patch] pp.rb and debug.rb — nobu.nakada@... 2001/08/09

なかだです。

[#14435] Re: [Patch] pp.rb and debug.rb — "K.Kosako" <kosako@...> 2001/08/13

nobu.nakada@nifty.ne.jpさんの

[#14437] Re: [Patch] pp.rb and debug.rb — nobu.nakada@... 2001/08/13

なかだです。

[#14449] Re: [Patch] pp.rb and debug.rb — Tanaka Akira <akr@...17n.org> 2001/08/14

In article <DJEGJLCFNEIMKDNMLFPHMEAHCBAA.nakahiro@sarion.co.jp>,

[#14450] Re: [Patch] pp.rb and debug.rb — "NAKAMURA, Hiroshi" <nakahiro@...> 2001/08/14

なひです。

[#14452] Re: [Patch] pp.rb and debug.rb — Tanaka Akira <akr@...17n.org> 2001/08/14

In article <DJEGJLCFNEIMKDNMLFPHEEAICBAA.nakahiro@sarion.co.jp>,

[#14453] Re: [Patch] pp.rb and debug.rb — "NAKAMURA, Hiroshi" <nakahiro@...> 2001/08/14

なひです。

[#14454] Re: [Patch] pp.rb and debug.rb — matz@... (Yukihiro Matsumoto) 2001/08/14

まつもと ゆきひろです

[#14455] Re: [Patch] pp.rb and debug.rb — Tanaka Akira <akr@...17n.org> 2001/08/14

In article <997774251.527258.14423.nullmailer@ev.netlab.jp>,

[#14474] Re: [Patch] pp.rb and debug.rb — "NAKAMURA, Hiroshi" <nakahiro@...> 2001/08/15

なひです。

[#14498] Re: [Patch] pp.rb and debug.rb — Tanaka Akira <akr@...17n.org> 2001/08/16

In article <DJEGJLCFNEIMKDNMLFPHEEALCBAA.nakahiro@sarion.co.jp>,

[#14499] Re: [Patch] pp.rb and debug.rb — "NAKAMURA, Hiroshi" <nakahiro@...> 2001/08/16

なひです。

[#14504] Re: [Patch] pp.rb and debug.rb — Tanaka Akira <akr@...17n.org> 2001/08/16

In article <DJEGJLCFNEIMKDNMLFPHEEAPCBAA.nakahiro@sarion.co.jp>,

[#14507] marshal API (was Re: [Patch] pp.rb and debug.rb) — "NAKAMURA, Hiroshi" <nakahiro@...> 2001/08/16

なひです。

[#14510] Re: marshal API (was Re: [Patch] pp.rb and debug.rb) — Tanaka Akira <akr@...17n.org> 2001/08/16

In article <DJEGJLCFNEIMKDNMLFPHMEBACBAA.nakahiro@sarion.co.jp>,

[#14511] Re: marshal API (was Re: [Patch] pp.rb and debug.rb) — "NAKAMURA, Hiroshi" <nakahiro@...> 2001/08/16

なひです。

[#14519] custom marshal (Re: Re: marshal API (was Re: [Patch] pp.rb and debug.rb)) — Tanaka Akira <akr@...17n.org> 2001/08/17

In article <DJEGJLCFNEIMKDNMLFPHIEBBCBAA.nakahiro@sarion.co.jp>,

[#14520] Re: marshal API (was Re: [Patch] pp.rb and debug.rb) — Tanaka Akira <akr@...17n.org> 2001/08/17

うぅむ。ぼーっとしてたら意味もなく Subject を変えてしまった。

[#14549] Re: custom marshal (Re: Re: marshal API (was Re: [Patch] pp.rb and debug.rb)) — Tanaka Akira <akr@...17n.org> 2001/08/22

In article <hvo66bnxe4b.fsf_-_@flux.etl.go.jp>,

[#14832] Re: custom marshal — GOTO Kentaro <gotoken@...> 2001/09/29

古い話題で恐縮ですが…

[#14833] Re: custom marshal — nobu.nakada@... 2001/09/29

なかだです。

[#14834] Re: custom marshal — Tanaka Akira <akr@...17n.org> 2001/10/01

In article <200109290948.f8T9mbh12942@sharui.nakada.kanuma.tochigi.jp>,

[#14835] Re: custom marshal — nobu.nakada@... 2001/10/01

なかだです。

[#14836] Re: custom marshal — matz@... (Yukihiro Matsumoto) 2001/10/01

まつもと ゆきひろです

[#14837] Re: custom marshal — Tanaka Akira <akr@...17n.org> 2001/10/02

In article <1001945748.240863.24023.nullmailer@ev.netlab.jp>,

[#14838] Re: custom marshal — nobu.nakada@... 2001/10/02

なかだです。

[#14839] Re: custom marshal — Tanaka Akira <akr@...17n.org> 2001/10/02

In article <200110020334.f923YLb08299@sharui.nakada.kanuma.tochigi.jp>,

[#14842] Re: custom marshal — nobu.nakada@... 2001/10/02

なかだです。

[#14843] Re: custom marshal — Tanaka Akira <akr@...17n.org> 2001/10/02

In article <200110021010.f92AAIb13474@sharui.nakada.kanuma.tochigi.jp>,

[#14844] Re: custom marshal — nobu.nakada@... 2001/10/02

なかだです。

[#14845] Re: custom marshal — matz@... (Yukihiro Matsumoto) 2001/10/02

まつもと ゆきひろです

[#14847] Re: custom marshal — matz@... (Yukihiro Matsumoto) 2001/10/02

まつもと ゆきひろです

[#14848] Re: custom marshal — nobu.nakada@... 2001/10/03

なかだです。

[#14852] Re: custom marshal — matz@... (Yukihiro Matsumoto) 2001/10/03

まつもと ゆきひろです

[#14465] Ruby/Bsearch — akira yamada / やまだあきら <akira@...>

16 messages 2001/08/14
[#14472] Re: Ruby/Bsearch — matz@... (Yukihiro Matsumoto) 2001/08/15

まつもと ゆきひろです

[#14595] SEGV at `$0 = "long long string"' — nobu.nakada@...

なかだです。

14 messages 2001/08/28

[ruby-dev:14571] Re: recursive malloc (Re:supportedplatforms/K&R)

From: Koji Arai <JCA02266@...>
Date: 2001-08-24 21:43:56 UTC
List: ruby-dev #14571
新井です。

In message "[ruby-dev:14567] Re: recursive malloc (Re:supportedplatforms/K&R)"
  on 24 Aug 2001 14:31:35 +0900,
  nobu.nakada@nifty.ne.jp wrote:
> なかだです。
> 
> At Fri, 24 Aug 2001 00:49:08 +0900,
> Koji Arai <JCA02266@nifty.ne.jp> wrote:
> > 落ちなくなるパッチ(1.6.4 2001-08-06版へのパッチです)、再現スク
> > リプト、スタックトレース(dbx)を添付します。
> 
>  なんか添付ファイルが全部空のようなんですが。

あららら、送信する前に消しちゃったみたいです。ごめんなさい。

以下、再掲します。

新井です。

In message "[ruby-dev:14513] Re: recursive malloc (Re: supportedplatforms/K&R)"
  on 16 Aug 2001 23:20:30 +0900,
  Koji Arai <JCA02266@nifty.ne.jp> wrote:
> 新井です。

> recvfrom() にも同じ対処がいるのかもと思って再現させようとし
> たのですが、(たぶん)別件でcore吐いてしまいました。またバック
> トレースを持って帰ってないのですが、coreが膨れあがってたこと
> とからメモリリークだと思われます(来週以降に追試)。

怪しい箇所がわかりました。

落ちなくなるパッチ(1.6.4 2001-08-06版へのパッチです)、再現スク
リプト、スタックトレース(dbx)を添付します。

再現は、
   #!/bin/sh

   ruby udp_serv.rb &
   while :
   do
     ruby udp_client.rb
   done

なんてやってると udp_serv.rb がSEGVします。Linux では再現し
ませんでした。

何故このパッチで落ちなくなるのかはわかってません。この前後あ
たりで、argv[0]の値が書き変わっていたのでコメントにしたら落
ちなくなっただけです。

なお、recvfrom() は、ews4800 で問題ない(recvfrom中に
/etc/netconfig を読まない)ことも確認しました。

Attachments (4)

ux4800.patch (343 Bytes, text/x-diff)
--- eval.c.org	Mon Aug  6 17:03:30 2001
+++ eval.c	Thu Aug 23 21:10:56 2001
@@ -4307,7 +4307,9 @@ rb_call0(klass, recv, id, argc, argv, bo
     }
 
     if ((++tick & 0xff) == 0) {
+#if 0
 	CHECK_INTS;		/* better than nothing */
+#endif
 	if (stack_length(0) > STACK_LEVEL_MAX) {
 	    rb_raise(rb_eSysStackError, "stack level too deep");
 	}
udp_serv.rb (237 Bytes, text/x-ruby)
require 'socket'
gsock1=UDPSocket.open
gsock1.bind("127.0.0.1", 8090)

gsock2=UDPSocket.open
gsock2.bind("127.0.0.1", 8091)

while true
  Thread.start {
    p gsock1.recvfrom(512)
  }

  Thread.start {
    p gsock2.recvfrom(512)
  }
end
udp_client.rb (175 Bytes, text/x-ruby)
require 'socket'

sock=UDPSocket.open

100.times {|i|
    Thread.start(i) {|k|
	sock.send("hogehoge", 0, "127.0.0.1", 8090)
    }
    sock.send("foo", 0, "127.0.0.1", 8091)
}
dbx.bt (4.46 KB, text/plain)
dbx for 32bit AP version 8-I of 98/05/22 14:00:00 (NEC Corporation).
Copyright 1986, 1989, 1991 Silicon Graphics, Inc.
Type 'help' for help.
Corefile produced from file "ruby"
reading symbolic information ...
debugging in ABI mode

[using memory image in core.6701]
   0 kill() [/usr/lib/libc.so.1:0x4004096c]
   1 abort() [/usr/lib/libc.so.1:0x40078854]
   2 rb_bug(fmt = 0x523c4c = "Segmentation fault", ... = (nil)) ["error.c":178, 0x41b944]
   3 sigsegv(sig = 11) ["signal.c":388, 0x4a51b4]
   4 _sigacthandler() [/usr/lib/libc.so.1:0x40055e40]
   5 (noname)() [(noname):0x44f1bc]
   6 io_write(io = 5752128, str = 822136080) ["io.c":234, 0x44f930]
   7 call_cfunc(func = 0x44f900, recv = 5752128, len = 1, argc = 1, argv = 0x8f62e8) ["eval.c":4219, 0x42cfe8]
   8 .block181 ["eval.c":4352, 0x42dc10]
   9 .block180 ["eval.c":4352, 0x42dc10]
  10 .block179 ["eval.c":4352, 0x42dc10]
  11 .block178 ["eval.c":4352, 0x42dc10]
  12 .block177 ["eval.c":4352, 0x42dc10]
  13 rb_call0(klass = 5754744, recv = 5752128, id = 6697, argc = 1, argv = 0x8f62e8, body = 0x57ca08, nosuper = 1) ["eval.c":4352, 0x42dc10]
  14 .block191 ["eval.c":4568, 0x42eae4]
  15 rb_call(klass = 5754744, recv = 5752128, mid = 6697, argc = 1, argv = 0x8f62e8, scope = 1) ["eval.c":4568, 0x42eae4]
  16 .block193 ["eval.c":4642, 0x42ee18]
More (n if no)?  17 rb_funcall(recv = 5752128, mid = 6697, n = 1, ... = 0x55cd10) ["eval.c":4642, 0x42ee18]
  18 rb_io_write(io = 5752128, str = 5623056) ["io.c":275, 0x44fb14]
  19 rb_p(obj = 5623104) ["io.c":2164, 0x456318]
  20 rb_f_p(argc = 1, argv = 0x8f6c80) ["io.c":2176, 0x4563a4]
  21 call_cfunc(func = 0x456360, recv = 5795208, len = -1, argc = 1, argv = 0x8f6c80) ["eval.c":4213, 0x42cf90]
  22 .block181 ["eval.c":4352, 0x42dc10]
  23 .block180 ["eval.c":4352, 0x42dc10]
  24 .block179 ["eval.c":4352, 0x42dc10]
  25 .block178 ["eval.c":4352, 0x42dc10]
  26 .block177 ["eval.c":4352, 0x42dc10]
  27 rb_call0(klass = 5800128, recv = 5795208, id = 6785, argc = 1, argv = 0x8f6c80, body = 0x57d008, nosuper = 1) ["eval.c":4352, 0x42dc10]
  28 .block191 ["eval.c":4568, 0x42eae4]
  29 rb_call(klass = 5800128, recv = 5795208, mid = 6785, argc = 1, argv = 0x8f6c80, scope = 1) ["eval.c":4568, 0x42eae4]
  30 .block116 ["eval.c":2518, 0x425f28]
  31 .block114 ["eval.c":2518, 0x425f28]
  32 .block113 ["eval.c":2518, 0x425f28]
  33 .block112 ["eval.c":2518, 0x425f28]
More (n if no)?  34 .block111 ["eval.c":2518, 0x425f28]
  35 rb_eval(self = 5795208, n = 0x576138) ["eval.c":2518, 0x425f28]
  36 .block154 ["eval.c":3600, 0x42a8a0]
  37 .block153 ["eval.c":3600, 0x42a8a0]
  38 .block151 ["eval.c":3600, 0x42a8a0]
  39 .block150 ["eval.c":3600, 0x42a8a0]
  40 rb_yield_0(val = 6, self = 5795208, klass = 0, acheck = 2) ["eval.c":3600, 0x42a8a0]
  41 rb_thread_yield(arg = 5623800, th = 0x91e1b8) ["eval.c":8269, 0x43c43c]
  42 .block252 ["eval.c":8202, 0x43bfe8]
  43 rb_thread_start_0(fn = 0x43c3e0, arg = 0x55cff8, th_arg = 0x91e1b8) ["eval.c":8202, 0x43bfe8]
  44 rb_thread_start(klass = 5775024, args = 5623800) ["eval.c":8308, 0x43c65c]
  45 call_cfunc(func = 0x43c5f0, recv = 5775024, len = -2, argc = 0, argv = (nil)) ["eval.c":4210, 0x42cf60]
  46 .block181 ["eval.c":4352, 0x42dc10]
  47 .block180 ["eval.c":4352, 0x42dc10]
  48 .block179 ["eval.c":4352, 0x42dc10]
  49 .block178 ["eval.c":4352, 0x42dc10]
  50 .block177 ["eval.c":4352, 0x42dc10]
  51 rb_call0(klass = 5775000, recv = 5775024, id = 5625, argc = 0, argv = (nil), body = 0x581e20, nosuper = 1) ["eval.c":4352, 0x42dc10]
More (n if no)?  52 .block191 ["eval.c":4568, 0x42eae4]
  53 rb_call(klass = 5775000, recv = 5775024, mid = 5625, argc = 0, argv = (nil), scope = 0) ["eval.c":4568, 0x42eae4]
  54 .block110 ["eval.c":2505, 0x425c00]
  55 .block108 ["eval.c":2505, 0x425c00]
  56 .block107 ["eval.c":2505, 0x425c00]
  57 .block106 ["eval.c":2505, 0x425c00]
  58 .block105 ["eval.c":2505, 0x425c00]
  59 rb_eval(self = 5795208, n = 0x576210) ["eval.c":2505, 0x425c00]
  60 .block95 ["eval.c":2255, 0x424784]
  61 .block94 ["eval.c":2255, 0x424784]
  62 .block93 ["eval.c":2255, 0x424784]
  63 rb_eval(self = 5795208, n = 0x5760d8) ["eval.c":2255, 0x424784]
  64 .block91 ["eval.c":2188, 0x424248]
  65 rb_eval(self = 5795208, n = 0x5766c0) ["eval.c":2188, 0x424248]
  66 eval_node(self = 5795208, node = 0x5766c0) ["eval.c":1058, 0x420228]
  67 .block67 ["eval.c":1188, 0x42099c]
  68 .block66 ["eval.c":1188, 0x42099c]
  69 ruby_run() ["eval.c":1188, 0x42099c]
  70 `./ruby`.main.main(argc = 2, argv = 0x7fff7c44, envp = 0x7fff7c50) ["main.c":50, 0x40205c]
More (n if no)?

In This Thread