From: "Iñaki Baz Castillo" Date: 2011-01-12T18:48:16+09:00 Subject: [ruby-core:34419] [Ruby 1.9-Bug#4272] rb_enc_str_new() causes segmentfault when using threads in parallel Issue #4272 has been updated by I��aki Baz Castillo. It's interesting the fact that (using my attached C extension) the following code doesn't crash: times.times do |num| tester.test_rb_str_new threads << Thread.new { } end but the following codes DO crash: times.times do |num| tester.test_rb_str_new.inspect threads << Thread.new { } end times.times do |num| a = tester.test_rb_str_new threads << Thread.new { } end ---------------------------------------- http://redmine.ruby-lang.org/issues/show/4272 ---------------------------------------- http://redmine.ruby-lang.org