This issue was solved with changeset r42974.
Koichi, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
include/ruby/ruby.h: make Symbol objects frozen.
[Feature #8906]
I want to freeze this good day, too.
test/ruby/test_eval.rb: catch up this change.
test/ruby/test_symbol.rb: add a test to check frozen symbols.