From: Tomoyuki Chikanaga Date: 2011-01-12T20:04:13+09:00 Subject: [ruby-core:34424] [Ruby 1.9-Bug#4272] rb_enc_str_new() causes segmentfault when using threads in parallel Issue #4272 has been updated by Tomoyuki Chikanaga. Hi, In my environment script just like the following cause "[BUG] rb_register_sigaltstack. malloc error". It's because all Thread object is stored in `threads' variable and cannot be GC'ed. Could you show us your error messages? threads = [] 300000.times do |i| puts i threads << Thread.new{} end threads.each {|t| t.join} ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4272 ---------------------------------------- http://redmine.ruby-lang.org