Project

General

Profile

Actions

Bug #1541

closed

mingw ssl: Errno::ENOTSOCK: An operation was attempted on something that is not a socket.

Added by rogerdpack (Roger Pack) over 15 years ago. Updated over 13 years ago.

Status:
Closed
Target version:
ruby -v:
ruby 1.9.2dev (2009-05-25 trunk 23567) [i386-mingw32]
Backport:
[ruby-core:23639]

Description

=begin
If you delete test_io.rb and test_exception.rb and re-run make test-all for mingw, it completes!
Yea!

Here are a few bug reports from said run.
mingw32, gcc 3.4.5, TRUNK.

overall result: 6050 tests, 2510241 assertions, 40 failures, 89 errors, 7 skips

the first 9 look related:

  1. Error:
    test_client_auth(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  2. Error:
    test_client_session(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  3. Error:
    test_connect_and_close(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  4. Error:
    test_parallel(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  5. Error:
    test_post_connection_check(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  6. Error:
    test_read_and_write(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  7. Error:
    test_server_session(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  8. Error:
    test_ssl_read_nonblock(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

  9. Error:
    test_starttls(OpenSSL::TestSSL):
    Errno::ENOTSOCK: An operation was attempted on something that is not a socket.
    c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept' c:/dev/downloads/ruby_trunk/.ext/common/openssl/ssl-internal.rb:160:in accept'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:79:in block in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in loop'
    c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:76:in server_loop' c:/dev/downloads/ruby_trunk/test/openssl/test_ssl.rb:124:in block in start_server'

Thanks much for your help with any of these. Just wanted to bring them to public knowledge, as well as the next ones.
-=r
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0