Bug #3810: Digest::Base.new causes segmentation fault
http://redmine.ruby-lang.org/issues/show/3810

Author: Hiroshi NAKAMURA
Status: Open, Priority: Normal
ruby -v: ruby 1.9.3dev (2010-09-09 trunk 29202) [x86_64-linux]

0% ruby -rdigest -ve Digest::Base.new
ruby 1.9.3dev (2010-09-09 trunk 29202) [x86_64-linux]
/usr/local/lib/ruby/1.9.1/digest.rb:14: warning: assigned but unused variable - e
-e:1: [BUG] Segmentation fault
ruby 1.9.3dev (2010-09-09 trunk 29202) [x86_64-linux]

-- control frame ----------
c:0005 p:---- s:0011 b:0011 l:000010 d:000010 CFUNC  :(null)
c:0004 p:---- s:0009 b:0009 l:000008 d:000008 CFUNC  :new
c:0003 p:0017 s:0006 b:0006 l:0018a8 d:0026e8 EVAL   -e:1
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:0018a8 d:0018a8 TOP   
---------------------------
-- Ruby level backtrace information ----------------------------------------
-e:1:in `<main>'
-e:1:in `new'
zsh: segmentation fault  ruby -rdigest -ve Digest::Base.new


Expected:

0% ruby187 -rdigest -ve Digest::Base.new
ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
-e:1:in `new': Digest::Base is an abstract class (NotImplementedError)
	from -e:1


----------------------------------------
http://redmine.ruby-lang.org