[MacRuby-devel] [MacRuby] #243: memory leaks and segfault upon macgem install

MacRuby ruby-noreply at macosforge.org
Wed Apr 15 11:25:37 PDT 2009


#243: memory leaks and segfault upon macgem install
------------------------------------+---------------------------------------
 Reporter:  leebutterman@…          |        Owner:  lsansonetti@…        
     Type:  defect                  |       Status:  closed               
 Priority:  critical                |    Milestone:                       
Component:  MacRuby                 |   Resolution:  duplicate            
 Keywords:                          |  
------------------------------------+---------------------------------------
Changes (by mattaimonetti@…):

  * status:  new => closed
  * resolution:  => duplicate


Comment:

 Hi thanks for reporting the problem you had. You might want to ask your
 questions directly to the mailing list but here is a quick overview of the
 current situation (macruby 0.4).

 macgem doesn't work properly and won't install your gems. C extensions are
 not supported. MacRuby can't compile iPhone apps written in Ruby.
 If you want to use pure Ruby libraries unpack the libraries in your
 project and load them manually.

 - Matt

 Replying to [ticket:243 leebutterman@…]:
 > I just downloaded MacRuby 0.4 on OS 10.5.6, launched the bundle, opened
 up a terminal, tried to install a few packages, and my CPUs revved up to
 150%, and segfaulted.
 >
 > My ultimate goal in using MacRuby is to make an iPhone app in Ruby, not
 Objective-C.  When, if ever, would this be an acceptable and recommended
 use of MacRuby?
 >
 > $ sudo macgem install andand activerecord builder thin sinatra rack
 rack-cache hpricot activesupport
 > Password:
 > Successfully installed andand-1.3.1
 > ERROR:  Error installing activerecord:
 >       activerecord requires  (, runtime)
 > Successfully installed builder-2.1.2
 > Building native extensions.  This could take a while...
 > ERROR:  Error installing thin:
 >       ERROR: Failed to build gem native extension.
 >
 > /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/bin/macruby
 extconf.rb install andand activerecord builder thin sinatra rack rack-
 cache hpricot activesupport
 > checking for rb_trap_immediate in ruby.h,rubysig.h... *** extconf.rb
 failed ***
 > Could not create Makefile due to some reason, probably lack of
 > necessary libraries and/or headers.  Check the mkmf.log file for more
 > details.  You may need configuration options.
 >
 > Provided configuration options:
 >       --with-opt-dir
 >       --without-opt-dir
 >       --with-opt-include
 >       --without-opt-include=${opt-dir}/include
 >       --with-opt-lib
 >       --without-opt-lib=${opt-dir}/lib
 >       --with-make-prog
 >       --without-make-prog
 >       --srcdir=.
 >       --curdir
 >
 --ruby=/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/bin/macruby
 >
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:362:in
 `try_do': The complier failed to generate an executable file.
 (RuntimeError)
 > You have to install development tools first.
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:425:in
 `try_compile'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:543:in
 `try_var'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:791:in
 `block in have_var'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:668:in
 `block in checking_for'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:274:in
 `block (2 levels) in postpone'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:248:in
 `open'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:274:in
 `block in postpone'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:248:in
 `open'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:270:in
 `postpone'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:667:in
 `checking_for'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:790:in
 `have_var'
 >       from extconf.rb:16:in `<main>'
 >
 >
 > Gem files will remain installed in
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/Gems/1.9.1/gems/eventmachine-0.12.6
 for inspection.
 > Results logged to
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/Gems/1.9.1/gems/eventmachine-0.12.6/ext/gem_make.out
 > ERROR:  Error installing sinatra:
 >       sinatra requires  (, runtime)
 > Successfully installed rack-0.9.1
 > ERROR:  Error installing rack-cache:
 >       rack-cache requires  (, runtime)
 > Building native extensions.  This could take a while...
 > ERROR:  Error installing hpricot:
 >       ERROR: Failed to build gem native extension.
 >
 > /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/bin/macruby
 extconf.rb install andand activerecord builder thin sinatra rack rack-
 cache hpricot activesupport
 > checking for main() in -lc... *** extconf.rb failed ***
 > Could not create Makefile due to some reason, probably lack of
 > necessary libraries and/or headers.  Check the mkmf.log file for more
 > details.  You may need configuration options.
 >
 > Provided configuration options:
 >       --with-opt-dir
 >       --without-opt-dir
 >       --with-opt-include
 >       --without-opt-include=${opt-dir}/include
 >       --with-opt-lib
 >       --without-opt-lib=${opt-dir}/lib
 >       --with-make-prog
 >       --without-make-prog
 >       --srcdir=.
 >       --curdir
 >
 --ruby=/Library/Frameworks/MacRuby.framework/Versions/0.4/usr/bin/macruby
 >       --with-hpricot_scan-dir
 >       --without-hpricot_scan-dir
 >       --with-hpricot_scan-include
 >       --without-hpricot_scan-include=${hpricot_scan-dir}/include
 >       --with-hpricot_scan-lib
 >       --without-hpricot_scan-lib=${hpricot_scan-dir}/lib
 >       --with-clib
 >       --without-clib
 >
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:362:in
 `try_do': The complier failed to generate an executable file.
 (RuntimeError)
 > You have to install development tools first.
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:415:in
 `try_link0'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:419:in
 `try_link'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:527:in
 `try_func'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:723:in
 `block in have_library'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:668:in
 `block in checking_for'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:274:in
 `block (2 levels) in postpone'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:248:in
 `open'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:274:in
 `block in postpone'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:248:in
 `open'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:270:in
 `postpone'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:667:in
 `checking_for'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/mkmf.rb:718:in
 `have_library'
 >       from extconf.rb:4:in `<main>'
 >
 >
 > Gem files will remain installed in
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/Gems/1.9.1/gems/hpricot-0.8.1
 for inspection.
 > Results logged to
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/Gems/1.9.1/gems/hpricot-0.8.1/ext/hpricot_scan/gem_make.out
 > Successfully installed activesupport-2.3.2
 > 4 gems installed
 > Installing ri documentation for andand-1.3.1...
 > Installing ri documentation for builder-2.1.2...
 > Installing ri documentation for rack-0.9.1...
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x803537680, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x806a3dbc0, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x8047c3c80, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x80968ebe0, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x805761060, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x807099c20, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x804eec5a0, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x8058a7740, has non-zero refcount = 1
 > Installing ri documentation for activesupport-2.3.2...
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x803d51700, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x804f88660, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x803f99e20, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x8038e63a0, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x80727eee0, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x8058c0f20, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x804ed1300, has non-zero refcount = 1
 > macruby(5853,0x1037a4000) malloc: free_garbage: garbage ptr =
 0x8052a55e0, has non-zero refcount = 1
 >
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup/lines.rb:51:
 [BUG] Segmentation fault
 > MacRuby version 0.4 (ruby 1.9.1) [universal-darwin9.5, x86_64]
 >
 > -- stack frame ------------
 > 0000 (0xc08000060): 00000004
 > 0001 (0xc08000068): 00000000
 > 0002 (0xc08000070): 00000004
 > 0003 (0xc08000078): 00000000
 > 0004 (0xc08000080): 80052ce80
 > 0005 (0xc08000088): 80052a600
 > 0006 (0xc08000090): 00000004
 > 0007 (0xc08000098): 00000004
 > 0008 (0xc080000a0): 00000000
 > 0009 (0xc080000a8): 8004d1380
 > 0010 (0xc080000b0): 80052a600
 > 0011 (0xc080000b8): 80052a800
 > 0012 (0xc080000c0): 80049e2a0
 > 0013 (0xc080000c8): 00000004
 > 0014 (0xc080000d0): 00000004
 > 0015 (0xc080000d8): 00000000
 > 0016 (0xc080000e0): 80049e2a0
 > 0017 (0xc080000e8): 8007250a0
 > 0018 (0xc080000f0): 00000004
 > 0019 (0xc080000f8): 00000004
 > 0020 (0xc08000100): 00000000
 > 0021 (0xc08000108): 00000004
 > 0022 (0xc08000110): 8007250a0
 > 0023 (0xc08000118): 8004caf60
 > 0024 (0xc08000120): 8007c1340
 > 0025 (0xc08000128): 8004caf20
 > 0026 (0xc08000130): 00000000
 > 0027 (0xc08000138): 8007c1340
 > 0028 (0xc08000140): 8007ca060
 > 0029 (0xc08000148): 00000004
 > 0030 (0xc08000150): 00000000
 > 0031 (0xc08000158): 00000004
 > 0032 (0xc08000160): 800466460
 > 0033 (0xc08000168): 80091f5e0
 > 0034 (0xc08000170): 00000003
 > 0035 (0xc08000178): 800cfd5c0
 > 0036 (0xc08000180): 00000004
 > 0037 (0xc08000188): 00000000
 > 0038 (0xc08000190): 800466460
 > 0039 (0xc08000198): 00000004
 > 0040 (0xc080001a0): c080ffd08
 > 0041 (0xc080001a8): 803a73600
 > 0042 (0xc080001b0): 00000004
 > 0043 (0xc080001b8): c08000188 (= 37)
 > 0044 (0xc080001c0): 80567a460
 > 0045 (0xc080001c8): 00000004
 > 0046 (0xc080001d0): 00000000
 > 0047 (0xc080001d8): 00000004
 > 0048 (0xc080001e0): 8060b1800
 > 0049 (0xc080001e8): 00000004
 > 0050 (0xc080001f0): 00000000
 > 0051 (0xc080001f8): 00000004
 > 0052 (0xc08000200): 8060399c0
 > 0053 (0xc08000208): 805485820
 > 0054 (0xc08000210): 8060378c0
 > 0055 (0xc08000218): 00000004
 > 0056 (0xc08000220): 00000004
 > 0057 (0xc08000228): 00000004
 > 0058 (0xc08000230): 00000004
 > 0059 (0xc08000238): 00000000
 > 0060 (0xc08000240): 805485820
 > 0061 (0xc08000248): 8060399c0
 > 0062 (0xc08000250): 8047a3f40
 > 0063 (0xc08000258): 808988900
 > 0064 (0xc08000260): 10c8e20e0
 > 0065 (0xc08000268): 809e19b60
 > 0066 (0xc08000270): 00000004
 > 0067 (0xc08000278): 00000000
 > 0068 (0xc08000280): 8091955e0
 > 0069 (0xc08000288): 808988900
 > 0070 (0xc08000290): 00000004
 > 0071 (0xc08000298): 00000000
 > 0072 (0xc080002a0): 809e156c0
 > 0073 (0xc080002a8): 00000004
 > 0074 (0xc080002b0): c080ff988
 > 0075 (0xc080002b8): 807fbcae0
 > 0076 (0xc080002c0): 00000004
 > 0077 (0xc080002c8): c08000298 (= 71)
 > 0078 (0xc080002d0): 00000004
 > 0079 (0xc080002d8): 807fbcae0
 > 0080 (0xc080002e0): 00000004
 > 0081 (0xc080002e8): 00000000
 > 0082 (0xc080002f0): 807fbcae0
 > 0083 (0xc080002f8): 00000004
 > 0084 (0xc08000300): c080ff7c8
 > 0085 (0xc08000308): 80b0a5c60
 > 0086 (0xc08000310): 00000004
 > 0087 (0xc08000318): c080ff758
 > 0088 (0xc08000320): 806f6e060
 > 0089 (0xc08000328): 00000004
 > 0090 (0xc08000330): c08000300 (= 84)
 > 0091 (0xc08000338): 806f6e060
 > 0092 (0xc08000340): 00000004
 > 0093 (0xc08000348): c080002e8 (= 81)
 > 0094 (0xc08000350): 00000004
 > 0095 (0xc08000358): 806f6e060
 > 0096 (0xc08000360): 00000004
 > 0097 (0xc08000368): 00000000
 > 0098 (0xc08000370): 806f6e060
 > 0099 (0xc08000378): 00000004
 > 0100 (0xc08000380): c080ff528
 > 0101 (0xc08000388): 80ab22ea0
 > 0102 (0xc08000390): 00000004
 > 0103 (0xc08000398): c080ff4b8
 > 0104 (0xc080003a0): 8006be080
 > 0105 (0xc080003a8): 00000004
 > 0106 (0xc080003b0): c08000380 (= 100)
 > 0107 (0xc080003b8): 8006be080
 > 0108 (0xc080003c0): 00000004
 > 0109 (0xc080003c8): c08000368 (= 97)
 > 0110 (0xc080003d0): 00000004
 > 0111 (0xc080003d8): 8006be080
 > 0112 (0xc080003e0): 00000004
 > 0113 (0xc080003e8): 00000000
 > 0114 (0xc080003f0): 00000004
 > 0115 (0xc080003f8): 8006be080
 > 0116 (0xc08000400): 8086fcc80
 > 0117 (0xc08000408): 80a449800
 > 0118 (0xc08000410): 80a443180
 > 0119 (0xc08000418): 00000004
 > 0120 (0xc08000420): 00000000
 > 0121 (0xc08000428): 80a449800
 > 0122 (0xc08000430): 00000004
 > 0123 (0xc08000438): c080ff218
 > 0124 (0xc08000440): 8056419a0
 > 0125 (0xc08000448): 00000004
 > 0126 (0xc08000450): c08000420 (= 120)
 > 0127 (0xc08000458): 00000004
 > 0128 (0xc08000460): 8086fcc80
 > 0129 (0xc08000468): 8056419a0
 > 0130 (0xc08000470): 803ec69e0
 > 0131 (0xc08000478): 00000004
 > 0132 (0xc08000480): 00000000
 > 0133 (0xc08000488): 803ec69e0
 > 0134 (0xc08000490): 00000004
 > 0135 (0xc08000498): 804cddfc0
 > 0136 (0xc080004a0): 805572600
 > 0137 (0xc080004a8): 80668be40
 > 0138 (0xc080004b0): 00000000
 > 0139 (0xc080004b8): 809188f80
 > 0140 (0xc080004c0): 805572600
 > 0141 (0xc080004c8): 80916e8a0
 > 0142 (0xc080004d0): 00000004
 > 0143 (0xc080004d8): 00000004
 > 0144 (0xc080004e0): 80cd4b9a0
 > 0145 (0xc080004e8): 00000000
 > 0146 (0xc080004f0): 80d93c940
 > 0147 (0xc080004f8): 00000004
 > 0148 (0xc08000500): c080fef78
 > 0149 (0xc08000508): 80c7c4920
 > 0150 (0xc08000510): 00000004
 > 0151 (0xc08000518): c080004e8 (= 145)
 > 0152 (0xc08000520): 10c861d90
 > 0153 (0xc08000528): 80c7c4920
 > 0154 (0xc08000530): 00000004
 > 0155 (0xc08000538): 00000000
 > 0156 (0xc08000540): 00000004
 > 0157 (0xc08000548): 00000000
 > 0158 (0xc08000550): 803e54240
 > 0159 (0xc08000558): 80c7c4920
 > 0160 (0xc08000560): 80bc713e0
 > 0161 (0xc08000568): 00000000
 > 0162 (0xc08000570): 80bcc4220
 > 0163 (0xc08000578): 805180a80
 > 0164 (0xc08000580): 80bc71420
 > 0165 (0xc08000588): 00000004
 > 0166 (0xc08000590): 00000000 <- lfp <- dfp
 > -- control frame ----------
 > c:0046 p:---- s:0167 b:0167 l:000166 d:000166 CFUNC  :sub!
 > c:0045 p:0037 s:0162 b:0162 l:000161 d:000161 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup/lines.rb:51
 > c:0044 p:---- s:0158 b:0158 l:000157 d:000157 FINISH :(null)
 > c:0043 p:---- s:0156 b:0156 l:000155 d:000155 CFUNC  :new
 > c:0042 p:0016 s:0152 b:0152 l:000145 d:000151 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup.rb:139
 > c:0041 p:---- s:0151 b:0151 l:000150 d:000150 FINISH :each
 > c:0040 p:---- s:0149 b:0149 l:000148 d:000148 CFUNC  :map
 > c:0039 p:0016 s:0146 b:0146 l:000145 d:000145 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup.rb:139
 > c:0038 p:0057 s:0139 b:0139 l:000138 d:000138 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:178
 > c:0037 p:0138 s:0134 b:0133 l:000132 d:000132 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:107
 > c:0036 p:0013 s:0127 b:0127 l:000120 d:000126 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:88
 > c:0035 p:---- s:0126 b:0126 l:000125 d:000125 FINISH :default:
 > c:0034 p:---- s:0124 b:0124 l:000123 d:000123 CFUNC  :each
 > c:0033 p:0281 s:0121 b:0121 l:000120 d:000120 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:87
 > c:0032 p:0009 s:0114 b:0114 l:000113 d:000113 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:42
 > c:0031 p:0010 s:0110 b:0110 l:000097 d:000109 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:46
 > c:0030 p:0006 s:0107 b:0107 l:000100 d:000106 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/code_objects.rb:449
 > c:0029 p:---- s:0106 b:0106 l:000105 d:000105 FINISH :default:
 > c:0028 p:---- s:0104 b:0104 l:000103 d:000103 CFUNC  :each_value
 > c:0027 p:0017 s:0101 b:0101 l:000100 d:000100 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/code_objects.rb:449
 > c:0026 p:0018 s:0098 b:0098 l:000097 d:000097 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:45
 > c:0025 p:0010 s:0094 b:0094 l:000081 d:000093 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:46
 > c:0024 p:0006 s:0091 b:0091 l:000084 d:000090 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/code_objects.rb:448
 > c:0023 p:---- s:0090 b:0090 l:000089 d:000089 FINISH :default:
 > c:0022 p:---- s:0088 b:0088 l:000087 d:000087 CFUNC  :each_value
 > c:0021 p:0008 s:0085 b:0085 l:000084 d:000084 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/code_objects.rb:448
 > c:0020 p:0018 s:0082 b:0082 l:000081 d:000081 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:45
 > c:0019 p:0010 s:0078 b:0078 l:000071 d:000077 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:37
 > c:0018 p:---- s:0077 b:0077 l:000076 d:000076 FINISH :values
 > c:0017 p:---- s:0075 b:0075 l:000074 d:000074 CFUNC  :each
 > c:0016 p:0021 s:0072 b:0072 l:000071 d:000071 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:36
 > c:0015 p:0352 s:0068 b:0068 l:000067 d:000067 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/rdoc.rb:279
 > c:0014 p:0145 s:0060 b:0060 l:000059 d:000059 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/doc_manager.rb:161
 > c:0013 p:0071 s:0051 b:0051 l:000050 d:000050 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/doc_manager.rb:142
 > c:0012 p:0025 s:0047 b:0047 l:000046 d:000046 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/doc_manager.rb:99
 > c:0011 p:0034 s:0044 b:0044 l:000037 d:000043 BLOCK
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:120
 > c:0010 p:---- s:0043 b:0043 l:000042 d:000042 FINISH :select
 > c:0009 p:---- s:0041 b:0041 l:000040 d:000040 CFUNC  :each
 > c:0008 p:0294 s:0038 b:0038 l:000037 d:000037 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/commands/install_command.rb:119
 > c:0007 p:0059 s:0031 b:0031 l:000030 d:000030 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/command.rb:136
 > c:0006 p:0176 s:0027 b:0027 l:000026 d:000026 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:105
 > c:0005 p:0009 s:0021 b:0021 l:000020 d:000020 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:75
 > c:0004 p:0077 s:0016 b:0016 l:000015 d:000015 METHOD
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/gem_runner.rb:39
 > c:0003 p:0189 s:0009 b:0009 l:000008 d:000008 TOP
 /usr/local/bin/macgem:24
 > 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
 > ---------------------------
 >
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup/lines.rb:51:in
 `sub!': stack level too deep (SystemStackError)
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup/lines.rb:51:in
 `initialize'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup.rb:139:in
 `new'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup.rb:139:in
 `block in convert'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup.rb:139:in
 `map'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/markup.rb:139:in
 `convert'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:178:in
 `markup'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:107:in
 `generate_method_info'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rdoc/generator/ri.rb:88:in
 `block in generate_class_info'
 >        ... 24 levels...
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:105:in
 `process_args'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/command_manager.rb:75:in
 `run'
 >       from
 /Library/Frameworks/MacRuby.framework/Versions/0.4/usr/lib/ruby/1.9.1/rubygems/gem_runner.rb:39:in
 `run'
 >       from /usr/local/bin/macgem:24:in `<main>'
 > SEGV recieved in SEGV handler
 >

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/243#comment:1>
MacRuby <http://macruby.org/>



More information about the MacRuby-devel mailing list