From: Roger Pack Date: 2010-05-05T06:35:12+09:00 Subject: [ruby-core:30005] [Bug #2488] thread usage can result in bad HANDLE Issue #2488 has been updated by Roger Pack. That patch seems to fix it for me. @Luis: I am able to reproduce #3183 (sometimes it takes a few minutes, and requires the puts in there). Ex backtrace: [BUG] w32_reset_event: The handle is invalid. ruby 1.9.2dev (2010-05-05 trunk 27620) [i386-mingw32] -- control frame ---------- --------------------------- [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. For details: http://www.ruby-lang.org/bugreport.html This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. (Windows 7 32 bit, 4GB RAM). I assume it's just a timing issue. -rp ---------------------------------------- http://redmine.ruby-lang.org/issues/show/2488 ---------------------------------------- http://redmine.ruby-lang.org