[MacRuby] #1261: Abort occurs when install the rubygems with specified version.

MacRuby ruby-noreply at macosforge.org
Thu May 5 13:14:50 PDT 2011


#1261: Abort occurs when install the rubygems with specified version.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------
 Abort occurs when specify the range of version with using '<'.

  * '''=''' : OK
 {{{
 $ sudo macgem install sinatra --version "= 1.1.0"
 WARNING:  You are installing a new version of /usr/bin/rackup.
 This file already exists with a different shebang, possibly from a
 different
 ruby implementation or version. This operation may break the script.
 Do you still wish to continue? [yn]  y
 WARNING:  You are installing a new version of /usr/bin/tilt.
 This file already exists with a different shebang, possibly from a
 different
 ruby implementation or version. This operation may break the script.
 Do you still wish to continue? [yn]  y
 Successfully installed rack-1.2.2
 Successfully installed tilt-1.3
 Successfully installed sinatra-1.1.0
 3 gems installed
 }}}

  * '''>''' : OK
 {{{
 $ sudo macgem install hotcocoa --version "> 0.5.0"
 Successfully installed hotcocoa-0.5.1
 1 gem installed
 }}}

  * '''<=''' : NG
 {{{
 $ sudo macgem install hotcocoa --version "<= 0.5.0"
 uncaught Objective-C/C++ exception...
 2011-05-06 04:32:19.421 macruby[9344:e07] *** Terminating app due to
 uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray
 insertObject:atIndex:]: attempt to insert nil'
 *** Call stack at first throw:
 (
         0   CoreFoundation                      0x00007fff81fbc7b4
 __exceptionPreprocess + 180
         1   libobjc.A.dylib                     0x00007fff8832f0f3
 objc_exception_throw + 45
         2   CoreFoundation                      0x00007fff81fbc5d7
 +[NSException raise:format:arguments:] + 103
         3   CoreFoundation                      0x00007fff81fbc564
 +[NSException raise:format:] + 148
         4   Foundation                          0x00007fff86b3ec92
 -[NSCFArray insertObject:atIndex:] + 119
         5   Foundation                          0x00007fff86b3e4b4
 -[NSUserDefaults(NSUserDefaults) initWithUser:] + 868
         6   Foundation                          0x00007fff86b3e103
 +[NSUserDefaults(NSUserDefaults) standardUserDefaults] + 106
         7   Foundation                          0x00007fff86b81ca8
 -[NSBundle _computeExecutablePath] + 171
         8   Foundation                          0x00007fff86b81794
 -[NSBundle loadAndReturnError:] + 429
         9   libmacruby.dylib                    0x00000001000e532b
 rb_require_framework + 1003
         10  libmacruby.dylib                    0x000000010013f754
 rb_vm_dispatch + 7828
         11  remote_fetcher.rbo                  0x00000001057d8e75 0x0 +
 4387081845
         12  remote_fetcher.rbo                  0x00000001057e0868
 MREP_B9054DD37B604BEC870F5EACA6F50987 + 29048
         13  libmacruby.dylib                    0x000000010013fc1b
 rb_vm_dispatch + 9051
         14  remote_fetcher.rbo                  0x00000001057d8e75 0x0 +
 4387081845
         15  remote_fetcher.rbo                  0x00000001057de515
 MREP_B9054DD37B604BEC870F5EACA6F50987 + 20005
         16  libmacruby.dylib                    0x000000010013fc49
 rb_vm_dispatch + 9097
         17  spec_fetcher.rbo                    0x00000001057ca705 0x0 +
 4387022597
         18  spec_fetcher.rbo                    0x00000001057d2164
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 29156
         19  libmacruby.dylib                    0x000000010013fc74
 rb_vm_dispatch + 9140
         20  spec_fetcher.rbo                    0x00000001057ca705 0x0 +
 4387022597
         21  spec_fetcher.rbo                    0x00000001057d1a6a
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 27370
         22  libmacruby.dylib                    0x0000000100141fd7
 rb_vm_yield_args + 1895
         23  libmacruby.dylib                    0x00000001000f44b8
 rb_yield + 40
         24  libmacruby.dylib                    0x00000001000056cd
 rary_reserve + 989
         25  libmacruby.dylib                    0x000000010013fcb4
 rb_vm_dispatch + 9204
         26  spec_fetcher.rbo                    0x00000001057ca705 0x0 +
 4387022597
         27  spec_fetcher.rbo                    0x00000001057d15d6
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 26198
         28  libmacruby.dylib                    0x000000010013fc74
 rb_vm_dispatch + 9140
         29  spec_fetcher.rbo                    0x00000001057ca705 0x0 +
 4387022597
         30  spec_fetcher.rbo                    0x00000001057cee1a
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 16026
         31  libmacruby.dylib                    0x000000010013fc1b
 rb_vm_dispatch + 9051
         32  spec_fetcher.rbo                    0x00000001057ca705 0x0 +
 4387022597
         33  spec_fetcher.rbo                    0x00000001057cd0a8
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 8488
         34  libmacruby.dylib                    0x000000010013fc1b
 rb_vm_dispatch + 9051
         35  dependency_installer.rbo            0x0000000105588b15 0x0 +
 4384656149
         36  dependency_installer.rbo            0x000000010558b9ad
 MREP_8F03926DECB84994BD5C19CC5FF06F84 + 10317
         37  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         38  dependency_installer.rbo            0x0000000105588b15 0x0 +
 4384656149
         39  dependency_installer.rbo            0x000000010558dcf1
 MREP_8F03926DECB84994BD5C19CC5FF06F84 + 19345
         40  libmacruby.dylib                    0x000000010013fc49
 rb_vm_dispatch + 9097
         41  dependency_installer.rbo            0x0000000105588b15 0x0 +
 4384656149
         42  dependency_installer.rbo            0x000000010558ee55
 MREP_8F03926DECB84994BD5C19CC5FF06F84 + 23797
         43  libmacruby.dylib                    0x000000010013fc74
 rb_vm_dispatch + 9140
         44  install_command.rbo                 0x00000001035befe5 0x0 +
 4351324133
         45  install_command.rbo                 0x00000001035c1cc6
 MREP_F8744BB45931486E8AEEF9D40B02BBEE + 10694
         46  libmacruby.dylib                    0x0000000100141fd7
 rb_vm_yield_args + 1895
         47  libmacruby.dylib                    0x00000001000f44b8
 rb_yield + 40
         48  libmacruby.dylib                    0x00000001000056cd
 rary_reserve + 989
         49  libmacruby.dylib                    0x000000010013fcb4
 rb_vm_dispatch + 9204
         50  install_command.rbo                 0x00000001035befe5 0x0 +
 4351324133
         51  install_command.rbo                 0x00000001035c0fdc
 MREP_F8744BB45931486E8AEEF9D40B02BBEE + 7388
         52  libmacruby.dylib                    0x000000010013fcb4
 rb_vm_dispatch + 9204
         53  command.rbo                         0x0000000102d5b405 0x0 +
 4342526981
         54  command.rbo                         0x0000000102d60838
 MREP_B6CE16B0547E4808A156D6B9C9EDC7D8 + 19640
         55  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         56  command_manager.rbo                 0x0000000100ff7a45 0x0 +
 4311710277
         57  command_manager.rbo                 0x0000000100ffa52d
 MREP_F10227D77AC64BA8A7754E450D2559CE + 9645
         58  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         59  command_manager.rbo                 0x0000000100ff7a45 0x0 +
 4311710277
         60  command_manager.rbo                 0x0000000100ff9a60
 MREP_F10227D77AC64BA8A7754E450D2559CE + 6880
         61  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         62  gem_runner.rbo                      0x0000000100feff45 0x0 +
 4311678789
         63  gem_runner.rbo                      0x0000000100ff1489
 MREP_6A7D224745B44FF28D64E2BC0C3FA69E + 4873
         64  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         65  ???                                 0x0000000100ed2a04 0x0 +
 4310510084
         66  ???                                 0x0000000100ed23ea 0x0 +
 4310508522
         67  libmacruby.dylib                    0x00000001001567d6
 rb_vm_run + 470
         68  libmacruby.dylib                    0x0000000100030f20
 ruby_run_node + 80
         69  macruby                             0x0000000100000cf8 main +
 152
         70  macruby                             0x0000000100000c54 start +
 52
         71  ???                                 0x0000000000000006 0x0 + 6
 )
 terminate called after throwing an instance of 'NSException'
 zsh: abort      sudo macgem install hotcocoa --version "<= 0.5.0"
 }}}

  * '''<''' : NG
 {{{
 $ sudo macgem install hotcocoa --version "< 0.5.0"
 uncaught Objective-C/C++ exception...
 2011-05-06 04:32:39.245 macruby[9346:e07] *** Terminating app due to
 uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSCFArray
 insertObject:atIndex:]: attempt to insert nil'
 *** Call stack at first throw:
 (
         0   CoreFoundation                      0x00007fff81fbc7b4
 __exceptionPreprocess + 180
         1   libobjc.A.dylib                     0x00007fff8832f0f3
 objc_exception_throw + 45
         2   CoreFoundation                      0x00007fff81fbc5d7
 +[NSException raise:format:arguments:] + 103
         3   CoreFoundation                      0x00007fff81fbc564
 +[NSException raise:format:] + 148
         4   Foundation                          0x00007fff86b3ec92
 -[NSCFArray insertObject:atIndex:] + 119
         5   Foundation                          0x00007fff86b3e4b4
 -[NSUserDefaults(NSUserDefaults) initWithUser:] + 868
         6   Foundation                          0x00007fff86b3e103
 +[NSUserDefaults(NSUserDefaults) standardUserDefaults] + 106
         7   Foundation                          0x00007fff86b81ca8
 -[NSBundle _computeExecutablePath] + 171
         8   Foundation                          0x00007fff86b81794
 -[NSBundle loadAndReturnError:] + 429
         9   libmacruby.dylib                    0x00000001000e532b
 rb_require_framework + 1003
         10  libmacruby.dylib                    0x000000010013f754
 rb_vm_dispatch + 7828
         11  remote_fetcher.rbo                  0x0000000105f51e75 0x0 +
 4394917493
         12  remote_fetcher.rbo                  0x0000000105f59868
 MREP_B9054DD37B604BEC870F5EACA6F50987 + 29048
         13  libmacruby.dylib                    0x000000010013fc1b
 rb_vm_dispatch + 9051
         14  remote_fetcher.rbo                  0x0000000105f51e75 0x0 +
 4394917493
         15  remote_fetcher.rbo                  0x0000000105f57515
 MREP_B9054DD37B604BEC870F5EACA6F50987 + 20005
         16  libmacruby.dylib                    0x000000010013fc49
 rb_vm_dispatch + 9097
         17  spec_fetcher.rbo                    0x0000000105f43705 0x0 +
 4394858245
         18  spec_fetcher.rbo                    0x0000000105f4b164
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 29156
         19  libmacruby.dylib                    0x000000010013fc74
 rb_vm_dispatch + 9140
         20  spec_fetcher.rbo                    0x0000000105f43705 0x0 +
 4394858245
         21  spec_fetcher.rbo                    0x0000000105f4aa6a
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 27370
         22  libmacruby.dylib                    0x0000000100141fd7
 rb_vm_yield_args + 1895
         23  libmacruby.dylib                    0x00000001000f44b8
 rb_yield + 40
         24  libmacruby.dylib                    0x00000001000056cd
 rary_reserve + 989
         25  libmacruby.dylib                    0x000000010013fcb4
 rb_vm_dispatch + 9204
         26  spec_fetcher.rbo                    0x0000000105f43705 0x0 +
 4394858245
         27  spec_fetcher.rbo                    0x0000000105f4a5d6
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 26198
         28  libmacruby.dylib                    0x000000010013fc74
 rb_vm_dispatch + 9140
         29  spec_fetcher.rbo                    0x0000000105f43705 0x0 +
 4394858245
         30  spec_fetcher.rbo                    0x0000000105f47e1a
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 16026
         31  libmacruby.dylib                    0x000000010013fc1b
 rb_vm_dispatch + 9051
         32  spec_fetcher.rbo                    0x0000000105f43705 0x0 +
 4394858245
         33  spec_fetcher.rbo                    0x0000000105f460a8
 MREP_902140EF328546FB830B3B8B0DB2D3A0 + 8488
         34  libmacruby.dylib                    0x000000010013fc1b
 rb_vm_dispatch + 9051
         35  dependency_installer.rbo            0x0000000105e01b15 0x0 +
 4393540373
         36  dependency_installer.rbo            0x0000000105e049ad
 MREP_8F03926DECB84994BD5C19CC5FF06F84 + 10317
         37  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         38  dependency_installer.rbo            0x0000000105e01b15 0x0 +
 4393540373
         39  dependency_installer.rbo            0x0000000105e06cf1
 MREP_8F03926DECB84994BD5C19CC5FF06F84 + 19345
         40  libmacruby.dylib                    0x000000010013fc49
 rb_vm_dispatch + 9097
         41  dependency_installer.rbo            0x0000000105e01b15 0x0 +
 4393540373
         42  dependency_installer.rbo            0x0000000105e07e55
 MREP_8F03926DECB84994BD5C19CC5FF06F84 + 23797
         43  libmacruby.dylib                    0x000000010013fc74
 rb_vm_dispatch + 9140
         44  install_command.rbo                 0x00000001035befe5 0x0 +
 4351324133
         45  install_command.rbo                 0x00000001035c1cc6
 MREP_F8744BB45931486E8AEEF9D40B02BBEE + 10694
         46  libmacruby.dylib                    0x0000000100141fd7
 rb_vm_yield_args + 1895
         47  libmacruby.dylib                    0x00000001000f44b8
 rb_yield + 40
         48  libmacruby.dylib                    0x00000001000056cd
 rary_reserve + 989
         49  libmacruby.dylib                    0x000000010013fcb4
 rb_vm_dispatch + 9204
         50  install_command.rbo                 0x00000001035befe5 0x0 +
 4351324133
         51  install_command.rbo                 0x00000001035c0fdc
 MREP_F8744BB45931486E8AEEF9D40B02BBEE + 7388
         52  libmacruby.dylib                    0x000000010013fcb4
 rb_vm_dispatch + 9204
         53  command.rbo                         0x0000000102d65405 0x0 +
 4342567941
         54  command.rbo                         0x0000000102d6a838
 MREP_B6CE16B0547E4808A156D6B9C9EDC7D8 + 19640
         55  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         56  command_manager.rbo                 0x0000000102d5ba45 0x0 +
 4342528581
         57  command_manager.rbo                 0x0000000102d5e52d
 MREP_F10227D77AC64BA8A7754E450D2559CE + 9645
         58  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         59  command_manager.rbo                 0x0000000102d5ba45 0x0 +
 4342528581
         60  command_manager.rbo                 0x0000000102d5da60
 MREP_F10227D77AC64BA8A7754E450D2559CE + 6880
         61  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         62  gem_runner.rbo                      0x0000000100ff0f45 0x0 +
 4311682885
         63  gem_runner.rbo                      0x0000000100ff2489
 MREP_6A7D224745B44FF28D64E2BC0C3FA69E + 4873
         64  libmacruby.dylib                    0x000000010013fc99
 rb_vm_dispatch + 9177
         65  ???                                 0x0000000100ed2a04 0x0 +
 4310510084
         66  ???                                 0x0000000100ed23ea 0x0 +
 4310508522
         67  libmacruby.dylib                    0x00000001001567d6
 rb_vm_run + 470
         68  libmacruby.dylib                    0x0000000100030f20
 ruby_run_node + 80
         69  macruby                             0x0000000100000cf8 main +
 152
         70  macruby                             0x0000000100000c54 start +
 52
 )
 terminate called after throwing an instance of 'NSException'
 zsh: abort      sudo macgem install hotcocoa --version "< 0.5.0"
 }}}

-- 
Ticket URL: <http://www.macruby.org/trac/ticket/1261>
MacRuby <http://macruby.org/>



More information about the macruby-tickets mailing list