I'm getting errors like the following:

./dict.rb:316: [BUG] gc_sweep(): unknown data type 48
ruby 1.6.8 (2002-12-24) [i386-linux]
Aborted

every once in a while when running with Ruby 1.6.8 one script that adds
hints (like jisyo.org) to HTML files. This didn't happen in 1.6.7 and
doesn't AFAIK in 1.7.2. 

I don't know how to reproduce the error predictably; testing on the
same conditions is difficult, as the script is heavily multi-threaded
(it makes concurrent connections to a dictd server to get definitions in
parallel as it processes the document) and I cannot control the precise
timing of the dictd responses. I am not using any custom extensions
(just digest/md5 and strscan which should hopefully be correct).

Just wanted to know if the above error indicates for sure (1) a bug in Ruby
or (2) if I could be causing it by having something wrong in my code (say,
wrt. to threading and synchronization issues).

If it is (1) I could try to isolate the error, but it won't be easy for
the fore mentioned reasons. The source code as it stands now wouldn't be
very helpful as it isn't really small enough (~ 900 locs).

-- 
 _           _                             
| |__   __ _| |_ ___ _ __ ___   __ _ _ __  
| '_ \ / _` | __/ __| '_ ` _ \ / _` | '_ \ 
| |_) | (_| | |_\__ \ | | | | | (_| | | | |
|_.__/ \__,_|\__|___/_| |_| |_|\__,_|_| |_|
	Running Debian GNU/Linux Sid (unstable)
batsman dot geo at yahoo dot com

> Tut mir Leid, Jost, aber Du bist ein unertraeglicher Troll.
Was soll das? Du *beleidigst* die Trolle!
	-- de.comp.os.unix.linux.misc