Project

General

Profile

Actions

Bug #7955

closed

OpenSSL related crash on `bundle`

Added by Anonymous over 11 years ago. Updated over 11 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 2.0.0p0 (2013-02-24 revision 39474) [x86_64-darwin11.4.0]
Backport:
[ruby-core:52872]

Description

=begin
ruby-2.0.0-p0 crashes when I try to run 'bundle'. Looks OpenSSL related.

Running OpenSSL 1.0.1e.

ruby-2.0.0-p0 λ bundle
Fetching gem metadata from https://rubygems.org/..ruby(17400,0x7fff7218c960) malloc: *** mmap(size=4611686018427392000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
ruby(17400,0x7fff7218c960) malloc: *** mmap(size=4611686018427392000) failed (error code=12)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug
Unfortunately, a fatal error has occurred. Please see the Bundler 
troubleshooting documentation at http://bit.ly/bundler-issues. Thanks!

/Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/ssl.rb:101:in `value': failed to allocate memory (NoMemoryError)
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/ssl.rb:101:in `block in verify_certificate_identity'
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/ssl.rb:99:in `each'
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/ssl.rb:99:in `verify_certificate_identity'
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/site_ruby/2.0.0/openssl/ssl.rb:130:in `post_connection_check'
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/net/http.rb:919:in `connect'
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/net/http.rb:1448:in `begin_transport'
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/net/http.rb:1401:in `transport_request'
    from /Users/charlie/.rubies/ruby-2.0.0-p0/lib/ruby/2.0.0/net/http.rb:1375:in `request'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/vendor/net/http/persistent.rb:935:in `request'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/fetcher.rb:169:in `fetch'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/fetcher.rb:204:in `fetch_dependency_remote_specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/fetcher.rb:126:in `fetch_remote_specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/fetcher.rb:129:in `fetch_remote_specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/fetcher.rb:82:in `specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/source/rubygems.rb:234:in `block in remote_specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/source/rubygems.rb:234:in `each'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/source/rubygems.rb:234:in `remote_specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/source/rubygems.rb:162:in `fetch_specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/source/rubygems.rb:66:in `specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/lazy_specification.rb:52:in `__materialize__'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/spec_set.rb:86:in `block in materialize'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/spec_set.rb:83:in `map!'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/spec_set.rb:83:in `materialize'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/definition.rb:114:in `specs'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/definition.rb:109:in `resolve_remotely!'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/installer.rb:83:in `run'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/installer.rb:14:in `install'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/cli.rb:247:in `install'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/vendor/thor/task.rb:27:in `run'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/vendor/thor/invocation.rb:120:in `invoke_task'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/vendor/thor.rb:344:in `dispatch'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/vendor/thor/base.rb:434:in `start'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/bin/bundle:20:in `block in <top (required)>'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/lib/bundler/friendly_errors.rb:4:in `with_friendly_errors'
    from /Users/charlie/.gem/ruby/2.0.0/gems/bundler-1.3.0.pre.8/bin/bundle:20:in `<top (required)>'
    from /Users/charlie/.gem/ruby/2.0.0/bin/bundle:23:in `load'
    from /Users/charlie/.gem/ruby/2.0.0/bin/bundle:23:in `<main>'

=end

Updated by Anonymous over 11 years ago

  • Status changed from Open to Closed

Nevermind, fixed by uninstalling OpenSSL and reinstalling...

Actions

Also available in: Atom PDF

Like0
Like0