[#21225] Re: [ruby-cvs] ruby: * enum.c (inject_i): use rb_yield_values. — "U.Nakamura" <usa@...>

こんにちは、なかむら(う)です。

14 messages 2003/08/22
[#21227] Re: [ruby-cvs] ruby: * enum.c (inject_i): use rb_yield_values. — nobu.nakada@... 2003/08/22

なかだです。

[#21228] Re: [ruby-cvs] ruby: * enum.c (inject_i): use rb_yield_values. — matz@... (Yukihiro Matsumoto) 2003/08/22

まつもと ゆきひろです

[#21281] 大量メモリ消費攻撃に対する対応 — Hidetoshi NAGAI <nagai@...>

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

16 messages 2003/08/29
[#21285] Re: 大量メモリ消費攻撃に対する対応 — matz@... (Yukihiro Matsumoto) 2003/08/29

まつもと ゆきひろです

[#21288] Re: 大量メモリ消費攻撃に対する対応 — Hidetoshi NAGAI <nagai@...> 2003/08/29

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

[#21306] Re: 大量メモリ消費攻撃に対する対応 — matz@... (Yukihiro Matsumoto) 2003/09/03

まつもと ゆきひろです

[ruby-dev:21237] SEGV

From: keiju@... (Keiju ISHITSUKA)
Date: 2003-08-23 05:09:17 UTC
List: ruby-dev #21237
けいじゅ@いしつかです.

ruby 1.8.0 (2003-08-23) [i686-linux]

のちょっと前のバージョンからSEGVするようになっています.

-- gdb bt
Program received signal SIGSEGV, Segmentation fault.
0x400dc01b in memcpy () from /lib/libc.so.6
(gdb) bt
#0  0x400dc01b in memcpy () from /lib/libc.so.6
#1  0x080aa04a in rb_str_buf_cat (str=1076450900, ptr=0x0, len=32)
    at string.c:622
#2  0x080aa11f in rb_str_cat (str=1076450900, ptr=0x0, len=32) at string.c:655
#3  0x40012a07 in rb_nkf_putchar (c=40) at nkf.c:34
#4  0x40014284 in j_oconv (c2=0, c1=2) at nkf1.7/nkf.c:1240
#5  0x400139d8 in kanji_convert (f=0x0) at nkf1.7/nkf.c:955
#6  0x40015190 in rb_nkf_kconv (obj=1075327208, opt=1076450920, src=1076451020)
    at nkf.c:82
#7  0x0805b884 in rb_call0 (klass=1075327148, recv=1075327208, id=11297, 
    oid=11297, argc=2, argv=0xbfff3f34, body=0x40183098, nosuper=0)
    at eval.c:4803
#8  0x0805c296 in rb_call (klass=1075327148, recv=1075327208, mid=11297, 
    argc=2, argv=0xbfff3f34, scope=0) at eval.c:5146
#9  0x080571a0 in rb_eval (self=1076451020, n=0x401836d8) at eval.c:2996
#10 0x0805be79 in rb_call0 (klass=1075493028, recv=1076451020, id=11153, 
    oid=11153, argc=0, argv=0x0, body=0x401836d8, nosuper=0) at eval.c:5056
#11 0x0805c296 in rb_call (klass=1075493028, recv=1076451020, mid=11153, 
    argc=0, argv=0x0, scope=0) at eval.c:5146
#12 0x080571a0 in rb_eval (self=1076483180, n=0x40186824) at eval.c:2996
#13 0x08056fd6 in rb_eval (self=1076483180, n=0x401867d4) at eval.c:2991
#14 0x08055b4e in rb_eval (self=1076483180, n=0x40186bbc) at eval.c:2554
#15 0x08055f07 in rb_eval (self=1076483180, n=0x40186e3c) at eval.c:2651
---Type <return> to continue, or q <return> to quit---
#16 0x0805be79 in rb_call0 (klass=1075768492, recv=1076483180, id=10687, 
    oid=10687, argc=0, argv=0xbfff5bf8, body=0x40186e3c, nosuper=0)
    at eval.c:5056
#17 0x0805c296 in rb_call (klass=1075768492, recv=1076483180, mid=10687, 
    argc=1, argv=0xbfff5bf4, scope=0) at eval.c:5146
#18 0x080571a0 in rb_eval (self=1075497568, n=0x4018fe24) at eval.c:2996
#19 0x08055b4e in rb_eval (self=1075497568, n=0x4018f208) at eval.c:2554
#20 0x08059d13 in rb_yield_0 (val=1076483180, self=1075497568, klass=0, 
    flags=0, avalue=0) at eval.c:4157
#21 0x08059f4d in rb_yield (val=1076483180) at eval.c:4226
#22 0x080b7b6e in rb_ary_each (ary=1076483200) at array.c:817
#23 0x0805b8a1 in rb_call0 (klass=1075472208, recv=1076483200, id=3817, 
    oid=3817, argc=0, argv=0x0, body=0x401a632c, nosuper=0) at eval.c:4806
#24 0x0805c296 in rb_call (klass=1075472208, recv=1076483200, mid=3817, 
    argc=0, argv=0x0, scope=0) at eval.c:5146
#25 0x08056339 in rb_eval (self=1075497568, n=0x4018f078) at eval.c:2732
#26 0x08059d13 in rb_yield_0 (val=2770190, self=1075497568, klass=0, flags=0, 
    avalue=0) at eval.c:4157
#27 0x08065f39 in rb_f_catch (dmy=1075497568, tag=2770190) at eval.c:10172
#28 0x0805b86e in rb_call0 (klass=1075502248, recv=1075497568, id=3985, 
    oid=3985, argc=1, argv=0xbfff72b4, body=0x401abf48, nosuper=0)
    at eval.c:4800
#29 0x0805c296 in rb_call (klass=1075502248, recv=1075497568, mid=3985, 
---Type <return> to continue, or q <return> to quit---
    argc=1, argv=0xbfff72b4, scope=1) at eval.c:5146
#30 0x0805739c in rb_eval (self=1075497568, n=0x401904f0) at eval.c:3010
#31 0x0805626c in rb_eval (self=1075497568, n=0x4018ef60) at eval.c:2721
#32 0x08059d13 in rb_yield_0 (val=1076463440, self=1075497568, klass=0, 
    flags=0, avalue=0) at eval.c:4157
#33 0x08056692 in rb_eval (self=1075653512, n=0x40204930) at eval.c:2806
#34 0x08059d13 in rb_yield_0 (val=1076463440, self=1075653512, klass=0, 
    flags=0, avalue=0) at eval.c:4157
#35 0x08056692 in rb_eval (self=1076463440, n=0x402010b4) at eval.c:2806
#36 0x080581d9 in rb_eval (self=1076463440, n=0x4020108c) at eval.c:3336
#37 0x08059d13 in rb_yield_0 (val=1075794232, self=1076463440, klass=0, 
    flags=0, avalue=0) at eval.c:4157
#38 0x08065f39 in rb_f_catch (dmy=1076463440, tag=1075794232) at eval.c:10172
#39 0x0805b86e in rb_call0 (klass=1075502248, recv=1076463440, id=3985, 
    oid=3985, argc=1, argv=0xbfff91e4, body=0x401abf48, nosuper=0)
    at eval.c:4800
#40 0x0805c296 in rb_call (klass=1075502248, recv=1076463440, mid=3985, 
    argc=1, argv=0xbfff91e4, scope=1) at eval.c:5146
#41 0x0805739c in rb_eval (self=1076463440, n=0x4020112c) at eval.c:3010
#42 0x0805626c in rb_eval (self=1076463440, n=0x40201078) at eval.c:2721
#43 0x08057c2b in rb_eval (self=1076463440, n=0x40200e0c) at eval.c:3158
#44 0x08056725 in rb_eval (self=1076463440, n=0x4020077c) at eval.c:2816
#45 0x0805694d in rb_eval (self=1076463440, n=0x4020072c) at eval.c:2856
---Type <return> to continue, or q <return> to quit---
#46 0x0805be79 in rb_call0 (klass=1075796152, recv=1076463440, id=10497, 
    oid=10497, argc=0, argv=0x0, body=0x4020072c, nosuper=0) at eval.c:5056
#47 0x0805c296 in rb_call (klass=1075796152, recv=1076463440, mid=10497, 
    argc=0, argv=0x0, scope=0) at eval.c:5146
#48 0x080571a0 in rb_eval (self=1075653512, n=0x402049d0) at eval.c:2996
#49 0x0805626c in rb_eval (self=1075653512, n=0x40204ffc) at eval.c:2721
#50 0x0805be79 in rb_call0 (klass=1075813652, recv=1075653512, id=10497, 
    oid=10497, argc=0, argv=0x0, body=0x40204ffc, nosuper=0) at eval.c:5056
#51 0x0805c296 in rb_call (klass=1075813652, recv=1075653512, mid=10497, 
    argc=0, argv=0x0, scope=0) at eval.c:5146
#52 0x080571a0 in rb_eval (self=1075497568, n=0x401907ac) at eval.c:2996
#53 0x0805626c in rb_eval (self=1075497568, n=0x40190e28) at eval.c:2721
#54 0x0805be79 in rb_call0 (klass=1075502368, recv=1075497568, id=10769, 
    oid=10769, argc=0, argv=0xbfffc454, body=0x40190e28, nosuper=0)
    at eval.c:5056
#55 0x0805c296 in rb_call (klass=1075502368, recv=1075497568, mid=10769, 
    argc=1, argv=0xbfffc450, scope=1) at eval.c:5146
#56 0x0805739c in rb_eval (self=1075497568, n=0x401911ac) at eval.c:3010
#57 0x08059d13 in rb_yield_0 (val=1076487080, self=1075497568, klass=0, 
    flags=0, avalue=0) at eval.c:4157
#58 0x08059f4d in rb_yield (val=1076487080) at eval.c:4226
#59 0x080bf80e in dir_each (dir=1075633112) at dir.c:360
#60 0x0805b8a1 in rb_call0 (klass=1075451168, recv=1075633112, id=3817, 
---Type <return> to continue, or q <return> to quit---
    oid=3817, argc=0, argv=0x0, body=0x401a13cc, nosuper=0) at eval.c:4806
#61 0x0805c296 in rb_call (klass=1075451168, recv=1075633112, mid=3817, 
    argc=0, argv=0x0, scope=0) at eval.c:5146
#62 0x08056339 in rb_eval (self=1075497568, n=0x40191df0) at eval.c:2732
#63 0x0805be79 in rb_call0 (klass=1075502368, recv=1075497568, id=10537, 
    oid=10537, argc=0, argv=0xbfffd454, body=0x40191df0, nosuper=0)
    at eval.c:5056
#64 0x0805c296 in rb_call (klass=1075502368, recv=1075497568, mid=10537, 
    argc=1, argv=0xbfffd450, scope=1) at eval.c:5146
#65 0x0805739c in rb_eval (self=1075497568, n=0x401987a4) at eval.c:3010
#66 0x08059d13 in rb_yield_0 (val=1075767292, self=1075497568, klass=0, 
    flags=0, avalue=0) at eval.c:4157
#67 0x08059f4d in rb_yield (val=1075767292) at eval.c:4226
#68 0x080b7b6e in rb_ary_each (ary=1075769192) at array.c:817
#69 0x0805b8a1 in rb_call0 (klass=1075472208, recv=1075769192, id=3817, 
    oid=3817, argc=0, argv=0x0, body=0x401a632c, nosuper=0) at eval.c:4806
#70 0x0805c296 in rb_call (klass=1075472208, recv=1075769192, mid=3817, 
    argc=0, argv=0x0, scope=0) at eval.c:5146
#71 0x08056339 in rb_eval (self=1075497568, n=0x4019912c) at eval.c:2732
#72 0x080558da in rb_eval (self=1075497568, n=0x401993ac) at eval.c:2466
#73 0x0805be79 in rb_call0 (klass=1075502368, recv=1075497568, id=10449, 
    oid=10449, argc=0, argv=0x0, body=0x401993ac, nosuper=0) at eval.c:5056
#74 0x0805c296 in rb_call (klass=1075502368, recv=1075497568, mid=10449, 
---Type <return> to continue, or q <return> to quit---
    argc=0, argv=0x0, scope=2) at eval.c:5146
#75 0x0805740c in rb_eval (self=1075497568, n=0x4019a9b4) at eval.c:3016
#76 0x0805be79 in rb_call0 (klass=1075502368, recv=1075497568, id=5041, 
    oid=5041, argc=0, argv=0x0, body=0x4019a9b4, nosuper=0) at eval.c:5056
#77 0x0805c296 in rb_call (klass=1075502368, recv=1075497568, mid=5041, 
    argc=0, argv=0x0, scope=2) at eval.c:5146
#78 0x0805740c in rb_eval (self=1075497568, n=0x4019cebc) at eval.c:3016
#79 0x080531f0 in eval_node (self=1075497568, node=0x4019cebc) at eval.c:1223
#80 0x080536d6 in ruby_exec () at eval.c:1388
#81 0x0805373d in ruby_run () at eval.c:1409
#82 0x08051ba2 in main (argc=8, argv=0xbffff744, envp=0xbffff768) at main.c:50
#83 0x40082a51 in __libc_start_main () from /lib/libc.so.6


__
---------------------------------------------------->> 石塚 圭樹 <<---
---------------------------------->> e-mail: keiju@ishitsuka.com <<---

In This Thread

Prev Next