Bug #6227

[mingw] openssl backport causing test error

Added by Jon Forums about 2 years ago. Updated about 1 year ago.

[ruby-core:43950]
Status:Assigned
Priority:Normal
Assignee:Martin Bosslet
Category:ext
Target version:next minor
ruby -v:ruby 1.9.3p172 (2012-03-30 revision 35179) [i386-mingw32] Backport:

Description

On Win7 32bit built with MinGW GCC 4.6.2 and the RubyInstaller build recipes, the following error occurs:

sh-3.1$ ruby --version
ruby 1.9.3p172 (2012-03-30 revision 35179) [i386-mingw32]

sh-3.1$ ruby -ropenssl -e 'puts OpenSSL::OPENSSL_VERSION'
OpenSSL 1.0.0h 12 Mar 2012

sh-3.1$ make test-all TESTS='openssl fiddle psych zlib io json mkmf pathname stringio erb
fileutils ruby/testio.rb ruby/testiom17n.rb ruby/testfile.rb'

1) Error:
testmultibytereadwrite(OpenSSL::TestSSL):
OpenSSL::SSL::SSLError: SSL
read:: internal error
c:/projects/rubyinstaller-git/sandbox/ruby19build/.ext/common/openssl/buffering.rb:53:in sysread'
c:/projects/rubyinstaller-git/sandbox/ruby19_build/.ext/common/openssl/buffering.rb:53:in
fill
rbuff'
c:/projects/rubyinstaller-git/sandbox/ruby19build/.ext/common/openssl/buffering.rb:94:in read'
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/test_ssl.rb:407:in
block (2 levels) in test
multibytereadwrite'
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/utils.rb:235:in call'
c:/Users/Jon/Documents/RubyDev/ruby-git/test/openssl/utils.rb:235:in
block (2 levels) in server_loop'


Related issues

Related to ruby-trunk - Bug #6168: Segfault in OpenSSL bindings Assigned 03/18/2012

History

#1 Updated by Yusuke Endoh almost 2 years ago

  • Status changed from Open to Assigned

#2 Updated by Yui NARUSE about 1 year ago

  • Target version changed from 1.9.3 to next minor

Also available in: Atom PDF