From: Brian Ford Date: 2012-01-21T15:23:46+09:00 Subject: [ruby-core:42205] [ruby-trunk - Bug #5921] SEGV caused by Encoding.compatible? "abc", :abc Issue #5921 has been updated by Brian Ford. It also SEGVs on trunk. ---------------------------------------- Bug #5921: SEGV caused by Encoding.compatible? "abc", :abc https://bugs.ruby-lang.org/issues/5921 Author: Brian Ford Status: Open Priority: Normal Assignee: Category: Target version: ruby -v: ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0] Calling Encoding.compatible? with a String and Symbol causes a SEGV. Calling with two Symbols, a Symbol and Regexp, or a String and Regexp works fine. sasha:source brian$ ruby -v -e 'p Encoding.compatible? "abc", :abc' ruby 1.9.3p0 (2011-10-30 revision 33570) [x86_64-darwin10.8.0] -e:1: [BUG] Segmentation fault Full report: https://gist.github.com/1651681 Thanks, Brian -- http://bugs.ruby-lang.org/