Stringio bug

I just saw that(and slice! fix by Matz) a moment ago.
Thanks for the quick fix.

Now new problem: miniruby coredump during build.

gdb ./miniruby
(gdb) run ext/extmk.rb
Program received signal SIGSEGV, Segmentation fault.
0x7842c in rb_str_index (str=327, sub=1815736, offset=0) at string.c:816
816 if (offset < 0) {
(gdb) backtrace
#0 0x7842c in rb_str_index (str=327, sub=1815736, offset=0) at string.c:816
#1 0x78ac8 in rb_str_match (x=1815736, y=1815688) at string.c:984
#2 0x23878 in call_cfunc (func=0x78a6c <rb_str_match>, recv=1815736,
len=1815736, argc=1, argv=0xffbee850) at eval.c:4379
#3 0x23e0c in rb_call0 (klass=1061368, recv=1815736, id=327, argc=1,
argv=0xffbee850, body=0x102e08, nosuper=494188) at eval.c:4510
#4 0x2473c in rb_call (klass=1061368, recv=1815736, mid=327, argc=1,
argv=0xffbee850, scope=0) at eval.c:4734
#5 0x1f05c in rb_eval (self=1066624, n=0xf2758) at eval.c:2739
#6 0x1e5c0 in rb_eval (self=1066624, n=0xf2740) at eval.c:2629
#7 0x1d54c in rb_eval (self=1066624, n=0xf2638) at eval.c:2288
#8 0x1d168 in rb_eval (self=1066624, n=0xf3778) at eval.c:2200
#9 0x1aabc in ruby_run () at eval.c:1235
#10 0x18e84 in main (argc=0, argv=0xffbef4dc, envp=0xffbef4e8) at main.c:50

···

From POP3 Thu Jul 11 11:09:14 EDT 2002
Date: Fri, 12 Jul 2002 00:06:32 +0900
Posted: Fri, 12 Jul 2002 00:06:26 +0900
From: nobu.nokada@softhome.net
Subject: Re: stringio bug
To: ruby-talk@ruby-lang.org (ruby-talk ML)
X-ML-Name: ruby-talk
X-Mail-Count: 44299
X-MLServer: fml [fml 3.0pl#17]; post only (anyone can post)
X-ML-Info: If you have a question, send e-mail with the body
"help" (without quotes) to the address ruby-talk-ctl@ruby-lang.org;
help=mailto:ruby-talk-ctl@ruby-lang.org?body=help
User-Agent: Wanderlust/2.8.1 (Something) EMIKO/1.14.1 (Choanoflagellata) LIMIT/1.14.7 (Fujiidera) APEL/10.3 MULE XEmacs/21.4 (patch 6) (Common Lisp) (i586-kondara-linux)
Mime-Version: 1.0 (generated by EMIKO 1.14.1 - “Choanoflagellata”)

Hi,

At Thu, 11 Jul 2002 22:49:47 +0900, > mengx@nielsenmedia.com wrote:

Hi, I believe there is a bug in stringio module

Thank you for the report. Fixed now.


Nobu Nakada>

Hi,

···

At Fri, 12 Jul 2002 00:27:29 +0900, mengx@nielsenmedia.com wrote:

Now new problem: miniruby coredump during build.

I noticed too, and have reported.


Nobu Nakada