Issue #7452 has been reported by mrkn (Kenta Murata).

----------------------------------------
Bug #7452: Main thread is stopped after running finalizers if the main thread has a finalizer
https://bugs.ruby-lang.org/issues/7452

Author: mrkn (Kenta Murata)
Status: Assigned
Priority: Normal
Assignee: authorNari (Narihiro Nakamura)
Category: core
Target version: 2.0.0
ruby -v: ruby 2.0.0dev (2012-11-28 trunk 37923) [x86_64-darwin11.4.2]


篁ヤ????????????<?ゃ?潟?鴻????????????<?ゃ?????ゃ?吟????脂?蚊??????????????<?ゃ?????ゃ?九??茵?緇???罩??障?c?????障????障?????

   ObjectSpace.define_finalizer(Thread.main) {}

trunk ??? ruby_1_9_3 ??????潟?????????х?榊???????????????腆肴???????????障?????

trunk ??篁ヤ???? gist ??莢??c?? patch ??т信罩c?с????障????????
https://gist.github.com/4159481

1.9.3 ??篁ヤ???? gist ??莢??c?? patch ??т信罩c?с????障????????
https://gist.github.com/4159480


-- 
http://bugs.ruby-lang.org/