[ruby-dev:23477] Re: [BUG] rb_gc_mark(): unknown data type 0x18(0x9728508) non object
From:
Tanaka Akira <akr@...17n.org>
Date:
2004-05-07 12:47:53 UTC
List:
ruby-dev #23477
In article <1083932343.892095.14210.nullmailer@picachu.netlab.jp>,
matz@ruby-lang.org (Yukihiro Matsumoto) writes:
> |clean build してもやっぱり core を吐くので、なにか問題が入ったのではな
> |いかと思います。
>
> せめて手元で再現できるとよいのですが。
とりあえず、次のようにしたら再現しました。
(1) 適当なテンポラリディレクトリを作ります。
akr@helium:~$ mkdir x
akr@helium:~$ cd x
(2) htree と samidare を checkout します。
akr@helium:~/x$ cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/ruby co htree
...
akr@helium:~/x$ cvs -d :pserver:anonymous@cvs.m17n.org:/cvs/ruby co -P samidare
...
(3) samidare の中から htree が参照できるようにします。
akr@helium:~/x$ cd samidare/
akr@helium:~/x/samidare$ ln -s ../htree/htree* .
(4) デフォルトの config を削除し、Ruby hotlinks 五月雨版の config をとってきます。
akr@helium:~/x/samidare$ rm config.yml
akr@helium:~/x/samidare$ wget http://rrr.jin.gr.jp/\~znz/samidare/config.yml
...
(5) main.rb を実行します。
akr@helium:~/x/samidare$ ~/ruby/ruby/ruby -v main.rb -vf
ruby 1.9.0 (2004-05-07) [i686-linux]
2004-05-07T21:41:58+09:00 fetch start http://marimo.deisui.org/fm.lirs.gz
...
...
2004-05-07T21:42:07+09:00 fetch end 200 OK http://www.tech-notes.dyndns.org/
./htree/parse.rb:161: [BUG] rb_gc_mark(): unknown data type 0x18(0x401816a8) non object
ruby 1.9.0 (2004-05-07) [i686-linux]
Aborted (core dumped)
akr@helium:~/x/samidare$ gdb ~/ruby/ruby/ruby core
GNU gdb 2002-04-01-cvs
Copyright 2002 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-linux"...
Core was generated by `/home/akr/ruby/ruby/ruby -v main.rb -vf'.
Program terminated with signal 6, Aborted.
Reading symbols from /lib/libdl.so.2...done.
Loaded symbols for /lib/libdl.so.2
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /home/akr/ruby/lib/ruby/1.9/i686-linux/stringio.so...done.
Loaded symbols for /home/akr/ruby/lib/ruby/1.9/i686-linux/stringio.so
Reading symbols from /home/akr/ruby/lib/ruby/1.9/i686-linux/syck.so...done.
Loaded symbols for /home/akr/ruby/lib/ruby/1.9/i686-linux/syck.so
Reading symbols from /home/akr/ruby/lib/ruby/1.9/i686-linux/iconv.so...done.
Loaded symbols for /home/akr/ruby/lib/ruby/1.9/i686-linux/iconv.so
Reading symbols from /home/akr/ruby/lib/ruby/1.9/i686-linux/socket.so...done.
Loaded symbols for /home/akr/ruby/lib/ruby/1.9/i686-linux/socket.so
Reading symbols from /home/akr/ruby/lib/ruby/1.9/i686-linux/zlib.so...done.
Loaded symbols for /home/akr/ruby/lib/ruby/1.9/i686-linux/zlib.so
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
Reading symbols from /home/akr/ruby/lib/ruby/1.9/i686-linux/fcntl.so...done.
Loaded symbols for /home/akr/ruby/lib/ruby/1.9/i686-linux/fcntl.so
Reading symbols from /lib/libnss_files.so.2...done.
Loaded symbols for /lib/libnss_files.so.2
Reading symbols from /usr/lib/gconv/EUC-JP.so...done.
Loaded symbols for /usr/lib/gconv/EUC-JP.so
Reading symbols from /usr/lib/gconv/libJIS.so...done.
Loaded symbols for /usr/lib/gconv/libJIS.so
Reading symbols from /usr/lib/gconv/SJIS.so...done.
Loaded symbols for /usr/lib/gconv/SJIS.so
#0 0x40095781 in kill () from /lib/libc.so.6
(gdb) where
#0 0x40095781 in kill () from /lib/libc.so.6
#1 0x40095464 in raise () from /lib/libc.so.6
#2 0x40096be1 in abort () from /lib/libc.so.6
#3 0x080c59aa in rb_bug () at error.c:208
#4 0x0806d0fe in gc_mark_children (ptr=1075320488, lev=0) at gc.c:596
#5 0x0806cbea in gc_mark (ptr=1075320488, lev=0) at gc.c:713
#6 0x0806cf61 in gc_mark_children (ptr=1082530616, lev=0) at gc.c:907
#7 0x0806cbea in gc_mark (ptr=1082530616, lev=0) at gc.c:713
#8 0x0806c9fe in mark_locations_array (x=0x40551008, n=26898) at gc.c:608
#9 0x0806ca33 in rb_gc_mark_locations (start=0x40551008, end=0x4056b450) at gc.c:621
#10 0x08064135 in thread_mark (th=0x87c53a0) at eval.c:9656
#11 0x0806cfbd in gc_mark_children (ptr=1083840496, lev=0) at gc.c:926
#12 0x0806cbea in gc_mark (ptr=1083840496, lev=0) at gc.c:713
#13 0x0806cf61 in gc_mark_children (ptr=1083841556, lev=0) at gc.c:907
#14 0x0806cbea in gc_mark (ptr=1083841556, lev=0) at gc.c:713
#15 0x0806d039 in gc_mark_children (ptr=1076954036, lev=0) at gc.c:958
#16 0x0806cbea in gc_mark (ptr=1076954036, lev=0) at gc.c:713
#17 0x0806c9fe in mark_locations_array (x=0x88add78, n=17737) at gc.c:608
#18 0x0806ca33 in rb_gc_mark_locations (start=0x88add78, end=0x88bf29c) at gc.c:621
#19 0x08064135 in thread_mark (th=0x8764ff8) at eval.c:9656
#20 0x0806cfbd in gc_mark_children (ptr=1083793136, lev=0) at gc.c:926
#21 0x0806cbea in gc_mark (ptr=1083793136, lev=0) at gc.c:713
#22 0x0806c9fe in mark_locations_array (x=0x404ca008, n=34089) at gc.c:608
#23 0x0806ca33 in rb_gc_mark_locations (start=0x404ca008, end=0x404eb4ac) at gc.c:621
#24 0x08064135 in thread_mark (th=0x8765fb0) at eval.c:9656
#25 0x0806cfbd in gc_mark_children (ptr=1083794016, lev=0) at gc.c:926
#26 0x0806cbea in gc_mark (ptr=1083794016, lev=0) at gc.c:713
#27 0x0806c9fe in mark_locations_array (x=0x40783008, n=43362) at gc.c:608
#28 0x0806ca33 in rb_gc_mark_locations (start=0x40783008, end=0x407ad590) at gc.c:621
#29 0x08064135 in thread_mark (th=0x84d4598) at eval.c:9656
#30 0x0806cfbd in gc_mark_children (ptr=1076953416, lev=8) at gc.c:926
#31 0x0806cbea in gc_mark (ptr=1076953416, lev=8) at gc.c:713
#32 0x0806ca4c in mark_entry (key=29778, value=1076953416, lev=8) at gc.c:630
#33 0x080abb84 in st_foreach (table=0x84d4318, func=0x806ca38 <mark_entry>, arg=8) at st.c:495
#34 0x0806ca70 in mark_tbl (tbl=0x84d4318, lev=7) at gc.c:640
#35 0x0806cfd1 in gc_mark_children (ptr=1076953476, lev=7) at gc.c:930
#36 0x0806cbea in gc_mark (ptr=1076953476, lev=7) at gc.c:713
#37 0x0806ca4c in mark_entry (key=29442, value=1076953476, lev=7) at gc.c:630
#38 0x080abb84 in st_foreach (table=0x8318eb0, func=0x806ca38 <mark_entry>, arg=7) at st.c:495
---Type <return> to continue, or q <return> to quit---
#39 0x0806ca70 in mark_tbl (tbl=0x8318eb0, lev=6) at gc.c:640
#40 0x0806cfd1 in gc_mark_children (ptr=1077080056, lev=6) at gc.c:930
#41 0x0806cbea in gc_mark (ptr=1077080056, lev=6) at gc.c:713
#42 0x0806cf61 in gc_mark_children (ptr=1077080096, lev=6) at gc.c:907
#43 0x0806cbea in gc_mark (ptr=1077080096, lev=6) at gc.c:713
#44 0x0806ca4c in mark_entry (key=29274, value=1077080096, lev=6) at gc.c:630
#45 0x080abb84 in st_foreach (table=0x8319090, func=0x806ca38 <mark_entry>, arg=6) at st.c:495
#46 0x0806ca70 in mark_tbl (tbl=0x8319090, lev=5) at gc.c:640
#47 0x0806cfd1 in gc_mark_children (ptr=1077080636, lev=5) at gc.c:930
#48 0x0806cbea in gc_mark (ptr=1077080636, lev=5) at gc.c:713
#49 0x0806ca4c in mark_entry (key=29221, value=1077080636, lev=5) at gc.c:630
#50 0x080abb84 in st_foreach (table=0x830f980, func=0x806ca38 <mark_entry>, arg=5) at st.c:495
#51 0x0806ca70 in mark_tbl (tbl=0x830f980, lev=4) at gc.c:640
#52 0x0806cf0e in gc_mark_children (ptr=1077093576, lev=4) at gc.c:893
#53 0x0806cbea in gc_mark (ptr=1077093576, lev=4) at gc.c:713
#54 0x0806ca4c in mark_entry (key=29141, value=1077093576, lev=4) at gc.c:630
#55 0x080abb84 in st_foreach (table=0x80fe558, func=0x806ca38 <mark_entry>, arg=4) at st.c:495
#56 0x0806ca70 in mark_tbl (tbl=0x80fe558, lev=3) at gc.c:640
#57 0x0806cf0e in gc_mark_children (ptr=1075551520, lev=3) at gc.c:893
#58 0x0806cbea in gc_mark (ptr=1075551520, lev=3) at gc.c:713
#59 0x0806ca4c in mark_entry (key=2937, value=1075551520, lev=3) at gc.c:630
#60 0x080abb84 in st_foreach (table=0x80fe860, func=0x806ca38 <mark_entry>, arg=3) at st.c:495
#61 0x0806ca70 in mark_tbl (tbl=0x80fe860, lev=2) at gc.c:640
#62 0x0806cf0e in gc_mark_children (ptr=1075542040, lev=2) at gc.c:893
#63 0x0806cbea in gc_mark (ptr=1075542040, lev=2) at gc.c:713
#64 0x0806ced4 in gc_mark_children (ptr=1075542060, lev=2) at gc.c:887
#65 0x0806cbea in gc_mark (ptr=1075542060, lev=2) at gc.c:713
#66 0x0806ced4 in gc_mark_children (ptr=1076598920, lev=2) at gc.c:887
#67 0x0806cbea in gc_mark (ptr=1076598920, lev=2) at gc.c:713
#68 0x0806ccd3 in gc_mark_children (ptr=1076598860, lev=2) at gc.c:775
#69 0x0806cbea in gc_mark (ptr=1076598860, lev=2) at gc.c:713
#70 0x0806ccd3 in gc_mark_children (ptr=1076598820, lev=2) at gc.c:775
#71 0x0806cbea in gc_mark (ptr=1076598820, lev=2) at gc.c:713
#72 0x0806ccd3 in gc_mark_children (ptr=1076598780, lev=2) at gc.c:775
#73 0x0806cbea in gc_mark (ptr=1076598780, lev=2) at gc.c:713
#74 0x0806cd0f in gc_mark_children (ptr=1076390040, lev=2) at gc.c:836
#75 0x0806cbea in gc_mark (ptr=1076390040, lev=2) at gc.c:713
#76 0x0806ca4c in mark_entry (key=12361, value=1076390040, lev=2) at gc.c:630
#77 0x080abb84 in st_foreach (table=0x80fe700, func=0x806ca38 <mark_entry>, arg=2) at st.c:495
---Type <return> to continue, or q <return> to quit---
#78 0x0806ca70 in mark_tbl (tbl=0x80fe700, lev=1) at gc.c:640
#79 0x0806ceff in gc_mark_children (ptr=1075551480, lev=1) at gc.c:892
#80 0x0806cbea in gc_mark (ptr=1075551480, lev=1) at gc.c:713
#81 0x0806ca4c in mark_entry (key=2937, value=1075551480, lev=1) at gc.c:630
#82 0x080abb84 in st_foreach (table=0x80fe9f8, func=0x806ca38 <mark_entry>, arg=1) at st.c:495
#83 0x0806ca70 in mark_tbl (tbl=0x80fe9f8, lev=0) at gc.c:640
#84 0x0806cf0e in gc_mark_children (ptr=1075551420, lev=0) at gc.c:893
#85 0x0806cbea in gc_mark (ptr=1075551420, lev=0) at gc.c:713
#86 0x0806ced4 in gc_mark_children (ptr=1075520980, lev=0) at gc.c:887
#87 0x0806cbea in gc_mark (ptr=1075520980, lev=0) at gc.c:713
#88 0x0806ced4 in gc_mark_children (ptr=1075521000, lev=0) at gc.c:887
#89 0x0806cbea in gc_mark (ptr=1075521000, lev=0) at gc.c:713
#90 0x0806ced4 in gc_mark_children (ptr=1082287276, lev=0) at gc.c:887
#91 0x0806cbea in gc_mark (ptr=1082287276, lev=0) at gc.c:713
#92 0x0806c9fe in mark_locations_array (x=0xbffe6004, n=1) at gc.c:608
#93 0x0806d734 in rb_gc_mark_frame (frame=0xbffe5ecc) at gc.c:1239
#94 0x0806d7a3 in rb_gc () at gc.c:1307
#95 0x0806c313 in ruby_xmalloc (size=16) at gc.c:114
#96 0x080ab7ce in st_add_direct (table=0x8873670, key=1075590164, value=2) at st.c:320
#97 0x0806f0b9 in rb_hash_aset (hash=1082287216, key=1077833776, val=2) at hash.c:866
#98 0x080bc881 in ary_make_hash (ary1=1082287276, ary2=0) at array.c:2642
#99 0x080bc8e5 in rb_ary_diff (ary1=1082287256, ary2=1082287276) at array.c:2671
#100 0x0805d31e in rb_call0 (klass=1075521000, recv=1082287256, id=45, oid=45, argc=1, argv=0xbffe6004, body=0x401b1bac,
nosuper=0) at eval.c:5370
#101 0x0805dd66 in rb_call (klass=1075521000, recv=1082287256, mid=45, argc=1, argv=0xbffe6004, scope=0) at eval.c:5715
#102 0x08058b5f in rb_eval (self=1077877856, n=0x4022def0) at eval.c:3226
#103 0x0805967a in rb_eval (self=1077877856, n=0x4022e1c0) at eval.c:3396
#104 0x08057347 in rb_eval (self=1077877856, n=0x4022e990) at eval.c:2679
#105 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=26049, oid=26049, argc=0, argv=0xbffe7398,
body=0x4022e990, nosuper=0) at eval.c:5622
#106 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=26049, argc=5, argv=0xbffe7384, scope=1) at eval.c:5715
#107 0x08058d7f in rb_eval (self=1077877856, n=0x4022edc8) at eval.c:3241
#108 0x0805803b in rb_eval (self=1077877856, n=0x4022edb4) at eval.c:3005
#109 0x08059634 in rb_eval (self=1077877856, n=0x4022ebe8) at eval.c:3390
#110 0x08057afa in rb_eval (self=1077877856, n=0x4022f05c) at eval.c:2905
#111 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=25921, oid=25921, argc=0, argv=0xbffe8ca0,
body=0x4022f05c, nosuper=0) at eval.c:5622
#112 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=25921, argc=3, argv=0xbffe8c94, scope=1) at eval.c:5715
#113 0x08058d7f in rb_eval (self=1077877856, n=0x4022e814) at eval.c:3241
---Type <return> to continue, or q <return> to quit---
#114 0x08059bd9 in rb_eval (self=1077877856, n=0x4022e8c8) at eval.c:3567
#115 0x08059c32 in rb_eval (self=1077877856, n=0x4022e990) at eval.c:3583
#116 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=26049, oid=26049, argc=0, argv=0xbffea028,
body=0x4022e990, nosuper=0) at eval.c:5622
#117 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=26049, argc=5, argv=0xbffea014, scope=1) at eval.c:5715
#118 0x08058d7f in rb_eval (self=1077877856, n=0x4022edc8) at eval.c:3241
#119 0x0805803b in rb_eval (self=1077877856, n=0x4022edb4) at eval.c:3005
#120 0x08059634 in rb_eval (self=1077877856, n=0x4022ebe8) at eval.c:3390
#121 0x08057afa in rb_eval (self=1077877856, n=0x4022f05c) at eval.c:2905
#122 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=25921, oid=25921, argc=0, argv=0xbffeb930,
body=0x4022f05c, nosuper=0) at eval.c:5622
#123 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=25921, argc=3, argv=0xbffeb924, scope=1) at eval.c:5715
#124 0x08058d7f in rb_eval (self=1077877856, n=0x4022e814) at eval.c:3241
#125 0x08059bd9 in rb_eval (self=1077877856, n=0x4022e8c8) at eval.c:3567
#126 0x08059c32 in rb_eval (self=1077877856, n=0x4022e990) at eval.c:3583
#127 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=26049, oid=26049, argc=0, argv=0xbffeccb8,
body=0x4022e990, nosuper=0) at eval.c:5622
#128 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=26049, argc=5, argv=0xbffecca4, scope=1) at eval.c:5715
#129 0x08058d7f in rb_eval (self=1077877856, n=0x4022edc8) at eval.c:3241
#130 0x0805803b in rb_eval (self=1077877856, n=0x4022edb4) at eval.c:3005
#131 0x08059634 in rb_eval (self=1077877856, n=0x4022ebe8) at eval.c:3390
#132 0x08057afa in rb_eval (self=1077877856, n=0x4022f05c) at eval.c:2905
#133 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=25921, oid=25921, argc=0, argv=0xbffee5c0,
body=0x4022f05c, nosuper=0) at eval.c:5622
#134 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=25921, argc=3, argv=0xbffee5b4, scope=1) at eval.c:5715
#135 0x08058d7f in rb_eval (self=1077877856, n=0x4022e814) at eval.c:3241
#136 0x08059bd9 in rb_eval (self=1077877856, n=0x4022e8c8) at eval.c:3567
#137 0x08059c32 in rb_eval (self=1077877856, n=0x4022e990) at eval.c:3583
#138 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=26049, oid=26049, argc=0, argv=0xbffef948,
body=0x4022e990, nosuper=0) at eval.c:5622
#139 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=26049, argc=5, argv=0xbffef934, scope=1) at eval.c:5715
#140 0x08058d7f in rb_eval (self=1077877856, n=0x4022edc8) at eval.c:3241
#141 0x0805803b in rb_eval (self=1077877856, n=0x4022edb4) at eval.c:3005
#142 0x08059634 in rb_eval (self=1077877856, n=0x4022ebe8) at eval.c:3390
#143 0x08057afa in rb_eval (self=1077877856, n=0x4022f05c) at eval.c:2905
#144 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=25921, oid=25921, argc=0, argv=0xbfff1250,
body=0x4022f05c, nosuper=0) at eval.c:5622
#145 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=25921, argc=3, argv=0xbfff1244, scope=1) at eval.c:5715
#146 0x08058d7f in rb_eval (self=1077877856, n=0x40230b64) at eval.c:3241
---Type <return> to continue, or q <return> to quit---
#147 0x0805967a in rb_eval (self=1077877856, n=0x402315c8) at eval.c:3396
#148 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=25809, oid=25809, argc=0, argv=0xbfff1ffc,
body=0x402315c8, nosuper=0) at eval.c:5622
#149 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=25809, argc=2, argv=0xbfff1ff4, scope=1) at eval.c:5715
#150 0x08058d7f in rb_eval (self=1077877856, n=0x40231a28) at eval.c:3241
#151 0x0805d919 in rb_call0 (klass=1077792756, recv=1077877856, id=10329, oid=10329, argc=0, argv=0xbfff27e8,
body=0x40231a28, nosuper=0) at eval.c:5622
#152 0x0805dd66 in rb_call (klass=1077792756, recv=1077877856, mid=10329, argc=1, argv=0xbfff27e4, scope=0) at eval.c:5715
#153 0x08058b5f in rb_eval (self=1077024436, n=0x4019f844) at eval.c:3226
#154 0x0805967a in rb_eval (self=1077024436, n=0x4019f830) at eval.c:3396
#155 0x0805d919 in rb_call0 (klass=1077299816, recv=1077024436, id=10897, oid=10897, argc=0, argv=0xbfff35b0,
body=0x4019f830, nosuper=0) at eval.c:5622
#156 0x0805dd66 in rb_call (klass=1077299816, recv=1077024436, mid=10897, argc=3, argv=0xbfff35a4, scope=1) at eval.c:5715
#157 0x08058d7f in rb_eval (self=1077024436, n=0x401a0d34) at eval.c:3241
#158 0x0805d919 in rb_call0 (klass=1077299816, recv=1077024436, id=10697, oid=10697, argc=0, argv=0xbfff3e00,
body=0x401a0d34, nosuper=0) at eval.c:5622
#159 0x0805dd66 in rb_call (klass=1077299816, recv=1077024436, mid=10697, argc=3, argv=0xbfff3df4, scope=1) at eval.c:5715
#160 0x08058d7f in rb_eval (self=1077024436, n=0x401a3840) at eval.c:3241
#161 0x080581f3 in rb_eval (self=1077024436, n=0x401a4b78) at eval.c:3057
#162 0x0805d919 in rb_call0 (klass=1077299816, recv=1077024436, id=10649, oid=10649, argc=0, argv=0x0, body=0x401a4b78,
nosuper=0) at eval.c:5622
#163 0x0805dd66 in rb_call (klass=1077299816, recv=1077024436, mid=10649, argc=0, argv=0x0, scope=0) at eval.c:5715
#164 0x08058b5f in rb_eval (self=1077296976, n=0x40208eb0) at eval.c:3226
#165 0x0805b943 in rb_yield_0 (val=1077024436, self=1077296976, klass=0, flags=0, avalue=0) at eval.c:4706
#166 0x080580c2 in rb_eval (self=1077027196, n=0x4018a804) at eval.c:3022
#167 0x0805878f in rb_eval (self=1077027196, n=0x4018a87c) at eval.c:3203
#168 0x080579aa in rb_eval (self=1077027196, n=0x4018a78c) at eval.c:2870
#169 0x0805b943 in rb_yield_0 (val=1083841496, self=1077027196, klass=0, flags=2, avalue=2) at eval.c:4706
#170 0x08066830 in rb_thread_yield (arg=1083841496, th=0x8244ce0) at eval.c:11440
#171 0x08066595 in rb_thread_start_0 (fn=0x8066794 <rb_thread_yield>, arg=0x409a1bd8, th=0x8244ce0) at eval.c:11354
#172 0x080668de in rb_thread_initialize (thread=1083841516, args=1083841496) at eval.c:11506
#173 0x0805d31e in rb_call0 (klass=1075535880, recv=1083841516, id=2961, oid=2961, argc=0, argv=0x0, body=0x401b5fa4,
nosuper=0) at eval.c:5370
#174 0x0805dd66 in rb_call (klass=1075535880, recv=1083841516, mid=2961, argc=0, argv=0x0, scope=1) at eval.c:5715
#175 0x0805e039 in rb_funcall2 (recv=1083841516, mid=2961, argc=0, argv=0x0) at eval.c:5808
#176 0x08060337 in rb_obj_call_init (obj=1083841516, argc=0, argv=0x0) at eval.c:7131
#177 0x08066865 in rb_thread_s_new (argc=0, argv=0x0, klass=1075535880) at eval.c:11471
#178 0x0805d31e in rb_call0 (klass=1075535860, recv=1075535880, id=3369, oid=3369, argc=0, argv=0x0, body=0x401b5fcc,
nosuper=0) at eval.c:5370
---Type <return> to continue, or q <return> to quit---
#179 0x0805dd66 in rb_call (klass=1075535860, recv=1075535880, mid=3369, argc=0, argv=0x0, scope=0) at eval.c:5715
#180 0x08058b5f in rb_eval (self=1077027196, n=0x4018a958) at eval.c:3226
#181 0x08057d42 in rb_eval (self=1077027196, n=0x4018a764) at eval.c:2946
#182 0x080589d5 in rb_eval (self=1077027196, n=0x4018a73c) at eval.c:3221
#183 0x0805b943 in rb_yield_0 (val=1, self=1077027196, klass=0, flags=0, avalue=0) at eval.c:4706
#184 0x0805bbe5 in rb_yield (val=1) at eval.c:4788
#185 0x0807f44e in int_dotimes (num=17) at numeric.c:2731
#186 0x0805d351 in rb_call0 (klass=1075532800, recv=17, id=5433, oid=5433, argc=0, argv=0x0, body=0x401b5338, nosuper=0)
at eval.c:5376
#187 0x0805dd66 in rb_call (klass=1075532800, recv=17, mid=5433, argc=0, argv=0x0, scope=0) at eval.c:5715
#188 0x08058b5f in rb_eval (self=1077027196, n=0x4018a9bc) at eval.c:3226
#189 0x08057d42 in rb_eval (self=1077027196, n=0x4018ada4) at eval.c:2946
#190 0x0805d919 in rb_call0 (klass=1075545780, recv=1077027196, id=11825, oid=11825, argc=0, argv=0x0, body=0x4018ada4,
nosuper=0) at eval.c:5622
#191 0x0805dd66 in rb_call (klass=1075545780, recv=1077027196, mid=11825, argc=0, argv=0x0, scope=0) at eval.c:5715
#192 0x08058b5f in rb_eval (self=1077296976, n=0x40209040) at eval.c:3226
#193 0x08057d42 in rb_eval (self=1077296976, n=0x40209090) at eval.c:2946
#194 0x08057347 in rb_eval (self=1077296976, n=0x40207c54) at eval.c:2679
#195 0x0805b943 in rb_yield_0 (val=1077027476, self=1077296976, klass=0, flags=0, avalue=0) at eval.c:4706
#196 0x080580c2 in rb_eval (self=1077296976, n=0x40210340) at eval.c:3022
#197 0x0805b943 in rb_yield_0 (val=1077027596, self=1077296976, klass=0, flags=0, avalue=2) at eval.c:4706
#198 0x080580c2 in rb_eval (self=1077296976, n=0x4018997c) at eval.c:3022
#199 0x0805b943 in rb_yield_0 (val=1077027656, self=1077296976, klass=0, flags=0, avalue=0) at eval.c:4706
#200 0x0805bbe5 in rb_yield (val=1077027656) at eval.c:4788
#201 0x0805c827 in rb_ensure (b_proc=0x805bbcc <rb_yield>, data1=1077027656, e_proc=0x80735b4 <io_close>, data2=1077027656)
at eval.c:5173
#202 0x080747b1 in rb_io_s_open (argc=2, argv=0xbfffb244, klass=1075506020) at io.c:2942
#203 0x0805d31e in rb_call0 (klass=1075509840, recv=1075506020, id=7321, oid=7321, argc=2, argv=0xbfffb244,
body=0x401af9d8, nosuper=0) at eval.c:5370
#204 0x0805dd66 in rb_call (klass=1075509840, recv=1075506020, mid=7321, argc=2, argv=0xbfffb244, scope=0) at eval.c:5715
#205 0x08058b5f in rb_eval (self=1077296976, n=0x40189a30) at eval.c:3226
#206 0x08057d42 in rb_eval (self=1077296976, n=0x401898c8) at eval.c:2946
#207 0x08058313 in rb_eval (self=1077296976, n=0x40189f6c) at eval.c:3082
#208 0x08058313 in rb_eval (self=1077296976, n=0x40189544) at eval.c:3082
#209 0x0805b943 in rb_yield_0 (val=1, self=1077296976, klass=0, flags=0, avalue=0) at eval.c:4706
#210 0x0805bbe5 in rb_yield (val=1) at eval.c:4788
#211 0x0807f44e in int_dotimes (num=3) at numeric.c:2731
#212 0x0805d351 in rb_call0 (klass=1075532800, recv=3, id=5433, oid=5433, argc=0, argv=0x0, body=0x401b5338, nosuper=0)
at eval.c:5376
---Type <return> to continue, or q <return> to quit---
#213 0x0805dd66 in rb_call (klass=1075532800, recv=3, mid=5433, argc=0, argv=0x0, scope=0) at eval.c:5715
#214 0x08058b5f in rb_eval (self=1077296976, n=0x4018a124) at eval.c:3226
#215 0x08057d42 in rb_eval (self=1077296976, n=0x4018a318) at eval.c:2946
#216 0x0805d919 in rb_call0 (klass=1077299756, recv=1077296976, id=11881, oid=11881, argc=0, argv=0xbfffda4c,
body=0x4018a318, nosuper=0) at eval.c:5622
#217 0x0805dd66 in rb_call (klass=1077299756, recv=1077296976, mid=11881, argc=2, argv=0xbfffda44, scope=1) at eval.c:5715
#218 0x08058d7f in rb_eval (self=1077296976, n=0x40210700) at eval.c:3241
#219 0x08057d42 in rb_eval (self=1077296976, n=0x402102c8) at eval.c:2946
#220 0x0805d919 in rb_call0 (klass=1077299756, recv=1077296976, id=12057, oid=12057, argc=0, argv=0xbfffe7d8,
body=0x402102c8, nosuper=0) at eval.c:5622
#221 0x0805dd66 in rb_call (klass=1077299756, recv=1077296976, mid=12057, argc=1, argv=0xbfffe7d4, scope=1) at eval.c:5715
#222 0x08058d7f in rb_eval (self=1077296976, n=0x4020a8dc) at eval.c:3241
#223 0x08057d42 in rb_eval (self=1077296976, n=0x4020ac74) at eval.c:2946
#224 0x0805d919 in rb_call0 (klass=1077299756, recv=1077296976, id=5089, oid=5089, argc=0, argv=0x0, body=0x4020ac74,
nosuper=0) at eval.c:5622
#225 0x0805dd66 in rb_call (klass=1077299756, recv=1077296976, mid=5089, argc=0, argv=0x0, scope=0) at eval.c:5715
#226 0x08058b5f in rb_eval (self=1075546600, n=0x401a8e94) at eval.c:3226
#227 0x08054d6c in eval_node (self=1075546600, node=0x401a8e94) at eval.c:1285
#228 0x08055255 in ruby_exec () at eval.c:1454
#229 0x080552b5 in ruby_run () at eval.c:1475
#230 0x08053702 in Letext () at main.c:50
#231 0x4008514f in __libc_start_main () from /lib/libc.so.6
(gdb)
ネットワークにアクセスするので、常に同じ状況になるとも限りませんが、と
りあえずいま helium では再現しました。
--
[田中 哲][たなか あきら][Tanaka Akira]