From: nobu.nokada@... Date: 2003-03-02T18:59:10+09:00 Subject: Re: [BUG] gc_sweep(): unknown data type 48 Hi, At Sun, 2 Mar 2003 03:47:37 +0900, Mauricio Fern�ndez wrote: > > Do you make an instance variable of String object or mix a > > module which does such thing, and then add an instance variable > > again to a String duplicated from it? > > You mean adding instance variables to a String? I don't do that... > And I only use String#dup once in my script (to duplicate $1) so... Yes, I meant it. Hmmm, it might not be, more information is required. > Moreover something very strange is happening: > > the bug happens about once every 10 runs when using the binary provided > by my distribution (Debian sid => 1.6.8 from Dec. 24 2002). > However it didn't happen in about ~1500 runs with a binary I compiled > myself (exactly same version, 1.6.8 Dec. 24) in order to get the > debugging info for you. > > AFAIK there's only three differences between my binary and the system's > one: > * mine is built for i686-linux, Debian for i386-linux => perhaps there's > a bug in the gcc I'm using (gcc version 2.95.4 20011002 (Debian prerelease)) Unless you set CFLAGS while configure&make, it wouldn't affect. > * mine is installed in $HOME/usr; I built strscan for it and installed it there > * Debian uses --enable-shared and I do not. Could this affect anything? These two and gcc version may affect memory location and GC. -- Nobu Nakada