[#22195] IO::for_io and TCPServer#bind — GOTOU Yuuzou <gotoyuzo@...>

test_drb が IPv4 射影アドレスが有効な環境でないと動かないこ

16 messages 2003/12/09
[#22198] Re: IO::for_io and TCPServer#bind — matz@... (Yukihiro Matsumoto) 2003/12/09

まつもと ゆきひろです

[#22205] yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org>

StringIO の

24 messages 2003/12/10
[#22206] Re: yet another inconsistency about EOF between StringIO and IO — nobu.nakada@... 2003/12/10

なかだです。

[#22214] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/10

In article <200312100725.hBA7P8Ac011112@sharui.nakada.kanuma.tochigi.jp>,

[#22222] Re: yet another inconsistency about EOF between StringIO and IO — nobu.nakada@... 2003/12/10

なかだです。

[#22234] Re: yet another inconsistency about EOF between StringIO and IO — Masahiro Sakai (酒井政裕) <sakai@...> 2003/12/11

さかいといいます。

[#22262] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/13

In article <20031211.214041.71090239.sakai@tom.sfc.keio.ac.jp>,

[#22328] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/23

In article <87k751dzyf.fsf@serein.a02.aist.go.jp>,

[#22331] Re: yet another inconsistency about EOF between StringIO and IO — matz@... (Yukihiro Matsumoto) 2003/12/23

まつもと ゆきひろです

[#22334] Re: yet another inconsistency about EOF between StringIO and IO — Tanaka Akira <akr@...17n.org> 2003/12/23

In article <1072167374.096702.13473.nullmailer@picachu.netlab.jp>,

[#22343] Re: yet another inconsistency about EOF between StringIO and IO — matz@... (Yukihiro Matsumoto) 2003/12/23

まつもと ゆきひろです

[#22330] core dump with ungetc — Tanaka Akira <akr@...17n.org>

次のように ungetc を使うと core を吐く場合があります。

14 messages 2003/12/23
[#22332] Re: core dump with ungetc — nobu.nakada@... 2003/12/23

なかだです。

[#22366] `to_s': method `to_s' overridden (TypeError) — Tanaka Akira <akr@...17n.org>

そういえば、次の `to_s': method `to_s' overridden (TypeError) というの

12 messages 2003/12/24

[#22385] Tk.callback_break causes seg-fault or hang-up — Hidetoshi NAGAI <nagai@...>

永井@知能.九工大です.

19 messages 2003/12/24
[#22387] Re: Tk.callback_break causes seg-fault or hang-up — matz@... (Yukihiro Matsumoto) 2003/12/24

まつもと ゆきひろです

[#22393] Re: Tk.callback_break causes seg-fault or hang-up — Hidetoshi NAGAI <nagai@...> 2003/12/24

永井@知能.九工大です.

[#22395] Re: Tk.callback_break causes seg-fault or hang-up — matz@... (Yukihiro Matsumoto) 2003/12/24

まつもと ゆきひろです

[#22396] Re: Tk.callback_break causes seg-fault or hang-up — matz@... (Yukihiro Matsumoto) 2003/12/24

まつもと ゆきひろです

[#22397] Re: Tk.callback_break causes seg-fault or hang-up — Hidetoshi NAGAI <nagai@...> 2003/12/24

永井@知能.九工大です.

[#22418] ruby-1.8.1 build failed on HP-UX 11.11 — MIYAMUKO Katsuyuki <k-miyamuko@...>

みやむこです。

29 messages 2003/12/25
[#22419] Re: ruby-1.8.1 build failed on HP-UX 11.11 — matz@... (Yukihiro Matsumoto) 2003/12/25

まつもと ゆきひろです

[#22420] Re: ruby-1.8.1 build failed on HP-UX 11.11 — matz@... (Yukihiro Matsumoto) 2003/12/25

まつもと ゆきひろです

[#22424] Re: ruby-1.8.1 build failed on HP-UX 11.11 — MIYAMUKO Katsuyuki <k-miyamuko@...> 2003/12/25

みやむこです。

[#22491] Re: ruby-1.8.1 build failed on HP-UX 11.11 — MIYAMUKO Katsuyuki <k-miyamuko@...> 2004/01/05

みやむこです。

[ruby-dev:22406] Re: Tk.callback_break causes seg-fault or hang-up

From: Hidetoshi NAGAI <nagai@...>
Date: 2003-12-25 02:29:29 UTC
List: ruby-dev #22406
永井@知能.九工大です.

From: nobu.nakada@nifty.ne.jp
Subject: [ruby-dev:22402] Re: Tk.callback_break causes seg-fault or hang-up
Date: Thu, 25 Dec 2003 10:45:04 +0900
Message-ID: <200312250145.hBP1j2Rg007017@sharui.nakada.kanuma.tochigi.jp>
> RedHat9の tcl-8.3.5-88 / tk-8.3.5-88 では、まったく落ちる気配が
> ありません。

昔の Tcl/Tk の bug が原因かなと思い,もう一度念のため
Tcl/Tk8.4.5 を --disable-threads でコンパイルしたもので
試してみましたが (Ruby にも --enable-pthread は付けていません),
やはり text widget に勢い良く数文字打ち込むと segv で落ちます.(;_;)
glibc の問題でしょうか???
末尾に back trace を付けておきます.

> 連続して打った直後にC-dで止めるとエラーが出ることはありますが。
> 
> bgerror failed to handle background error.
>     Original error: invalid command name ".w00000"
>     Error in bgerror: can't invoke "option" command:  application has been destroyed

この手のエラーは仕方ないでしょうね.(^_^;

-------------------------------------------------------------------
$ gdb ./ruby
GNU gdb 5.0
Copyright 2000 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 "i386-redhat-linux"...
(gdb) r ./xxx.rb
Starting program: /home/nagai/Ruby-CVS/ruby/./ruby ./xxx.rb
"8.4"

Program received signal SIGSEGV, Segmentation fault.
0x40198299 in main_arena () from /lib/libc.so.6
(gdb) bt
#0  0x40198299 in main_arena () from /lib/libc.so.6
#1  0x080a9c46 in st_lookup (table=0x8149360, key=9593, value=0x0) at st.c:258
#2  0x080b6457 in rb_ivar_defined (obj=1076031764, id=9593) at variable.c:1016
#3  0x080c3ca0 in exc_backtrace (exc=1076031764) at error.c:475
#4  0x0805bc81 in rb_call0 (klass=1075627652, recv=1076031764, id=4833, 
    oid=4833, argc=0, argv=0x0, body=0x401cc544, nosuper=0) at eval.c:4944
#5  0x0805c6a6 in rb_call (klass=1075627652, recv=1076031764, mid=4833, 
    argc=0, argv=0x0, scope=1) at eval.c:5287
#6  0x0805c8d9 in rb_funcall (recv=1076031764, mid=4833, n=0) at eval.c:5352
#7  0x08052f8f in get_backtrace (info=1076031764) at eval.c:1062
#8  0x08059623 in rb_longjmp (tag=6, mesg=1076031764) at eval.c:3990
#9  0x0805980b in rb_exc_raise () at eval.c:4041
#10 0x0805d2c3 in eval (self=1075636512, src=1076039364, scope=4, 
    file=0x8203cb9 "(eval)", line=762) at eval.c:5649
#11 0x08053c6e in rb_eval_string (
    str=0x82b2998 "TkCore.callback %Q!c00001 262 ?? ?? ?? ?? ?? ?? 0x2800014 41 ?? ?? ?? 0 -1422769175 ?? 104 74 f ?? 41 0 f 102 0x00003a 00000000 2 .w00000 792 134!") at eval.c:1490
#12 0x0805ab5e in rb_rescue2 (b_proc=0x8053c20 <rb_eval_string>, 
    data1=137046424, r_proc=0x400193fc <ip_ruby_eval_rescue>, data2=3221214804)
    at eval.c:4629
#13 0x40019464 in ip_ruby_eval_body () at eval.c:88
#14 0x0805adf0 in rb_ensure (b_proc=0x40019410 <ip_ruby_eval_body>, 
    data1=3221214800, e_proc=0x4001946c <ip_ruby_eval_ensure>, data2=1)
    at eval.c:4717
#15 0x40019575 in ip_ruby () at eval.c:88
#16 0x403bbbf0 in TclEvalObjvInternal () from /usr/local/lib/libtcl8.4.so
#17 0x403de2c4 in TclExecuteByteCode () from /usr/local/lib/libtcl8.4.so
#18 0x403dd7b0 in TclCompEvalObj () from /usr/local/lib/libtcl8.4.so
#19 0x4040aaf5 in TclObjInterpProc () from /usr/local/lib/libtcl8.4.so
#20 0x403bbbf0 in TclEvalObjvInternal () from /usr/local/lib/libtcl8.4.so
#21 0x403bc59a in Tcl_EvalEx () from /usr/local/lib/libtcl8.4.so
#22 0x403bc9a9 in Tcl_Eval () from /usr/local/lib/libtcl8.4.so
#23 0x403bdde3 in Tcl_GlobalEval () from /usr/local/lib/libtcl8.4.so
#24 0x402e8c86 in Tk_BindEvent () from /usr/local/lib/libtk8.4.so
#25 0x402ee45d in TkBindEventProc () from /usr/local/lib/libtk8.4.so
#26 0x402f59fb in Tk_HandleEvent () from /usr/local/lib/libtk8.4.so
#27 0x402f5f0d in WindowEventProc () from /usr/local/lib/libtk8.4.so
#28 0x40400aba in Tcl_ServiceEvent () from /usr/local/lib/libtcl8.4.so
#29 0x40400df9 in Tcl_DoOneEvent () from /usr/local/lib/libtcl8.4.so
#30 0x40018b4a in lib_eventloop_core () at eval.c:88
#31 0x40018dcc in lib_eventloop_main () at eval.c:88
#32 0x0805adf0 in rb_ensure (b_proc=0x40018d94 <lib_eventloop_main>, data1=2, 
    e_proc=0x40018de0 <lib_eventloop_ensure>, data2=0) at eval.c:4717
#33 0x40018f78 in lib_eventloop_launcher () at eval.c:88
#34 0x40018fd4 in lib_mainloop () at eval.c:88
#35 0x0805bc4e in rb_call0 (klass=1076472684, recv=1076472924, id=10409, 
    oid=10409, argc=1, argv=0xbfffe694, body=0x4029ab58, nosuper=0)
    at eval.c:4938
#36 0x0805c6a6 in rb_call (klass=1076472684, recv=1076472924, mid=10409, 
    argc=1, argv=0xbfffe694, scope=0) at eval.c:5287
#37 0x0805739f in rb_eval (self=1076463844, n=0x401a43a0) at eval.c:3076
#38 0x0805c259 in rb_call0 (klass=1076470204, recv=1076463844, id=10409, 
    oid=10409, argc=0, argv=0x0, body=0x401a43a0, nosuper=0) at eval.c:5194
#39 0x0805c6a6 in rb_call (klass=1076470204, recv=1076463844, mid=10409, 
    argc=0, argv=0x0, scope=0) at eval.c:5287
#40 0x0805739f in rb_eval (self=1075636512, n=0x401beca0) at eval.c:3076
#41 0x08053640 in eval_node (self=1075636512, node=0x401beca0) at eval.c:1267
#42 0x08053b0e in ruby_exec () at eval.c:1436
#43 0x08053b6a in ruby_run () at eval.c:1457
#44 0x08052032 in Letext () at main.c:50
#45 0x4009013f in __libc_start_main (main=0x8052010 <main>, argc=2, 
    ubp_av=0xbffff5d4, init=0x805141c <_init>, fini=0x80c5670 <_fini>, 
    rtld_fini=0x4000c770 <_dl_fini>, stack_end=0xbffff5cc)
    at ../sysdeps/generic/libc-start.c:129
(gdb) 
-------------------------------------------------------------------
-- 
                                         永井 秀利 (九工大 知能情報)
                                             nagai@ai.kyutech.ac.jp

In This Thread