e\$B%o%J%Y\$H?=\$7\$^\$9!#e(B

(1<<16).times do |i|
p i
end

e\$B\$\$=\$i\$/F1\$88=>]\$Ge(B meka test-all e\$B\$,e(B rubygems/format.rb
e\$B\$Ge(B * e\$B\$^\$l\$Ke(B * SEGV e\$B\$7\$^\$9!#e(B
GCe\$B<~\$j\$+\$H;W\$&\$N\$G\$9\$,!"e(BGC.stress=truee\$B\$G\$be(BGC.disablee\$B\$G\$b:F8=\$7\$J\$\$\$N\$G\$
e\$2\$G\$7\$?!#e(B
[ruby-dev:34185] e\$B\$Ne(BSEGV
e\$B\$b\$3\$l\$N\$;\$\$\$+\$b!D\$H\$\$\$&\$N\$O\$5\$9\$,\$KET9g\$h\$/9M\$(\$9\$.\$G\$7\$g\$&\$+!#e(B

# e\$BJL7o\$G\$9\$,!"e(BMinGW e\$B\$K\$Oe(B _longjmp

e\$B\$,\$J\$\$\$?\$a!!e(Brev.15875 e\$B\$O%S%k%I\$K<:GT\$7\$^\$9!#e(B

# _setjmp e\$B\$,\$"\$C\$Fe(B _longjmp

e\$B\$,\$J\$\$\$h\$&\$J\$*\$+\$7\$J4D6-\$r;H\$&\$[\$&\$,[email protected]\$H\$O;W\$\$\$^\$9\$,!#e(B

[email protected]\$G\$9!#e(B

At Tue, 1 Apr 2008 10:40:28 +0900,
wanabe wrote in [ruby-dev:34194]:

(1<<16).times do |i|
p i
end

e\$B?t2s7+\$jJV\$7\$^\$7\$?\$,!"e(BLinuxe\$B\$G\$be(Bmingwe\$B\$G\$b:F8=\$G\$-\$^\$;\$s\$G\$7\$?!#e(B
mingwe\$B\$N%3%s%Q%\$%i\$N%P!<%8%g%s\$H!“e(BCFLAGSe\$B\$J\$I\$r65\$(\$F\$/[email protected]\$5\$\$!#2De(B
e\$BG=\$G\$”\$l\$P!"e(Bgdbe\$B\$N%P%C%/%H%l!<%9\$r8+\$;\$F\$b\$i\$(\$k\$H=u\$+\$j\$^\$9!#e(B

# _setjmp e\$B\$,\$"\$C\$Fe(B _longjmp e\$B\$,\$J\$\$\$h\$&\$J\$*\$+\$7\$J4D6-\$r;H\$&\$[\$&\$,[email protected]\$H\$O;W\$\$\$^\$9\$,!#e(B

e\$B\$3\$A\$i\$OD>\$7\$^\$7\$?!#e(B

e\$B%o%J%Y\$G\$9!#e(B

e\$B\$5\$s\$O=q\$-\$^\$7\$?e(B:

e\$B?t2s7+\$jJV\$7\$^\$7\$?\$,!"e(BLinuxe\$B\$G\$be(Bmingwe\$B\$G\$b:F8=\$G\$-\$^\$;\$s\$G\$7\$?!#e(B
mingwe\$B\$N%3%s%Q%\$%i\$N%P!<%8%g%s\$H!“e(BCFLAGSe\$B\$J\$I\$r65\$(\$F\$/[email protected]\$5\$\$!#2De(B
e\$BG=\$G\$”\$l\$P!"e(Bgdbe\$B\$N%P%C%/%H%l!<%9\$r8+\$;\$F\$b\$i\$(\$k\$H=u\$+\$j\$^\$9!#e(B

e\$B\$9\$_\$^\$;\$s\$"\$j\$,\$H\$&\$4\$6\$\$\$^\$9!#e(Bgcc e\$B\$Oe(B SF.net
e\$B\$+\$i%@%&%s%m!<%I\$7\$?e(B
gcc-core-3.4.5-20060117-1.tar.gz [email protected]\$H5-21\$7\$F\$\$\$^\$9!#e(B

\$ gcc -v
Configured with: …/gcc-3.4.5/configure --with-gcc --with-gnu-ld
–with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw
–disable-shared --enable-sjlj-exceptions --enable-libgcj
–disable-java-awt --without-x --enable-java-gc=boehm
–disable-libgcj-debug --enable-interpreter
–enable-hash-synchronization --enable-libstdcxx-debug
gcc version 3.4.5 (mingw special)

CFLAGS
e\$B\$H\$\$\$&\$N\$O4D6-JQ?t\$N\$3\$H\$G\$7\$g\$&\$+!)\$3\$l\$O6u\$K\$J\$C\$F\$\$\$^\$9!#e(B
e\$B%S%k%I;~\$K\$Oe(B Makefile e\$B\$K=q\$+\$l\$F\$\$\$ke(B -g -O2
[email protected]\$1\$,M-8z\$K\$J\$C\$F\$\$\$k\$h\$&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no-cygwine\$B\$N\$[\$&\$r9M\$(\$Fe(B
e\$B\$7\$^\$&\$N\$G!#e(B

e\$B\$^\$D\$b\$He(B e\$B\$f\$-\$R\$m\$G\$9e(B

In message “Re: [ruby-dev:34248] Re: File.read (e\$B\$^\$?\$Oe(B
String#include?) e\$B\$Ge(BSEGV”
on Fri, 4 Apr 2008 11:24:57 +0900, wanabe [email protected]
writes:

|e\$B\$h\$/%=!<%9\$rDI\$C\$F\$_\$k\$HGo;RH4\$1\$9\$k\$[[email protected]\$G\$-\$^\$7\$?!#e(B
|re.c e\$B\$OB>[email protected]\$,I,MW\$+\$b\$7\$l\$^\$;\$s\$,!"\$H\$j\$"\$(\$:e(B SEGV e\$B\$O=P\$J\$/\$J\$j\$^\$7\$?!#e(B

e\$B\$"\$j\$,\$H\$&\$4\$6\$\$\$^\$9!#<h\$j9~\$_\$^\$9!#e(B

e\$B%o%J%Y\$G\$9!#e(B

e\$B\$h\$/%=!<%9\$rDI\$C\$F\$_\$k\$HGo;RH4\$1\$9\$k\$[[email protected]\$G\$-\$^\$7\$?!#e(B
re.c e\$B\$OB>[email protected]\$,I,MW\$+\$b\$7\$l\$^\$;\$s\$,!"\$H\$j\$"\$(\$:e(B SEGV
e\$B\$O=P\$J\$/\$J\$j\$^\$7\$?!#e(B

— re.c.orig Tue Apr 1 20:15:20 2008
+++ re.c Thu Apr 3 19:38:49 2008
@@ -144,7 +144,7 @@
for (; x < xe; ++x)
qstable[x] = xe - x;
/
Searching */

• for (; y < ye; y += *(qstable + y[m])) {
• for (; y + m < ye; y += *(qstable + y[m])) {
if (*xs == *y && memcmp(xs, y, m) == 0)
return y - ys;
}

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.