Skip to content

Instantly share code, notes, and snippets.

@pd
Created December 2, 2014 17:11
Show Gist options
  • Save pd/d28b8446b94c206fb01e to your computer and use it in GitHub Desktop.
Save pd/d28b8446b94c206fb01e to your computer and use it in GitHub Desktop.
rbx SEGV on a travis run of ruby-json-schema/json-schema PR #196
Using worker: worker-linux-docker-25563cc4.prod.travis-ci.org:travis-linux-8
Build system information
Build language: ruby
$ git clone --depth=50 git://github.com/ruby-json-schema/json-schema.git ruby-json-schema/json-schema
Cloning into 'ruby-json-schema/json-schema'...
remote: Counting objects: 2030, done.
remote: Compressing objects: 100% (797/797), done.
remote: Total 2030 (delta 1301), reused 1897 (delta 1187)
Receiving objects: 100% (2030/2030), 349.38 KiB | 0 bytes/s, done.
Resolving deltas: 100% (1301/1301), done.
Checking connectivity... done.
$ cd ruby-json-schema/json-schema
$ git fetch origin +refs/pull/196/merge:
remote: Counting objects: 31, done.
remote: Compressing objects: 100% (30/30), done.
remote: Total 31 (delta 20), reused 11 (delta 1)
Unpacking objects: 100% (31/31), done.
From git://github.com/ruby-json-schema/json-schema
* branch refs/pull/196/merge -> FETCH_HEAD
$ git checkout -qf FETCH_HEAD
$ git submodule init
Submodule 'test/test-suite' (git://github.com/json-schema/JSON-Schema-Test-Suite.git) registered for path 'test/test-suite'
$ git submodule update
Cloning into 'test/test-suite'...
remote: Counting objects: 727, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 727 (delta 2), reused 0 (delta 0)
Receiving objects: 100% (727/727), 105.18 KiB | 0 bytes/s, done.
Resolving deltas: 100% (359/359), done.
Checking connectivity... done.
Submodule path 'test/test-suite': checked out '9208016d04c1b6774d5a17e8b037161873414edb'
This job is running on container-based infrastructure, which does not allow use of 'sudo', setuid and setguid executables. See http://docs.travis-ci.com/user/workers/container-based-infrastructure/ for details.
$ rvm use rbx --install --binary --fuzzy
rbx is not installed - installing.
Searching for binary rubies, this might take some time.
Found remote file http://binaries.rubini.us/ubuntu/12.04/x86_64/rubinius.tar.bz2
Checking requirements for ubuntu.
Requirements installation successful.
rbx - #configure
rbx - #download
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 20.1M 100 20.1M 0 0 6980k 0 0:00:02 0:00:02 --:--:-- 7201k
No checksum for downloaded archive, recording checksum in user configuration.
rbx - #validate archive
rbx - #extract
rbx - #validate binary
rbx - #setup
rbx - #gemset created /home/travis/.rvm/gems/rbx@global
rbx - #importing gemset /home/travis/.rvm/gemsets/global.gems.....................................................
rbx - #generating global wrappers........
rbx - #uninstalling gem rubygems-bundler-1.4.4.
rbx - #gemset created /home/travis/.rvm/gems/rbx
rbx - #importing gemset /home/travis/.rvm/gemsets/default.gems....................
rbx - #generating default wrappers........
Using /home/travis/.rvm/gems/rbx
$ export BUNDLE_GEMFILE=$PWD/Gemfile
$ ruby --version
rubinius 2.4.0 (2.1.0 7a231cbf 2014-12-01 3.4 JI) [x86_64-linux-gnu]
$ rvm --version
rvm 1.25.31 (latest-minor) by Wayne E. Seguin <wayneeseguin@gmail.com>, Michal Papis <mpapis@gmail.com> [https://rvm.io/]
$ bundle --version
Bundler version 1.7.7
$ gem --version
2.4.4
$ bundle install --retry=3
Fetching gem metadata from https://rubygems.org/.........
Resolving dependencies...
Using rake 10.4.0
Installing addressable 2.3.6
Installing safe_yaml 1.0.4
Installing crack 0.4.2
Using json-schema 2.4.1 from source at .
Installing minitest 5.4.3
Installing webmock 1.20.4
Using bundler 1.7.7
Your bundle is complete!
Use `bundle show [gemname]` to see where a bundled gem is installed.
$ bundle exec rake
git submodule update
Run options: --seed 38392
# Running:
..................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................................
Finished in 18.012064s, 47.1906 runs/s, 105.1517 assertions/s.
850 runs, 1894 assertions, 0 failures, 0 errors, 0 skips
The Rubinius process is aborting with signal: SIGSEGV
--- begin system info ---
sysname: Linux
nodename: testing-worker-linux-docker-25563cc4-2266-linux-8
release: 3.13.0-36-generic
version: #63-Ubuntu SMP Wed Sep 3 21:30:07 UTC 2014
machine: x86_64
--- end system info ---
--- begin system backtrace ---
/home/travis/.rvm/rubies/rbx/bin/rbx() [0x6951fa]
/lib/x86_64-linux-gnu/libpthread.so.0(+0xfcb0) [0x7f15dc58ccb0]
/lib/x86_64-linux-gnu/libpthread.so.0(pthread_join+0x8b) [0x7f15dc58611b]
/home/travis/.rvm/rubies/rbx/bin/rbx(_ZN8rubinius16FinalizerHandler11stop_threadEPNS_5StateE+0x97) [0x740d57]
/home/travis/.rvm/rubies/rbx/bin/rbx(_ZN8rubinius16FinalizerHandler6finishEPNS_5StateERNS_11GCTokenImplE+0x1fa) [0x74105a]
/home/travis/.rvm/rubies/rbx/bin/rbx(_ZN8rubinius11Environment4haltEPNS_5StateE+0xc7) [0x5c5e27]
/home/travis/.rvm/rubies/rbx/bin/rbx(main+0xc6) [0x59a426]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xed) [0x7f15db7a676d]
/home/travis/.rvm/rubies/rbx/bin/rbx() [0x5a9765]
--- end system backtrace ---
--- begin Ruby backtraces ---
--- Thread 9 backtrace ---
Timeout.watch_channel in /home/travis/.rvm/rubies/rbx/gems/gems/rubysl-timeout-2.0.0/lib/rubysl/timeout/timeout.rb:90 (+27)
__block__ in /home/travis/.rvm/rubies/rbx/gems/gems/rubysl-timeout-2.0.0/lib/rubysl/timeout/timeout.rb:125 (+3)
Proc#call in kernel/bootstrap/proc.rb:0 (+216)
Thread#__run__ in kernel/bootstrap/thread.rb:391 (+123)
--- end Ruby backtraces ---
Segmentation fault (core dumped)
rake aborted!
Command failed with status (139): [ruby -I"lib:." -I"/home/travis/.rvm/gems/rbx@global/gems/rake-10.4.0/lib" "/home/travis/.rvm/gems/rbx@global/gems/rake-10.4.0/lib/rake/rake_test_loader.rb" "test/test_all_of_ref_schema.rb" "test/test_any_of_ref_schema.rb" "test/test_bad_schema_ref.rb" "test/test_common_test_suite.rb" "test/test_custom_format.rb" "test/test_definition.rb" "test/test_extended_schema.rb" "test/test_extends_and_additionalProperties.rb" "test/test_files_v3.rb" "test/test_fragment_resolution.rb" "test/test_fragment_validation_with_ref.rb" "test/test_full_validation.rb" "test/test_helper.rb" "test/test_initialize_data.rb" "test/test_jsonschema_draft1.rb" "test/test_jsonschema_draft2.rb" "test/test_jsonschema_draft3.rb" "test/test_jsonschema_draft4.rb" "test/test_list_option.rb" "test/test_merge_missing_values.rb" "test/test_minitems.rb" "test/test_one_of.rb" "test/test_ruby_schema.rb" "test/test_schema_type_attribute.rb" "test/test_schema_validation.rb" "test/test_stringify.rb" "test/test_uri_related.rb" ]
kernel/bootstrap/proc.rb:20:in `call'
kernel/bootstrap/proc.rb:20:in `call'
kernel/bootstrap/array.rb:76:in `each'
/home/travis/.rvm/rubies/rbx/gems/gems/rubysl-monitor-2.0.0/lib/rubysl/monitor/monitor.rb:211:in `synchronize (mon_synchronize)'
kernel/bootstrap/array.rb:76:in `each'
/home/travis/.rvm/rubies/rbx/gems/gems/rubysl-monitor-2.0.0/lib/rubysl/monitor/monitor.rb:211:in `synchronize (mon_synchronize)'
kernel/bootstrap/array.rb:76:in `each'
kernel/common/kernel.rb:497:in `load'
kernel/common/block_environment.rb:53:in `call_on_instance'
kernel/common/eval.rb:176:in `eval'
/home/travis/.rvm/gems/rbx/bin/ruby_executable_hooks:15:in `__script__'
kernel/delta/code_loader.rb:66:in `load_script'
kernel/delta/code_loader.rb:152:in `load_script'
kernel/loader.rb:645:in `script'
kernel/loader.rb:799:in `main'
Tasks: TOP => default => test
(See full trace by running task with --trace)
The command "bundle exec rake" exited with 1.
Done. Your build exited with 1.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment