Created
April 21, 2009 23:57
-
-
Save carllerche/99475 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [carllerche@carl-lerches-macbook-pro pipes (master)]$ macruby spec/spec_helper.rb | |
| /Users/carllerche/Developer/Source/pipes/lib/tubes/rubygems_hax.rb:5: [BUG] Segmentation fault | |
| MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.0, x86_64] | |
| -- stack frame ------------ | |
| 0000 (0xc08000060): 00000004 | |
| 0001 (0xc08000068): 00000000 | |
| 0002 (0xc08000070): 00000004 | |
| 0003 (0xc08000078): 00000000 | |
| 0004 (0xc08000080): 00000004 | |
| 0005 (0xc08000088): 00000000 | |
| 0006 (0xc08000090): 00000004 | |
| 0007 (0xc08000098): 8003cb2e0 | |
| 0008 (0xc080000a0): 00000004 | |
| 0009 (0xc080000a8): 00000000 | |
| 0010 (0xc080000b0): 00000004 | |
| 0011 (0xc080000b8): 00000000 | |
| 0012 (0xc080000c0): 00000004 | |
| 0013 (0xc080000c8): 00000000 | |
| 0014 (0xc080000d0): 00000004 | |
| 0015 (0xc080000d8): 80043b040 | |
| 0016 (0xc080000e0): 00000004 | |
| 0017 (0xc080000e8): 00000000 <- lfp <- dfp | |
| 0018 (0xc080000f0): 00000000 <- bp | |
| 0019 (0xc080000f8): 80043b040 | |
| -- control frame ---------- | |
| c:0007 p:0021 s:0020 b:0018 l:000017 d:000017 METHOD /Users/carllerche/Developer/Source/pipes/lib/tubes/rubygems_hax.rb:5 | |
| c:0006 p:0019 s:0014 b:0014 l:000013 d:000013 TOP /Users/carllerche/Developer/Source/pipes/lib/tubes.rb:2 | |
| c:0005 p:---- s:0012 b:0012 l:000011 d:000011 FINISH :set_encoding: | |
| c:0004 p:---- s:0010 b:0010 l:000009 d:000009 CFUNC :require | |
| c:0003 p:0092 s:0006 b:0006 l:000005 d:000005 TOP spec/spec_helper.rb:7 | |
| c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH :inherited: | |
| c:0001 p:0000 s:0002 b:0002 l:000001 d:000001 TOP | |
| --------------------------- | |
| DBG> : "/Users/carllerche/Developer/Source/pipes/lib/tubes/rubygems_hax.rb:5:in `require'" | |
| DBG> : "/Users/carllerche/Developer/Source/pipes/lib/tubes.rb:2:in `<top (required)>'" | |
| DBG> : "spec/spec_helper.rb:7:in `require'" | |
| DBG> : "spec/spec_helper.rb:7:in `<main>'" | |
| -- backtrace of native function call (Use addr2line) -- | |
| 0x10010f2c1 | |
| 0x100029334 | |
| 0x100029418 | |
| 0x1000c240d | |
| 0x7fff803033aa | |
| 0x100105318 | |
| 0x1001039ec | |
| 0x1001056e2 | |
| 0x10010596c | |
| 0x100030c96 | |
| 0x100032089 | |
| 0x10010ada7 | |
| 0x10010074f | |
| 0x1001056e2 | |
| 0x10010596c | |
| 0x10002cd32 | |
| 0x1000300f7 | |
| 0x100000f1f | |
| 0x100000ea4 | |
| 0x2 | |
| ------------------------------------------------------- | |
| Abort trap | |
| [carllerche@carl-lerches-macbook-pro pipes (master)]$ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| module Kernel | |
| def require(name) | |
| return true if name == "rubygems" | |
| super | |
| end | |
| def gem(*) | |
| true | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment