Skip to content

Instantly share code, notes, and snippets.

@sshao
Last active August 29, 2015 14:06
Show Gist options
  • Select an option

  • Save sshao/d88a29464caa70be8cde to your computer and use it in GitHub Desktop.

Select an option

Save sshao/d88a29464caa70be8cde to your computer and use it in GitHub Desktop.
looks like same issue as https://github.com/rubinius/rubinius/issues/2920
trying to build rbx-1.3.3 (but same issue occurs when trying to build rbx master)
using chruby as switcher, ruby-2.1.2 installed via ruby-install
OSX 10.9.4, same issue with both gcc and clang
/Users/Sophia/.gem/ruby/2.1.2/gems/rubinius-melbourne-1.1.1.1/lib/rubinius/melbourne/melbourne.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-darwin13.0]
-- 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:0046 p:-17587328972668 s:0168 e:000167 TOP [FINISH]
c:0045 p:---- s:0166 e:000165 CFUNC :require
c:0044 p:0007 s:0162 e:000161 TOP /Users/Sophia/.gem/ruby/2.1.2/gems/rubinius-melbourne-1.1.1.1/lib/rubinius/melbourne.rb:1 [FINISH]
c:0043 p:---- s:0160 e:000159 CFUNC :require
c:0042 p:0009 s:0156 e:000155 BLOCK /Users/Sophia/source/rbx-1.3/rakelib/kernel.rake:229
c:0041 p:0094 s:0154 e:000153 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rubinius-toolset-2.2.0/lib/rubinius/toolset.rb:21
c:0040 p:0033 s:0149 e:000148 BLOCK /Users/Sophia/source/rbx-1.3/rakelib/kernel.rake:228 [FINISH]
c:0039 p:---- s:0147 e:000146 CFUNC :call
c:0038 p:0028 s:0142 e:000141 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:240 [FINISH]
c:0037 p:---- s:0139 e:000138 CFUNC :each
c:0036 p:0113 s:0136 e:000135 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:235
c:0035 p:0075 s:0132 e:000131 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:179
c:0034 p:0014 s:0130 e:000129 METHOD /Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211
c:0033 p:0025 s:0127 e:000126 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172
c:0032 p:0024 s:0120 e:000119 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:201 [FINISH]
c:0031 p:---- s:0116 e:000115 CFUNC :each
c:0030 p:0031 s:0113 e:000112 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199
c:0029 p:0062 s:0108 e:000107 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:178
c:0028 p:0014 s:0106 e:000105 METHOD /Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211
c:0027 p:0025 s:0103 e:000102 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172
c:0026 p:0024 s:0096 e:000095 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:201 [FINISH]
c:0025 p:---- s:0092 e:000091 CFUNC :each
c:0024 p:0031 s:0089 e:000088 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199
c:0023 p:0062 s:0084 e:000083 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:178
c:0022 p:0014 s:0082 e:000081 METHOD /Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211
c:0021 p:0025 s:0079 e:000078 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172
c:0020 p:0024 s:0072 e:000071 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:201 [FINISH]
c:0019 p:---- s:0068 e:000067 CFUNC :each
c:0018 p:0031 s:0065 e:000064 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199
c:0017 p:0062 s:0060 e:000059 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:178
c:0016 p:0014 s:0058 e:000057 METHOD /Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211
c:0015 p:0025 s:0055 e:000054 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172
c:0014 p:0036 s:0048 e:000047 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:165
c:0013 p:0033 s:0043 e:000042 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:150
c:0012 p:0009 s:0036 e:000035 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:106 [FINISH]
c:0011 p:---- s:0033 e:000032 CFUNC :each
c:0010 p:0039 s:0030 e:000029 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:106
c:0009 p:0025 s:0028 e:000027 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:115
c:0008 p:0007 s:0024 e:000023 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:100
c:0007 p:0019 s:0021 e:000020 BLOCK /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:78
c:0006 p:0006 s:0019 e:000018 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:176
c:0005 p:0007 s:0015 e:000014 METHOD /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:75
c:0004 p:0040 s:0012 e:000011 TOP /Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/bin/rake:33 [FINISH]
c:0003 p:---- s:0010 e:000009 CFUNC :load
c:0002 p:0119 s:0006 E:0023e8 EVAL /Users/Sophia/.gem/ruby/2.1.2/bin/rake:23 [FINISH]
c:0001 p:0000 s:0002 E:0022d8 TOP [FINISH]
/Users/Sophia/.gem/ruby/2.1.2/bin/rake:23:in `<main>'
/Users/Sophia/.gem/ruby/2.1.2/bin/rake:23:in `load'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/bin/rake:33:in `<top (required)>'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:75:in `run'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:176:in `standard_exception_handling'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:78:in `block in run'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:100:in `top_level'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:115:in `run_with_threads'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:106:in `block in top_level'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:106:in `each'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:106:in `block (2 levels) in top_level'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/application.rb:150:in `invoke_task'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:165:in `invoke'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199:in `each'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199:in `each'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:178:in `block in invoke_with_call_chain'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199:in `invoke_prerequisites'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:199:in `each'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:201:in `block in invoke_prerequisites'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:172:in `invoke_with_call_chain'
/Users/Sophia/.rubies/ruby-2.1.2/lib/ruby/2.1.0/monitor.rb:211:in `mon_synchronize'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:179:in `block in invoke_with_call_chain'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:235:in `execute'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:235:in `each'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:240:in `block in execute'
/Users/Sophia/.gem/ruby/2.1.2/gems/rake-10.3.2/lib/rake/task.rb:240:in `call'
/Users/Sophia/source/rbx-1.3/rakelib/kernel.rake:228:in `block (2 levels) in <top (required)>'
/Users/Sophia/.gem/ruby/2.1.2/gems/rubinius-toolset-2.2.0/lib/rubinius/toolset.rb:21:in `create'
/Users/Sophia/source/rbx-1.3/rakelib/kernel.rake:229:in `block (3 levels) in <top (required)>'
/Users/Sophia/source/rbx-1.3/rakelib/kernel.rake:229:in `require'
/Users/Sophia/.gem/ruby/2.1.2/gems/rubinius-melbourne-1.1.1.1/lib/rubinius/melbourne.rb:1:in `<top (required)>'
/Users/Sophia/.gem/ruby/2.1.2/gems/rubinius-melbourne-1.1.1.1/lib/rubinius/melbourne.rb:1:in `require'
-- C level backtrace information -------------------------------------------
0 ruby 0x0000000102f73a9b rb_vm_bugreport + 251
1 ruby 0x0000000102df9cd5 report_bug + 357
2 ruby 0x0000000102df9fff rb_bug + 207
3 ruby 0x0000000102ee6daf sigsegv + 207
4 libsystem_platform.dylib 0x00007fff9407a5aa _sigtramp + 26
5 libruby.2.0.0.dylib 0x00000001035f9568 ruby_xmalloc + 17
6 ??? 0x00007fff5ce49440 0x0 + 140734751872064
-- Other runtime information -----------------------------------------------
* Loaded script: /Users/Sophia/.gem/ruby/2.1.2/bin/rake
* Loaded features:
[NOTE]
You may have encountered a bug in the Ruby interpreter or extension libraries.
Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment