From: Roger Pack <rogerdpack2 / gmail.com>
Subject: [ruby-core:30358] tk doesn't startup well in doze
Date: Sat, 22 May 2010 09:15:47 +0900
Message-ID: <AANLkTinAZiQYbrN203g9HFfp-rXmfPv0cSGjTD---06h / mail.gmail.com>
> Currently with 1.9.x and tk 8.5,the following occurs
> 
> irb(main):001:0> require 'tk'
> error in background error handler:
> attempt to call eval in deleted interpreter
>     while executing
> "::tcl::Bgerror {attempt to call eval in deleted interpreter} {-code 1
> -level 0 -errorcode {TCL IDELETE {attempt to call eval in deleted
> interpreter}} ..."
> => true

Does it occur with RubyTk-Kit version (it based on latest tcltklib.c)?
Does your windows box have a multi-core CPU?
After this error message, does Ruby/Tk works fine or not?
If call the following before "require 'tk'", does anything change?
------------------------------------------------
module TkCore; RUN_EVENTLOOP_ON_MAIN_THREAD = true; end
------------------------------------------------
-- 
Hidetoshi NAGAI (nagai / ai.kyutech.ac.jp)