[MacRuby] #858: "rake spec:ci" crashes.

MacRuby ruby-noreply at macosforge.org
Thu Aug 19 01:19:09 PDT 2010


#858: "rake spec:ci" crashes.
----------------------------------+-----------------------------------------
 Reporter:  watson1978@…          |       Owner:  lsansonetti@…        
     Type:  defect                |      Status:  new                  
 Priority:  blocker               |   Milestone:                       
Component:  MacRuby               |    Keywords:                       
----------------------------------+-----------------------------------------

Comment(by watson1978@…):

 The content of Crash Log has changed X([[BR]]
 All logs were same content though tried several times as following.
 {{{
 $ opts="-f s" rake spec:ci
 --- snip ---

 Array#-
 - creates an array minus any items from other array
 - removes multiple items on the lhs equal to one on the rhs
 - properly handles recursive arrays
 - tries to convert the passed arguments to Arrays using #to_ary
 - raises a TypeError if the argument cannot be coerced to an Array by
 calling #to_ary
 - does not return subclass instance for Array subclasses
 - does not call to_ary on array subclasses
 - acts as if using an  intermediate hash to collect values
 - is not destructive

 Array#*
 - tries to convert the passed argument to a String using #to_str
 - tires to convert the passed argument to an Integer using #to_int
 - raises a TypeError if the argument can neither be converted to a string
 nor an integer2010-08-19 17:07:59.729 macruby[854:613] An uncaught
 exception was raised
 2010-08-19 17:07:59.730 macruby[854:613]
 /Users/watson/src/MacRuby/mspec/lib/mspec/matchers/raise_error.rb:9:in
 `matches?:': can't convert MockObject into Integer (TypeError)
         from
 /Users/watson/src/MacRuby/spec/frozen/core/array/multiply_spec.rb:19:in
 `block'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:68:in `protect:'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/context.rb:178:in
 `protect:'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/context.rb:192:in
 `process'
         from
 /Users/watson/src/MacRuby/spec/frozen/core/array/multiply_spec.rb:1:in
 `<main>'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:56:in `block'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:68:in `protect:'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:51:in `block'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:47:in `files'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:41:in `process'
         from /Users/watson/src/MacRuby/mspec/bin/mspec-ci:3:in `<main>'
 2010-08-19 17:07:59.735 macruby[854:613] *** Terminating app due to
 uncaught exception 'TypeError', reason:
 '/Users/watson/src/MacRuby/mspec/lib/mspec/matchers/raise_error.rb:9:in
 `matches?:': can't convert MockObject into Integer (TypeError)
         from
 /Users/watson/src/MacRuby/spec/frozen/core/array/multiply_spec.rb:19:in
 `block'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:68:in `protect:'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/context.rb:178:in
 `protect:'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/context.rb:192:in
 `process'
         from
 /Users/watson/src/MacRuby/spec/frozen/core/array/multiply_spec.rb:1:in
 `<main>'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:56:in `block'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:68:in `protect:'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:51:in `block'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:47:in `files'
         from
 /Users/watson/src/MacRuby/mspec/lib/mspec/runner/mspec.rb:41:in `process'
         from /Users/watson/src/MacRuby/mspec/bin/mspec-ci:3:in `<main>'
 '
 *** Call stack at first throw:
 (
         0   CoreFoundation                      0x00007fff8655ccc4
 __exceptionPreprocess + 180
         1   libobjc.A.dylib                     0x00007fff861070f3
 objc_exception_throw + 45
         2   libmacruby.dylib                    0x0000000100152915
 rb_vm_raise + 437
         3   libmacruby.dylib                    0x00000001000407f9
 rb_exc_raise + 9
         4   libmacruby.dylib                    0x000000010003f2c4
 rb_raise + 308
         5   libmacruby.dylib                    0x000000010006e922
 convert_type + 338
         6   libmacruby.dylib                    0x00000001000702f9
 rb_to_integer + 57
         7   libmacruby.dylib                    0x000000010006143c
 rb_num2long + 108
         8   libmacruby.dylib                    0x00000001000192b9
 rary_times + 185
         9   libmacruby.dylib                    0x00000001001426bb
 rb_vm_dispatch + 6651
         10  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         11  ???                                 0x00000001035d9f6c 0x0 +
 4351434604
         12  libmacruby.dylib                    0x0000000100144079
 rb_vm_block_eval + 1401
         13  libmacruby.dylib                    0x0000000100142779
 rb_vm_dispatch + 6841
         14  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         15  ???                                 0x00000001035bdddb 0x0 +
 4351319515
         16  libmacruby.dylib                    0x00000001001426bb
 rb_vm_dispatch + 6651
         17  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         18  ???                                 0x00000001035b92cd 0x0 +
 4351300301
         19  libmacruby.dylib                    0x00000001001426bb
 rb_vm_dispatch + 6651
         20  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         21  ???                                 0x000000011b88ef24 0x0 +
 4756926244
         22  libmacruby.dylib                    0x00000001001433dd
 rb_vm_yield_under + 1965
         23  libmacruby.dylib                    0x0000000100100a5f
 specific_eval + 575
         24  libmacruby.dylib                    0x000000010014272a
 rb_vm_dispatch + 6762
         25  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         26  ???                                 0x00000001035b2825 0x0 +
 4351272997
         27  libmacruby.dylib                    0x00000001001426bb
 rb_vm_dispatch + 6651
         28  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         29  ???                                 0x00000001035b5cf2 0x0 +
 4351286514
         30  libmacruby.dylib                    0x0000000100145297
 rb_vm_yield_args + 1895
         31  libmacruby.dylib                    0x00000001000393d6
 all_iter_i + 22
         32  libmacruby.dylib                    0x0000000100145335
 rb_vm_yield_args + 2053
         33  libmacruby.dylib                    0x00000001000ff298
 rb_yield + 40
         34  libmacruby.dylib                    0x000000010001611d
 rary_each + 77
         35  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         36  libmacruby.dylib                    0x00000001000fefa3
 rb_objc_block_call + 195
         37  libmacruby.dylib                    0x0000000100038177
 enum_all + 71
         38  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         39  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         40  ???                                 0x00000001035b593c 0x0 +
 4351285564
         41  libmacruby.dylib                    0x000000010014266c
 rb_vm_dispatch + 6572
         42  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         43  ???                                 0x00000001035b8854 0x0 +
 4351297620
         44  libmacruby.dylib                    0x0000000100145297
 rb_vm_yield_args + 1895
         45  libmacruby.dylib                    0x00000001000ff298
 rb_yield + 40
         46  libmacruby.dylib                    0x000000010001611d
 rary_each + 77
         47  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         48  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         49  ???                                 0x00000001035b6a91 0x0 +
 4351290001
         50  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         51  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         52  ???                                 0x000000010357d96d 0x0 +
 4351056237
         53  libmacruby.dylib                    0x0000000100142695
 rb_vm_dispatch + 6613
         54  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         55  ???                                 0x000000010357dbbe 0x0 +
 4351056830
         56  libmacruby.dylib                    0x000000010014266c
 rb_vm_dispatch + 6572
         57  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         58  ???                                 0x000000011b88e159 0x0 +
 4756922713
         59  libmacruby.dylib                    0x000000010014edc8
 rb_vm_run + 488
         60  libmacruby.dylib                    0x0000000100048e55 rb_load
 + 101
         61  libmacruby.dylib                    0x0000000100048f0a
 rb_f_load + 58
         62  libmacruby.dylib                    0x0000000100142779
 rb_vm_dispatch + 6841
         63  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         64  ???                                 0x00000001035b2708 0x0 +
 4351272712
         65  libmacruby.dylib                    0x00000001001433dd
 rb_vm_yield_under + 1965
         66  libmacruby.dylib                    0x0000000100100a5f
 specific_eval + 575
         67  libmacruby.dylib                    0x000000010014272a
 rb_vm_dispatch + 6762
         68  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         69  ???                                 0x00000001035b2825 0x0 +
 4351272997
         70  libmacruby.dylib                    0x00000001001426bb
 rb_vm_dispatch + 6651
         71  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         72  ???                                 0x00000001035b1458 0x0 +
 4351267928
         73  libmacruby.dylib                    0x0000000100145297
 rb_vm_yield_args + 1895
         74  libmacruby.dylib                    0x00000001000ff298
 rb_yield + 40
         75  libmacruby.dylib                    0x000000010001611d
 rary_each + 77
         76  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         77  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         78  ???                                 0x00000001035b0e6a 0x0 +
 4351266410
         79  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         80  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         81  ???                                 0x00000001035b04a7 0x0 +
 4351263911
         82  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         83  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         84  ???                                 0x00000001035afb13 0x0 +
 4351261459
         85  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         86  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         87  ???                                 0x000000010359e0ff 0x0 +
 4351189247
         88  libmacruby.dylib                    0x00000001001426d6
 rb_vm_dispatch + 6678
         89  ???                                 0x000000010355a4f0 0x0 +
 4350911728
         90  ???                                 0x000000010355a1be 0x0 +
 4350910910
         91  libmacruby.dylib                    0x000000010014edc8
 rb_vm_run + 488
         92  libmacruby.dylib                    0x0000000100040e50
 ruby_run_node + 80
         93  macruby                             0x0000000100000d28 main +
 152
         94  macruby                             0x0000000100000c88 start +
 52
         95  ???                                 0x000000000000001e 0x0 +
 30
 )
 terminate called after throwing an instance of 'NSException'
 rake aborted!
 Command failed with status (): [./mspec/bin/mspec ci -B
 ./spec/macruby.msp...]

 (See full trace by running task with --trace)
 }}}

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



More information about the macruby-tickets mailing list