Skip to content

Instantly share code, notes, and snippets.

@brixen
Created January 23, 2018 23:27
Show Gist options
  • Select an option

  • Save brixen/76f2b656b59b87e8b6845f52119823f3 to your computer and use it in GitHub Desktop.

Select an option

Save brixen/76f2b656b59b87e8b6845f52119823f3 to your computer and use it in GitHub Desktop.
$ lldb -f /source/rubinius/rubinius/build/rubinius/bin/rbx -- -Xmemory.collection.log=yes /source/rubinius/rubinius/build/rubinius/gems/bin/bundle install --jobs=40
(lldb) target create "/source/rubinius/rubinius/build/rubinius/bin/rbx"
Current executable set to '/source/rubinius/rubinius/build/rubinius/bin/rbx' (x86_64).
(lldb) settings set -- target.run-args "-Xmemory.collection.log=yes" "/source/rubinius/rubinius/build/rubinius/gems/bin/bundle" "install" "--jobs=40"
(lldb) r
Process 94715 launched: '/source/rubinius/rubinius/build/rubinius/bin/rbx' (x86_64)
Fetching gem metadata from https://rubygems.org/.........
Using rake 12.3.0
Using minitest 5.11.1
Fetching thread_safe 0.3.6
Fetching builder 3.2.3
Fetching concurrent-ruby 1.0.5
Fetching erubi 1.7.0
Fetching mini_portile2 2.3.0
Fetching crass 1.0.3
Fetching nio4r 2.2.0
Fetching mini_mime 1.0.0
Fetching websocket-extensions 0.1.3
Fetching arel 8.0.0
Using bundler 1.16.1
Fetching execjs 2.7.0
Fetching sqlite3 1.3.13
Fetching rack 2.0.3
Fetching turbolinks-source 5.1.0
Fetching coffee-script-source 1.12.2
Fetching method_source 0.9.0
Fetching thor 0.20.0
Fetching multi_json 1.13.1
Fetching tilt 2.0.8
Fetching ffi 1.9.18
Fetching puma 3.11.2
Fetching psych 2.2.4
Fetching rb-fsevent 0.10.2
Installing method_source 0.9.0
StoreContext initialization failure
StoreContext initialization failure
Retrying download gem from https://rubygems.org/ due to error (2/4): OpenSSL::SSL::SSLError SSL_connect returned=1 errno=0 state=error: certificate verify failed
Installing multi_json 1.13.1
Installing mini_mime 1.0.0
Installing builder 3.2.3
Installing thor 0.20.0
Installing arel 8.0.0
Installing thread_safe 0.3.6
Installing turbolinks-source 5.1.0
Installing tilt 2.0.8
Installing rb-fsevent 0.10.2
Installing erubi 1.7.0
Installing coffee-script-source 1.12.2
Installing websocket-extensions 0.1.3
Installing sqlite3 1.3.13 with native extensions
Installing psych 2.2.4 with native extensions
Installing nio4r 2.2.0 with native extensions
Installing crass 1.0.3
Installing concurrent-ruby 1.0.5
Installing rack 2.0.3
Installing execjs 2.7.0
Installing puma 3.11.2 with native extensions
Installing ffi 1.9.18 with native extensions
bash: no job control in this shell
--- ERROR REPORT TEMPLATE -------------------------------------------------------
# Error Report
## Questions
Please fill out answers to these questions, it'll help us figure out
why things are going wrong.
- **What did you do?**
I ran the command `/source/rubinius/rubinius/build/rubinius/gems/bin/bundle install --jobs=40`
- **What did you expect to happen?**
I expected Bundler to...
- **What happened instead?**
Instead, what happened was...
- **Have you tried any solutions posted on similar issues in our issue tracker, stack overflow, or google?**
I tried...
- **Have you read our issues document, https://github.com/bundler/bundler/blob/master/doc/contributing/ISSUES.md?**
...
## Backtrace
```
InterpreterError: unknown C++ exception thrown
core/kernel.rb:438:in `initialize_dup'
core/type.rb:719:in `object_initialize_dup'
core/alpha.rb:202:in `dup'
/source/rubinius/rubinius/codedb/source/rubygems/specification.rb:1984:in `for_cache'
/source/rubinius/rubinius/codedb/source/rubygems/specification.rb:2596:in `to_ruby_for_cache'
/source/rubinius/rubinius/codedb/source/rubygems/installer.rb:599:in `ensure_loadable_spec'
/source/rubinius/rubinius/codedb/source/rubygems/installer.rb:834:in `pre_install_checks'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/rubygems_gem_installer.rb:18:in `pre_install_checks'
/source/rubinius/rubinius/codedb/source/rubygems/installer.rb:281:in `install'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:143:in `install'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/rubygems_integration.rb:217:in `preserve_paths'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/source/rubygems.rb:142:in `install'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/installer/gem_installer.rb:56:in `install'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/installer/gem_installer.rb:16:in `install_from_spec'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/installer/parallel_installer.rb:162:in `do_install'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/installer/parallel_installer.rb:153:in `worker_pool'
core/proc.rb:20:in `call'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/worker.rb:64:in `apply_func'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/worker.rb:59:in `process_queue'
core/kernel.rb:586:in `loop'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/worker.rb:56:in `process_queue'
/source/rubinius/rubinius/build/rubinius/gems/gems/bundler-1.16.1/lib/bundler/worker.rb:90:in `create_threads'
core/proc.rb:20:in `call'
```
## Environment
```
Bundler 1.16.1
Platforms ruby, x86_64-darwin-17, x86_64-rubinius-3.93
Ruby 2.3.1p0 (2018-01-22 revision 0) [x86_64-darwin17.3.0]
Full Path /source/rubinius/rubinius/bin/rbx
Config Dir /source/rubinius/rubinius/etc
RubyGems 2.7.4
Gem Home /Users/brianshirai/.gem/rbx/3.93
Gem Path /Users/brianshirai/.gem/rbx/3.93:/source/rubinius/rubinius/build/rubinius/gems
User Path /Users/brianshirai/.gem/rbx/2.3
Bin Dir /Users/brianshirai/.gem/rbx/3.93/bin
OpenSSL
Compiled OpenSSL 1.0.2m 2 Nov 2017
Loaded OpenSSL 1.0.2m 2 Nov 2017
Cert File /usr/local/etc/openssl/cert.pem
Cert Dir /usr/local/etc/openssl/certs
Tools
Git 2.14.1
RVM not installed
rbenv not installed
chruby 0.3.9.1
Gem.ruby /source/rubinius/rubinius/bin/rbx
bundle #! /usr/bin/env rbx
```
## Bundler Build Metadata
```
Built At 2017-12-21
Git SHA 0034ef341
Released Version true
```
## Bundler settings
```
gem.test
Set for the current user (/Users/brianshirai/.bundle/config): false
gem.mit
Set for the current user (/Users/brianshirai/.bundle/config): false
gem.coc
Set for the current user (/Users/brianshirai/.bundle/config): true
build.eventmachine
Set for the current user (/Users/brianshirai/.bundle/config): "--with-cppflags=-I/usr/local/opt/openssl/include"
jobs
Set for your local app (/source/repros/test_rails_5.1.4/.bundle/config): "40"
```
## Gemfile
### Gemfile
```ruby
source 'https://rubygems.org'
git_source(:github) do |repo_name|
repo_name = "#{repo_name}/#{repo_name}" unless repo_name.include?("/")
"https://github.com/#{repo_name}.git"
end
# Bundle edge Rails instead: gem 'rails', github: 'rails/rails'
gem 'rails', '~> 5.1.4'
# Use sqlite3 as the database for Active Record
gem 'sqlite3'
# Use Puma as the app server
gem 'puma', '~> 3.7'
# Use SCSS for stylesheets
gem 'sass-rails', '~> 5.0'
# Use Uglifier as compressor for JavaScript assets
gem 'uglifier', '>= 1.3.0'
# See https://github.com/rails/execjs#readme for more supported runtimes
# gem 'therubyracer', platforms: :ruby
# Use CoffeeScript for .coffee assets and views
gem 'coffee-rails', '~> 4.2'
# Turbolinks makes navigating your web application faster. Read more: https://github.com/turbolinks/turbolinks
gem 'turbolinks', '~> 5'
# Build JSON APIs with ease. Read more: https://github.com/rails/jbuilder
gem 'jbuilder', '~> 2.5'
# Use Psych as the YAML engine, instead of Syck, so serialized data can be read safely from different rubies (see http://git.io/uuLVag)
gem 'psych', '~> 2.0', platforms: :rbx
# Use Redis adapter to run Action Cable in production
# gem 'redis', '~> 3.0'
# Use ActiveModel has_secure_password
# gem 'bcrypt', '~> 3.1.7'
# Use Capistrano for deployment
# gem 'capistrano-rails', group: :development
# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]
```
### Gemfile.lock
```
GEM
remote: https://rubygems.org/
specs:
actioncable (5.1.4)
actionpack (= 5.1.4)
nio4r (~> 2.0)
websocket-driver (~> 0.6.1)
actionmailer (5.1.4)
actionpack (= 5.1.4)
actionview (= 5.1.4)
activejob (= 5.1.4)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 2.0)
actionpack (5.1.4)
actionview (= 5.1.4)
activesupport (= 5.1.4)
rack (~> 2.0)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (5.1.4)
activesupport (= 5.1.4)
builder (~> 3.1)
erubi (~> 1.4)
rails-dom-testing (~> 2.0)
rails-html-sanitizer (~> 1.0, >= 1.0.3)
activejob (5.1.4)
activesupport (= 5.1.4)
globalid (>= 0.3.6)
activemodel (5.1.4)
activesupport (= 5.1.4)
activerecord (5.1.4)
activemodel (= 5.1.4)
activesupport (= 5.1.4)
arel (~> 8.0)
activesupport (5.1.4)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (~> 0.7)
minitest (~> 5.1)
tzinfo (~> 1.1)
arel (8.0.0)
builder (3.2.3)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
coffee-script (2.4.1)
coffee-script-source
execjs
coffee-script-source (1.12.2)
concurrent-ruby (1.0.5)
crass (1.0.3)
erubi (1.7.0)
execjs (2.7.0)
ffi (1.9.18)
globalid (0.4.1)
activesupport (>= 4.2.0)
i18n (0.9.1)
concurrent-ruby (~> 1.0)
jbuilder (2.7.0)
activesupport (>= 4.2.0)
multi_json (>= 1.2)
loofah (2.1.1)
crass (~> 1.0.2)
nokogiri (>= 1.5.9)
mail (2.7.0)
mini_mime (>= 0.1.1)
method_source (0.9.0)
mini_mime (1.0.0)
mini_portile2 (2.3.0)
minitest (5.11.1)
multi_json (1.13.1)
nio4r (2.2.0)
nokogiri (1.8.1)
mini_portile2 (~> 2.3.0)
psych (2.2.4)
puma (3.11.2)
rack (2.0.3)
rack-test (0.8.2)
rack (>= 1.0, < 3)
rails (5.1.4)
actioncable (= 5.1.4)
actionmailer (= 5.1.4)
actionpack (= 5.1.4)
actionview (= 5.1.4)
activejob (= 5.1.4)
activemodel (= 5.1.4)
activerecord (= 5.1.4)
activesupport (= 5.1.4)
bundler (>= 1.3.0)
railties (= 5.1.4)
sprockets-rails (>= 2.0.0)
rails-dom-testing (2.0.3)
activesupport (>= 4.2.0)
nokogiri (>= 1.6)
rails-html-sanitizer (1.0.3)
loofah (~> 2.0)
railties (5.1.4)
actionpack (= 5.1.4)
activesupport (= 5.1.4)
method_source
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (12.3.0)
rb-fsevent (0.10.2)
rb-inotify (0.9.10)
ffi (>= 0.5.0, < 2)
sass (3.5.5)
sass-listen (~> 4.0.0)
sass-listen (4.0.0)
rb-fsevent (~> 0.9, >= 0.9.4)
rb-inotify (~> 0.9, >= 0.9.7)
sass-rails (5.0.7)
railties (>= 4.0.0, < 6)
sass (~> 3.1)
sprockets (>= 2.8, < 4.0)
sprockets-rails (>= 2.0, < 4.0)
tilt (>= 1.1, < 3)
sprockets (3.7.1)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
sprockets-rails (3.2.1)
actionpack (>= 4.0)
activesupport (>= 4.0)
sprockets (>= 3.0.0)
sqlite3 (1.3.13)
thor (0.20.0)
thread_safe (0.3.6)
tilt (2.0.8)
turbolinks (5.1.0)
turbolinks-source (~> 5.1)
turbolinks-source (5.1.0)
tzinfo (1.2.4)
thread_safe (~> 0.1)
uglifier (4.1.3)
execjs (>= 0.3.0, < 3)
websocket-driver (0.6.5)
websocket-extensions (>= 0.1.0)
websocket-extensions (0.1.3)
PLATFORMS
ruby
DEPENDENCIES
coffee-rails (~> 4.2)
jbuilder (~> 2.5)
psych (~> 2.0)
puma (~> 3.7)
rails (~> 5.1.4)
sass-rails (~> 5.0)
sqlite3
turbolinks (~> 5)
tzinfo-data
uglifier (>= 1.3.0)
BUNDLED WITH
1.16.1
```
--- TEMPLATE END ----------------------------------------------------------------
Unfortunately, an unexpected error occurred, and Bundler cannot continue.
First, try this link to see if there are any existing issue reports for this error:
https://github.com/bundler/bundler/search?q=unknown+C%2B%2B+exception+thrown&type=Issues
If there aren't any reports for this error yet, please create copy and paste the report template above into a new issue. Don't forget to anonymize any private data! The new issue form is located at:
https://github.com/bundler/bundler/issues/new
Process 94715 exited with status = 1 (0x00000001)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment