Bug #13749
Updated by nobu (Nobuyoshi Nakada) almost 7 years ago
Hi, I am using a Mac OSX 10.6.8 (Snow Leopard). I am trying to use vagrant along with virtual box. I have ruby v.1.9.2 and jruby installed. However, after typing Vagrant into the command line I get the following error/crash (see the large report at bottome and attached logs). I think it may be because ruby 1.9.2 works in conjunction with Java 8 but I only have Java 6. I have tried installing an earlier version of ruby using rvm install 1.8.2 etc. but get another error message which is as follows: ``` Macintosh:~ monoorani$ rvm install 1.8.6 Searching for binary rubies, this might take some time. No binary rubies available for: osx/10.6/i386/ruby-1.8.6-p420. It is not possible to build movable binaries for rubies 1.8-1.9.2, but you can do it for your system only. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for osx. Installing requirements for osx. Updating system..... Installing required packages: coreutils, libyaml, readline, libksba, openssl@1.1.......... Error running 'requirements_osx_brew_libs_install coreutils libyaml readline libksba openssl@1.1', showing last 15 lines of /Users/monoorani/.rvm/log/1500227033_ruby-1.8.6-p420/package_install_coreutils_libyaml_readline_libksba_openssl@1.1.log On OSX 10.6 instead of command line tools install: https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.6.pkg' ++ rvm_pretty_print stdout ++ case "${rvm_pretty_print_flag:=auto}" in ++ case "${TERM:-dumb}" in ++ case "$1" in ++ [[ -t 1 ]] ++ return 1 ++ printf %b ' On OSX 10.6 instead of command line tools install: https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.6.pkg\n' On OSX 10.6 instead of command line tools install: https://github.com/downloads/kennethreitz/osx-gcc-installer/GCC-10.6.pkg ++ return 1 Requirements installation failed with status: 1. /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logger.rb:43: [BUG] Segmentation fault at 0x00000000000000 ``` ruby 2.2.5p319 (2016-04-26 revision 54774) [x86_64-darwin13] -- Crash Report log information -------------------------------------------- See Crash Report log file under the one of following: * ~/Library/Logs/CrashReporter * /Library/Logs/CrashReporter * ~/Library/Logs/DiagnosticReports * /Library/Logs/DiagnosticReports for more details. -- Control frame information ----------------------------------------------- c:0010 p:---- s:0058 e:000057 CFUNC :split c:0009 p:0017 s:0054 e:000053 METHOD /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logger.rb:43 c:0008 p:0064 s:0048 e:000047 METHOD /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logger.rb:30 [FINISH] c:0007 p:---- s:0041 e:000040 CFUNC :new c:0006 p:0324 s:0037 e:000036 TOP /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant.rb:61 [FINISH] c:0005 p:---- s:0029 e:000028 CFUNC :require c:0004 p:0083 s:0025 e:000024 RESCUE /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128 c:0003 p:0390 s:0022 e:000021 METHOD /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39 c:0002 p:0218 s:0012 E:0025c0 EVAL /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/bin/vagrant:62 [FINISH] c:0001 p:0000 s:0002 E:000530 TOP [FINISH] -- Ruby level backtrace information ---------------------------------------- /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/bin/vagrant:62:in `<main>' /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require' /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require' /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require' /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant.rb:61:in `<top (required)>' /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant.rb:61:in `new' /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logger.rb:30:in `initialize' /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logger.rb:43:in `validate_name' /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logger.rb:43:in `split' -- Machine register context ------------------------------------------------ rax: 0x0000000000000001 rbx: 0x000000010041e580 rcx: 0x0000000000000002 rdx: 0x00000001011016d8 rdi: 0x00000001011720b8 rsi: 0x000000000000000f rbp: 0x00007fff5fbf9220 rsp: 0x00007fff5fbf91e8 r8: 0x000000010040ae40 r9: 0x000000010034bf30 r10: 0x00007fff8ab2a330 r11: 0x0000000000000000 r12: 0x0000000000000000 r13: 0x0000000000000000 r14: 0x0000000101867d70 r15: 0x0000000000000002 rip: 0x0000000000000000 rfl: 0x0000000000010206 -- C level backtrace information ------------------------------------------- 0 libruby.2.2.0.dylib 0x0000000100273679 rb_print_backtrace + 25 1 libruby.2.2.0.dylib 0x00000001002737ac rb_vm_bugreport + 172 2 libruby.2.2.0.dylib 0x000000010006688b rb_bug_context + 459 3 libruby.2.2.0.dylib 0x00000001001a7e7d sigsegv + 93 4 libSystem.B.dylib 0x00007fff800b61ba _sigtramp + 26 5 ??? 0x0000000000000000 0x0 + 0 6 libruby.2.2.0.dylib 0x000000010015e55d rb_memsearch_ss + 45 7 libruby.2.2.0.dylib 0x000000010015e41e rb_memsearch + 334 8 libruby.2.2.0.dylib 0x00000001001ceb3e rb_str_split_m + 2718 9 libruby.2.2.0.dylib 0x000000010026b5aa call_cfunc_m1 + 42 10 libruby.2.2.0.dylib 0x0000000100271021 vm_call_cfunc_with_frame + 1617 11 libruby.2.2.0.dylib 0x000000010026f755 vm_call_cfunc + 133 12 libruby.2.2.0.dylib 0x000000010026ed98 vm_call_method + 264 13 libruby.2.2.0.dylib 0x0000000100271615 vm_call_general + 37 14 libruby.2.2.0.dylib 0x0000000100249c96 vm_exec_core + 20550 15 libruby.2.2.0.dylib 0x000000010025bc50 vm_exec + 192 16 libruby.2.2.0.dylib 0x0000000100269637 vm_call0_body + 439 17 libruby.2.2.0.dylib 0x00000001002557e1 vm_call0 + 177 18 libruby.2.2.0.dylib 0x0000000100268aae rb_call0 + 174 19 libruby.2.2.0.dylib 0x0000000100256888 rb_call + 72 20 libruby.2.2.0.dylib 0x0000000100253741 rb_funcallv + 49 21 libruby.2.2.0.dylib 0x0000000100072697 rb_obj_call_init + 103 22 libruby.2.2.0.dylib 0x0000000100107f50 rb_class_new_instance + 48 23 libruby.2.2.0.dylib 0x000000010026b5aa call_cfunc_m1 + 42 24 libruby.2.2.0.dylib 0x0000000100271021 vm_call_cfunc_with_frame + 1617 25 libruby.2.2.0.dylib 0x000000010026f755 vm_call_cfunc + 133 26 libruby.2.2.0.dylib 0x000000010026ed98 vm_call_method + 264 27 libruby.2.2.0.dylib 0x0000000100271615 vm_call_general + 37 28 libruby.2.2.0.dylib 0x0000000100249c96 vm_exec_core + 20550 29 libruby.2.2.0.dylib 0x000000010025bc50 vm_exec + 192 30 libruby.2.2.0.dylib 0x000000010025ba6b rb_iseq_eval + 43 31 libruby.2.2.0.dylib 0x00000001000767a2 rb_load_internal0 + 514 32 libruby.2.2.0.dylib 0x0000000100076398 rb_load_internal + 40 33 libruby.2.2.0.dylib 0x0000000100076cf7 rb_require_internal + 871 34 libruby.2.2.0.dylib 0x00000001000768bb rb_require_safe + 27 35 libruby.2.2.0.dylib 0x0000000100076898 rb_f_require + 40 36 libruby.2.2.0.dylib 0x000000010026b60a call_cfunc_1 + 42 37 libruby.2.2.0.dylib 0x0000000100271021 vm_call_cfunc_with_frame + 1617 38 libruby.2.2.0.dylib 0x000000010026f755 vm_call_cfunc + 133 39 libruby.2.2.0.dylib 0x0000000100249c96 vm_exec_core + 20550 40 libruby.2.2.0.dylib 0x000000010025bc50 vm_exec + 192 41 libruby.2.2.0.dylib 0x000000010025cdeb rb_iseq_eval_main + 43 42 libruby.2.2.0.dylib 0x000000010006ff8f ruby_exec_internal + 255 43 libruby.2.2.0.dylib 0x000000010006fe81 ruby_exec_node + 33 44 libruby.2.2.0.dylib 0x000000010006fe45 ruby_run_node + 69 45 ruby 0x0000000100000edf main + 95 -- Other runtime information ----------------------------------------------- * Loaded script: /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/bin/vagrant * Loaded features: 0 enumerator.so 1 rational.so 2 complex.so 3 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/enc/encdb.bundle 4 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/enc/trans/transdb.bundle 5 /opt/vagrant/embedded/lib/ruby/2.2.0/unicode_normalize.rb 6 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/rbconfig.rb 7 thread.rb 8 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/thread.bundle 9 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/compatibility.rb 10 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/defaults.rb 11 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/deprecate.rb 12 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/errors.rb 13 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/version.rb 14 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/requirement.rb 15 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/platform.rb 16 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/basic_specification.rb 17 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/stub_specification.rb 18 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/util/stringio.rb 19 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/specification.rb 20 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/exceptions.rb 21 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_gem.rb 22 /opt/vagrant/embedded/lib/ruby/2.2.0/monitor.rb 23 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb 24 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems.rb 25 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/path_support.rb 26 /opt/vagrant/embedded/lib/ruby/2.2.0/rubygems/dependency.rb 27 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/version.rb 28 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/config.rb 29 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/base.rb 30 /opt/vagrant/embedded/lib/ruby/2.2.0/singleton.rb 31 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/repository.rb 32 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logevent.rb 33 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/loggerfactory.rb 34 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/staticlogger.rb 35 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/logger.rb 36 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/outputter/outputterfactory.rb 37 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/formatter/formatter.rb 38 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/outputter/outputter.rb 39 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/outputter/iooutputter.rb 40 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/outputter/fileoutputter.rb 41 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/outputter/consoleoutputters.rb 42 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/outputter/staticoutputter.rb 43 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/etc.bundle 44 /opt/vagrant/embedded/lib/ruby/2.2.0/fileutils.rb 45 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/outputter/rollingfileoutputter.rb 46 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/GDC.rb 47 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/MDC.rb 48 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/NDC.rb 49 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r/formatter/patternformatter.rb 50 /opt/vagrant/embedded/gems/gems/log4r-1.1.10/lib/log4r.rb 51 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/pathname.bundle 52 /opt/vagrant/embedded/lib/ruby/2.2.0/pathname.rb 53 /opt/vagrant/embedded/lib/ruby/2.2.0/delegate.rb 54 /opt/vagrant/embedded/lib/ruby/2.2.0/tmpdir.rb 55 /opt/vagrant/embedded/lib/ruby/2.2.0/tempfile.rb 56 /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/shared_helpers.rb 57 /opt/vagrant/embedded/lib/ruby/2.2.0/json/version.rb 58 /opt/vagrant/embedded/lib/ruby/2.2.0/ostruct.rb 59 /opt/vagrant/embedded/lib/ruby/2.2.0/json/generic_object.rb 60 /opt/vagrant/embedded/lib/ruby/2.2.0/json/common.rb 61 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/enc/utf_16be.bundle 62 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/enc/utf_16le.bundle 63 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/enc/utf_32be.bundle 64 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/enc/utf_32le.bundle 65 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/json/ext/parser.bundle 66 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/json/ext/generator.bundle 67 /opt/vagrant/embedded/lib/ruby/2.2.0/json/ext.rb 68 /opt/vagrant/embedded/lib/ruby/2.2.0/json.rb 69 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/stringio.bundle 70 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess/errors.rb 71 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess/abstract_process.rb 72 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess/abstract_io.rb 73 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/fcntl.bundle 74 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess/unix/io.rb 75 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess/unix/process.rb 76 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess/unix/fork_exec_process.rb 77 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess/unix.rb 78 /opt/vagrant/embedded/gems/gems/childprocess-0.5.9/lib/childprocess.rb 79 /opt/vagrant/embedded/gems/gems/i18n-0.8.0/lib/i18n/version.rb 80 /opt/vagrant/embedded/lib/ruby/2.2.0/cgi/core.rb 81 /opt/vagrant/embedded/lib/ruby/2.2.0/cgi/util.rb 82 /opt/vagrant/embedded/lib/ruby/2.2.0/cgi/cookie.rb 83 /opt/vagrant/embedded/lib/ruby/2.2.0/cgi.rb 84 /opt/vagrant/embedded/gems/gems/i18n-0.8.0/lib/i18n/exceptions.rb 85 /opt/vagrant/embedded/gems/gems/i18n-0.8.0/lib/i18n/interpolate/ruby.rb 86 /opt/vagrant/embedded/gems/gems/i18n-0.8.0/lib/i18n.rb 87 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/digest.bundle 88 /opt/vagrant/embedded/lib/ruby/2.2.0/digest.rb 89 /opt/vagrant/embedded/lib/ruby/2.2.0/x86_64-darwin13/openssl.bundle 90 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl/bn.rb 91 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl/cipher.rb 92 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl/config.rb 93 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl/digest.rb 94 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl/x509.rb 95 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl/buffering.rb 96 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl/ssl.rb 97 /opt/vagrant/embedded/lib/ruby/2.2.0/openssl.rb 98 /opt/vagrant/embedded/gems/gems/vagrant-1.9.3/lib/vagrant/version.rb [NOTE] You may have encountered a bug in the Ruby interpreter or extension libraries. Bug reports are welcome. Don't forget to include the above Crash Report log file. For details: http://www.ruby-lang.org/bugreport.html