Skip to content

Instantly share code, notes, and snippets.

@kingsleyh
Created November 5, 2015 12:38
Show Gist options
  • Save kingsleyh/16ca9ea471b8a828f023 to your computer and use it in GitHub Desktop.
Save kingsleyh/16ca9ea471b8a828f023 to your computer and use it in GitHub Desktop.
 mv mytest.dylib mytest.bundle
 kings  ⋯  projects  druby  playing  irb -r ./mytest.bundle
/Users/kings/development/projects/druby/playing/mytest.bundle: [BUG] Segmentation fault at 0x00000000000418
ruby 2.2.1p85 (2015-02-26 revision 49769) [x86_64-darwin14]
-- 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:-17557903155116 s:0040 e:000039 TOP [FINISH]
c:0009 p:---- s:0038 e:000037 CFUNC :require
c:0008 p:0113 s:0034 e:000033 METHOD /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54
c:0007 p:0015 s:0024 e:000023 BLOCK /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb:280 [FINISH]
c:0006 p:---- s:0021 e:000020 CFUNC :each
c:0005 p:0013 s:0018 e:000017 METHOD /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb:278
c:0004 p:0063 s:0013 e:000012 METHOD /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb:20
c:0003 p:0039 s:0009 e:000008 METHOD /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb.rb:378
c:0002 p:0021 s:0004 E:001220 EVAL /Users/kings/.rvm/rubies/ruby-2.2.1/bin/irb:11 [FINISH]
c:0001 p:0000 s:0002 E:0025f0 TOP [FINISH]
-- Ruby level backtrace information ----------------------------------------
/Users/kings/.rvm/rubies/ruby-2.2.1/bin/irb:11:in `<main>'
/Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb.rb:378:in `start'
/Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb:20:in `setup'
/Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb:278:in `load_modules'
/Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb:278:in `each'
/Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb:280:in `block in load_modules'
/Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
/Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb:54:in `require'
-- Machine register context ------------------------------------------------
rax: 0x0000000000000030 rbx: 0x00000001085f3f60 rcx: 0x0000000000000000
rdx: 0xfffffffffffffff0 rdi: 0x0000000000000030 rsi: 0x0000000000000000
rbp: 0x00007fff58306990 rsp: 0x00007fff58306990 r8: 0x000000000000000b
r9: 0x00000000c0000000 r10: 0x00007fff9c72bd00 r11: 0x00007fff8ef6ae80
r12: 0x00007fff7a40a070 r13: 0x00007fc022406c00 r14: 0x0000000000000006
r15: 0x00007fff58306a40 rip: 0x000000010866db1f rfl: 0x0000000000010246
-- C level backtrace information -------------------------------------------
0 ruby 0x0000000107b9f3db rb_vm_bugreport + 155
1 ruby 0x0000000107a438d0 rb_bug_context + 480
2 ruby 0x0000000107b1bd43 sigsegv + 83
3 libsystem_platform.dylib 0x00007fff8ef6c52a _sigtramp + 26
4 libruby.2.0.0.dylib 0x000000010866db1f ruby_xmalloc + 17
5 ??? 0x00007fff583069b0 0x0 + 140734672955824
-- Other runtime information -----------------------------------------------
* Loaded script: irb
* Loaded features:
0 enumerator.so
1 rational.so
2 complex.so
3 encdb.so
4 trans/transdb.so
5 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/unicode_normalize.rb
6 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/x86_64-darwin14/rbconfig.rb
7 thread.rb
8 thread.so
9 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/compatibility.rb
10 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/defaults.rb
11 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/deprecate.rb
12 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/errors.rb
13 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/version.rb
14 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/requirement.rb
15 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/platform.rb
16 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/basic_specification.rb
17 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/stub_specification.rb
18 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/util/stringio.rb
19 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/specification.rb
20 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/exceptions.rb
21 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_gem.rb
22 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/monitor.rb
23 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/core_ext/kernel_require.rb
24 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems.rb
25 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/e2mmap.rb
26 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/init.rb
27 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/workspace.rb
28 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/inspector.rb
29 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/context.rb
30 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/extend-command.rb
31 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/output-method.rb
32 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/notifier.rb
33 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/slex.rb
34 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/ruby-token.rb
35 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/ruby-lex.rb
36 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/src_encoding.rb
37 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/magic-file.rb
38 readline.so
39 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/input-method.rb
40 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/locale.rb
41 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb.rb
42 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/path_support.rb
43 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/site_ruby/2.2.0/rubygems/dependency.rb
44 /Users/kings/.rvm/rubies/ruby-2.2.1/lib/ruby/2.2.0/irb/completion.rb
45 /Users/kings/.rvm/scripts/irbrc.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
Abort trap: 6
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment