From: Motohiro KOSAKI Date: 2011-07-21T13:57:49+09:00 Subject: [ruby-dev:44178] [Ruby 1.9 - Bug #5062] double free in OpenSSL::Engine Issue #5062 has been updated by Motohiro KOSAKI. Priority changed from Normal to High ---------------------------------------- Bug #5062: double free in OpenSSL::Engine http://redmine.ruby-lang.org/issues/5062 Author: Ippei Obayashi Status: Assigned Priority: High Assignee: Martin Bosslet Category: ext Target version: 1.9.3 ruby -v: ruby 1.9.4dev (2011-07-20 trunk 32586) [x86_64-linux] 以下のコードを実行すると終了時にglibcがdouble freeを検出して停止します。 require 'openssl' OpenSSL::Engine.load OpenSSL::Engine.engines OpenSSL::Engine.engines 停止時の出力を添付します。 ENGINE_get_nextが前に返したengineのref countを下げるのが原因のようで、添付したパッチでとりあえず直ります。 -- http://redmine.ruby-lang.org