# Ruby 1.9.2-p0 mingw32 on vista 64 -- interpreter crashes calling thread.join

**URL:** <https://www.ruby-forum.com/t/ruby-1-9-2-p0-mingw32-on-vista-64-interpreter-crashes-calling-thread-join/197470>\
**Category:** Ruby\
**Created:** [October 14, 2010, 10:35pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-p0-mingw32-on-vista-64-interpreter-crashes-calling-thread-join/197470 "2010-10-14T22:35:19Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![okkezSS](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/o/85f322/32.png) [@okkezSS](https://www.ruby-forum.com/u/okkezSS)\
**Post date:** [October 14, 2010, 10:35pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-p0-mingw32-on-vista-64-interpreter-crashes-calling-thread-join/197470/1 "2010-10-14T22:35:19Z")

</div>

t = Thread.new {somecode}  
t.join

causes the interpreter to crash  
(This application has requested the Runtime to terminate it in an  
unusual way)

while…

t = Thread.new {somecode}  
sleep 1  
t.join

or…

t = Thread.new {somecode}  
puts “anything”  
t.join

does not

Anyone know why? 😉

---

<div class="post-metadata">

**Author:** ![elranchodeluxe](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/e/ad7895/32.png) [@elranchodeluxe](https://www.ruby-forum.com/u/elranchodeluxe)\
**Post date:** [October 14, 2010, 11:49pm UTC](https://www.ruby-forum.com/t/ruby-1-9-2-p0-mingw32-on-vista-64-interpreter-crashes-calling-thread-join/197470/2 "2010-10-14T23:49:29Z")

</div>

you could attach gdb to it to get a backtrace.  
I know there used to be a bug in 1.9.1 that would cause this behavior,  
but thought it was fixed…  
seems to work fine here on 32 bit  
ruby 1.9.2p0 (2010-08-18) [i386-mingw32]
