From: "Mauricio Fernández" Date: 2003-03-02T03:47:37+09:00 Subject: Re: [BUG] gc_sweep(): unknown data type 48 On Sun, Mar 02, 2003 at 12:35:37AM +0900, nobu.nokada@softhome.net wrote: > Hi, > > At Sat, 1 Mar 2003 22:32:50 +0900, > Mauricio Fern�ndez wrote: > > `mv core co/core.#{Time.new.to_i}` > > On Linux, writing 1 to /proc/sys/kernel/core_uses_pid makes > core files unique. > > > #5 0x4012fb88 in sigaction () from /lib/libc.so.6 > > #6 0x4008f9ba in rb_free_generic_ivar () from /usr/lib/libruby.so.1.6 > > It looks like a recently fixed bug. > > Wed Feb 26 00:02:41 2003 Nobuyoshi Nakada > > * string.c (rb_str_dup): set FL_EXIVAR when copied generic ivar. > (ruby-bugs-ja:PR#400) > > > 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... 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)) * 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? I cannot try a CVS snapshot until I get a predictable way to reproduce the errors in the binaries I build... -- _ _ | |__ __ _| |_ ___ _ __ ___ __ _ _ __ | '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ | |_) | (_| | |_\__ \ | | | | | (_| | | | | |_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_| Running Debian GNU/Linux Sid (unstable) batsman dot geo at yahoo dot com Stupid nick highlighting Whenever someone starts with "stupid" it highlights the nick. Hmm. -- #Debian