Hi all.

Some time ago I've started thread named "Memory crush somewhere in Socket"
with no results. No I can describe the problem more correctly and in
details.

First of all: Windows XP with ruby1.9, RUBY_PLATFORM = i386-mswin32_71

I have a window, and dispatch all keyboard events to Ruby's block.
All works good, except Ruby's Threads. When I do anything like just
Thread.new{} in my keyboard handling block, I have corrupted memory and
entire program crashed soon. 

How can I debug (or just walk around) this problem?

Thanks.

v.