[#9811] Ruby book — WATANABE Tetsuya <tetsu@...>

今日のひとこと(10/05)

22 messages 1998/10/05
[#9812] Re: Ruby book — matz@... (Yukihiro Matsumoto) 1998/10/05

まつもと ゆきひろです

[#9813] Re: Ruby book — "D.Kanda" <MAP2303@...> 1998/10/05

[#9815] Re: Ruby book — matz@... (Yukihiro Matsumoto) 1998/10/05

まつもと ゆきひろです

[#9827] Are there any NNTP Client Class? — Takeshi UME Imai <takeshi@...>

はじめまして。今井といいます。

17 messages 1998/10/05
[#9828] Re: Are there any NNTP Client Class? — aamine@... 1998/10/05

はじめまして、あおきともうします。

[#9869] man-1.1/Marshal.html — ttate@...

立石です。

47 messages 1998/10/07
[#9872] Re: man-1.1/Marshal.html — matz@... (Yukihiro Matsumoto) 1998/10/08

まつもと ゆきひろです

[#9880] comments on manual (Re: man-1.1/Marshal.html) — Motoyuki Kasahara <m-kasahr@...> 1998/10/08

SRA の笠原です。

[#9881] Re: comments on manual (Re: man-1.1/Marshal.html) — matz@... (Yukihiro Matsumoto) 1998/10/08

まつもと ゆきひろです

[#9909] Re: comments on manual (Re: man-1.1/Marshal.html) — Motoyuki Kasahara <m-kasahr@...> 1998/10/09

SRA の笠原です。

[#9936] Re: comments on manual (Re: man-1.1/Marshal.html) — matz@... (Yukihiro Matsumoto) 1998/10/09

まつもと ゆきひろです

[#9939] Re: comments on manual (Re: man-1.1/Marshal.html) — Shin-ichro Hara <sinara@...> 1998/10/09

原です。

[#9940] Re: comments on manual (Re: man-1.1/Marshal.html) — matz@... (Yukihiro Matsumoto) 1998/10/09

まつもと ゆきひろです

[#9941] Re: comments on manual (Re: man-1.1/Marshal.html) — Shin-ichro Hara <sinara@...> 1998/10/09

原です。

[#9942] Re: comments on manual (Re: man-1.1/Marshal.html) — matz@... (Yukihiro Matsumoto) 1998/10/09

まつもと ゆきひろです

[#9944] read(nil) (Re: comments on manual) — Shin-ichro Hara <sinara@...> 1998/10/09

原です。

[#9884] List of UserInterface Kits for Ruby ? — a.furudo@...

20 messages 1998/10/08
[#9906] Re: List of UserInterface Kits for Ruby ? — matz@... (Yukihiro Matsumoto) 1998/10/09

まつもと ゆきひろです

[#9885] 文字化け失礼、再送 — Akihiro Furudo <a.furudo@...>

26 messages 1998/10/08
[#9888] Re: 文字化け失礼、再送 — ttate@... 1998/10/08

立石です。

[#9897] お礼と、 Ruby/Gtk(i18n) について質問 — Akihiro Furudo <A.Furudo@...> 1998/10/08

[#9982] Re: お礼と、 Ruby/Gtk(i18n) について質問 — Daisuke Kanda <MAP2303@...> 1998/10/11

[#10320] Ruby/Gtk を FreeBSD にインストール (re:9982) — Akihiro Furudo <a.furudo@...> 1998/10/24

[#10328] Re: Ruby/Gtk を FreeBSD にインストール (re:9982) — Daisuke Kanda <MAP2303@...> 1998/10/25

[#9976] ruby:struct -> ext module -> ruby — Kikutani Makoto <kikutani@...>

きくたにです。

17 messages 1998/10/11

[#9999] ruby on HP-UX — AU6M-IWM@... (Iwama Misao)

20 messages 1998/10/12
[#10001] Re: ruby on HP-UX — matz@... (Yukihiro Matsumoto) 1998/10/12

まつもと ゆきひろです

[#10030] Ruby/Gtk text widget — TAKAHASHI Masayoshi <maki@...>

高橋です。

29 messages 1998/10/12
[#10035] Re: Ruby/Gtk text widget — Daisuke Kanda <MAP2303@...> 1998/10/12

[#10038] ruby/gtk method naming (Re: Re: Ruby/Gtk text widget) — "D.Kanda" <MAP2303@...> 1998/10/13

[#10067] Re: ruby/gtk method naming (Re: Re: Ruby/Gtk text widget) — Kazumi Okamoto <kazusan@...> 1998/10/13

岡本です。

[#10092] for が修飾子だったら — ARIMA Yasuhiro <fit0298@...>

有馬@FITECです。

46 messages 1998/10/14
[#10093] Re: for が修飾子だったら — matz@... (Yukihiro Matsumoto) 1998/10/14

まつもと ゆきひろです

[#10236] Array.html again — Motoyuki Kasahara <m-kasahr@...>

笠原です。こんにちは。

18 messages 1998/10/22
[#10237] Re: Array.html again — Kanda <MAP2303@...> 1998/10/22

[#10239] Re: Array.html again — matz@... (Yukihiro Matsumoto) 1998/10/22

まつもと ゆきひろです

[#10311] Re: 大規模プログラムの友 — m_seki@... (SEKI)

At 11:23 PM 98.10.23 +0900, Takashi Nakai wrote:

24 messages 1998/10/23
[#10312] Re: 大規模プログラムの友 — Takashi Nakai <nakai@...1.sys.to.casio.co.jp> 1998/10/23

ど〜も、(またしても)中井です。

[#10369] Re: 大規模プログラムの友 — matz@... (Yukihiro Matsumoto) 1998/10/27

まつもと ゆきひろです

[#10415] split — flare@... (Takashi Ikeda)

ふれあです。

20 messages 1998/10/28

[#10473] case with Class — MineroAoki <aamine@...>

あおきです。

46 messages 1998/10/29
[#10483] Re: case with Class — matz@... (Yukihiro Matsumoto) 1998/10/30

まつもと ゆきひろです

[#10521] Re: case with Class — aamine@... 1998/10/30

こんにちは。あおきです。

[#10523] Re: case with Class — gotoken@... (GOTO Kentaro) 1998/10/30

ごとけんです

[#10530] Re: case with Class — aamine@... 1998/10/31

あおきです。

[#10544] Re: case with Class — shugo@... (MAEDA Shugo) 1998/10/31

前田です。

[#10548] Re: case with Class — Wakou Aoyama <wakou@...> 1998/10/31

青山です。

[#10555] Re: case with Class — shugo@... (MAEDA Shugo) 1998/11/01

前田です。

[#10566] Re: case with Class — Wakou Aoyama <wakou@...> 1998/11/01

青山です。

[ruby-list:10233] curses and thread

From: aito@...
Date: 1998-10-21 15:45:26 UTC
List: ruby-list #10233
あ伊藤です.

Thread の中で Curses.getch を使おうとしたのですが,
何か恐いことが起きてるみたいです.curses を thread
といっしょに使うと呪われるのでしょうか?

例:test.rb

require 'curses'

Thread.new do
  x = Curses.getch
end

sleep 10

exit

実行:

aito@condor [ruby-1.1c6]% ./ruby ../ruby/test.rb
../ruby/curstest.rb:4: [BUG] Segmentation fault
Abort

aito@condor [ruby-1.1c6]% gdb ruby
GNU gdb 4.17
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "sparc-sun-solaris2.5.1"...
(gdb) r ../ruby/curstest.rb
Starting program: /u56/aito/amuse/ruby-1.1c6/ruby ../ruby/test.rb

Program received signal SIGSEGV, Segmentation fault.
0xef658d80 in wgetch ()
(gdb) bt
#0  0xef658d80 in wgetch ()
#1  0xef6514e4 in curses_getch (obj=771808) at curses.c:347
#2  0x207a0 in rb_call0 (klass=771712, recv=771808, id=8121, argc=0, argv=0x0, 
    body=0xbbca8, nosuper=1) at eval.c:3384
#3  0x21300 in rb_call (klass=771712, recv=771808, mid=8121, argc=0, argv=0x0, 
    scope=0) at eval.c:3657
#4  0x1d0c8 in rb_eval (self=829840, node=0xbc980) at eval.c:2007
#5  0x1da10 in rb_eval (self=829840, node=0xbc950) at eval.c:2149
#6  0x1f714 in rb_yield_0 (val=767344, self=829840) at eval.c:2925
#7  0x1f838 in rb_yield (val=767344) at eval.c:2962
#8  0x26340 in thread_yield (arg=0, th=0xf5dd8) at eval.c:6322
#9  0x261d8 in thread_create (fn=0x26324 <thread_yield>, arg=0x0) at eval.c:6287
#10 0x26380 in thread_start () at eval.c:6331
#11 0x207a0 in rb_call0 (klass=808720, recv=808768, id=3073, argc=0, argv=0x0, 
    body=0xc56f8, nosuper=1) at eval.c:3384
#12 0x21300 in rb_call (klass=808720, recv=808768, mid=3073, argc=0, argv=0x0, 
    scope=0) at eval.c:3657
#13 0x1d0c8 in rb_eval (self=829840, node=0xbc9c8) at eval.c:2007
#14 0x1c5f0 in rb_eval (self=829840, node=0xbc908) at eval.c:1796
#15 0x1bea8 in rb_eval (self=829840, node=0xbc8c0) at eval.c:1616
#16 0x1a794 in eval_node (self=829840) at eval.c:929
#17 0x1a850 in ruby_run () at eval.c:959
#18 0x19618 in main (argc=2, argv=0xeffff474, envp=0xeffff480) at main.c:32
(gdb)  up
#1  0xef6514e4 in curses_getch (obj=771808) at curses.c:347
347         return CHR2FIX(getch());
(gdb) list
342     /* def getch */
343     static VALUE
344     curses_getch(obj)
345         VALUE obj;
346     {
347         return CHR2FIX(getch());
348     }
349     
350     /* def getstr */
351     static VALUE
(gdb)

--
aito

In This Thread

Prev Next