[#24395] "a".sum(32) is 0 — Tanaka Akira <akr@...17n.org>
次のように、"a".sum(32) が 0 になるのは変ではないでしょうか。
まつもと ゆきひろです
In article <1096716505.531808.29662.nullmailer@x31.priv.netlab.jp>,
[#24400] IO#read with 1 argument dumps core — Tanaka Akira <akr@...17n.org>
次のようにすると core を吐きます。
[#24405] Auto stack growing on Mac OS X — Mitsuhiro Kondo <miche@...>
近藤と申します。
[#24413] Re: new NKF2拡張ライブラリ — "NARUSE, Yui" <naruse@...>
naruseです。
[#24444] ARGF.read(len) and EOF — Tanaka Akira <akr@...17n.org>
次のように、ARGF.read(len) から読み込もうとしたときに、引数にファイル
In article <1097228154.590547.23205.nullmailer@x31.priv.netlab.jp>,
[#24464] DelegateClass#clone — pegacorn@...
こんにちは。
From: pegacorn@jcom.home.ne.jp
まつもと ゆきひろです
From: Yukihiro Matsumoto <matz@ruby-lang.org>
[#24467] DBM#select: `select': wrong argument type false (expected Data) (TypeError) — Tanaka Akira <akr@...17n.org>
DBM#select を呼び出すと `select': wrong argument type false (expected
[#24481] can't build ruby 1.9.0 on mswin32 — 木村浩一 <kimura.koichi@...>
木村です。
わたなべです。
[#24493] Init_stack prototype — Tanaka Akira <akr@...17n.org>
eval.c 内で Init_stack が
[#24505] File::open and mode 'w+' — sheepman <sheepman@...>
こんにちは、sheepman です。
[#24507] test_truncate_rbuf fails — "URABE Shyouhei aka.mput" <root@...>
mput です。 make test-all で以下のエラーが出ています。
In article <80041A7C-2022-11D9-9FB0-000393735AAE@mput.dip.jp>,
なかだです。
In article <200410172227.i9HMRGnh016104@sharui.nakada.niregi.kanuma.tochigi.jp>,
[#24515] Marshal.load causes core dump — Tanaka Akira <akr@...17n.org>
次のようにすると core を吐きます。
[#24519] raise dumps core — Tanaka Akira <akr@...17n.org>
次のようにすると core を吐きます。
[#24536] 「Rubyの落し方」 v.s. ruby_1_8 — akira yamada / やまだあきら <akira@...>
<URL:http://jp.rubyist.net/magazine/?0002-RubyCore>
なかだです。
まつもと ゆきひろです
2004-10-20 (水) の 21:38 +0900 に Yukihiro Matsumoto さんは書きました:
2004-10-26 (火) の 16:16 +0900 に akira yamada / やまだあきら さんは書きました:
まつもと ゆきひろです
こんにちは、なかむら(う)です。
まつもと ゆきひろです
こんにちは、なかむら(う)です。
まつもと ゆきひろです
こんにちは、なかむら(う)です。
2004-10-27 (水) の 11:48 +0900 に Yukihiro Matsumoto さんは書きました:
2004-10-27 (水) の 12:42 +0900 に akira yamada / やまだあきら さんは書きました:
In article <1098888819.9446.14.camel@rice.p.arika.org>,
2004-10-29 (金) の 11:30 +0900 に Tanaka Akira さんは書きました:
まつもと ゆきひろです
永井@知能.九工大です.
[#24537] No warning when using alias with exsisting method name — SASADA Koichi <ko1@...>
ささだです。
[#24540] IO#readpartial dumps core — Tanaka Akira <akr@...17n.org>
次のようにすると core を吐きます。
まつもと ゆきひろです
[#24594] unpack("p") dumps core — Tanaka Akira <akr@...17n.org>
次のようにすると core を吐きます。
[#24595] NKF(nkf2)をCVS Headに入れます — "NARUSE, Yui" <naruse@...>
naruseです。
[#24621] Zlib::Deflate#flush_next_in causes core dump on 1.8 — Tanaka Akira <akr@...17n.org>
次のようにすると core を吐きます。
[#24647] Re: oniguruma: big regexp dumps core — "K.Kosako" <kosako@...>
> 次のようにすると core を吐きます。
In article <20041030082637.6A78A33BFF@beryllium.ruby-lang.org>,
まつもと ゆきひろです
斉藤です。CVS の変更以来、鬼車はそう急がないだろうと
[ruby-dev:24454] open dumps core again
次のようにすると core を吐きます。
% ./ruby -e '
mode = "r" + "\0"*0x20000
n = 0
str = Object.new
class << str; self end.send(:define_method, :to_str) {
n += 1
mode.replace "" if n == 2
"|echo a"
}
p open(str, mode).read'
-e:10: [BUG] Segmentation fault
ruby 1.9.0 (2004-10-08) [i686-linux]
zsh: abort (core dumped) ./ruby -e
% gdb ruby core
GNU gdb 6.1-debian
Copyright 2004 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"...Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `./ruby -e
mode = "r" + "\0"*0x20000
n = 0
str = Object.new
class << str; self'.
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
#0 0x4009e741 in kill () from /lib/libc.so.6
(gdb) bt
#0 0x4009e741 in kill () from /lib/libc.so.6
#1 0x4009e4c5 in raise () from /lib/libc.so.6
#2 0x4009fa08 in abort () from /lib/libc.so.6
#3 0x080d2436 in rb_bug (fmt=0x0) at error.c:214
#4 0x080b0372 in sigsegv (sig=11) at signal.c:446
#5 <signal handler called>
#6 rb_io_mode_flags (mode=0x401fa008 <Address 0x401fa008 out of bounds>) at io.c:2320
#7 0x08078577 in pipe_open (argc=0, argv=0x0, pname=0x8139f29 "echo a",
mode=0x401fa008 <Address 0x401fa008 out of bounds>) at io.c:2739
#8 0x08078921 in rb_io_popen (str=0x401fa008 <Address 0x401fa008 out of bounds>, argc=1075814408, argv=0x401fa008,
klass=1075814408) at io.c:2886
#9 0x08078ef3 in rb_f_open (argc=2, argv=0xbfffe468) at io.c:3203
#10 0x08069f5a in call_cfunc (func=0x8078df0 <rb_f_open>, recv=1075673496, len=0, argc=1, argv=0xbfffe468) at eval.c:5367
#11 0x0805e167 in rb_call0 (klass=1075678376, recv=1075673496, id=7353, oid=1075814408, argc=2, argv=0xbfffe468,
body=0x401cedac, nosuper=0) at eval.c:5508
#12 0x0805e418 in rb_call (klass=1075678376, recv=1075673496, mid=7353, argc=2, argv=0xbfffe468, scope=1) at eval.c:5729
#13 0x08059348 in rb_eval (self=1075673496, n=0x401fa008) at ruby.h:635
#14 0x0805921b in rb_eval (self=1075673496, n=0x401fa008) at eval.c:3197
#15 0x08059678 in rb_eval (self=1075673496, n=0x401fa008) at ruby.h:664
#16 0x080558db in ruby_exec () at eval.c:1458
#17 0x08055920 in ruby_run () at eval.c:1484
#18 0x080539e5 in main (argc=1075814408, argv=0x401fa008, envp=0xbffff8e4) at main.c:38
(gdb)
--
[田中 哲][たなか あきら][Tanaka Akira]