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

MacRuby ruby-noreply at macosforge.org
Mon Sep 27 16:27:22 PDT 2010


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

Comment(by watson1978@…):

 Still cashes with MacRuby latest + r4433's spec.
 {{{
 $ git clone git://git.macruby.org/macruby/MacRuby.git
 $ svn co -r 4433 http://svn.macosforge.org/repository/ruby/MacRuby/trunk
 macruby-4433
 $ cd MacRuby/
 $ rm -rf spec/*
 $ cp -R ../macruby-4433/spec/* spec/
 $ RC_ARCHS=x86_64 rake jobs=2
 $ opts="-V" rake spec:ci
 (in /Users/watson/src/MacRuby)
 rm -rf rubyspec_temp
 ./mspec/bin/mspec ci -B ./spec/macruby.mspec -V :full
 MacRuby 0.7 (ruby 1.9.2) [universal-darwin10.0, x86_64]

 /Users/watson/src/MacRuby/spec/macruby/core/array_spec.rb
 .
 /Users/watson/src/MacRuby/spec/macruby/core/cftype_spec.rb
 .
 ---- snip ----
 /Users/watson/src/MacRuby/spec/frozen/library/csv/generate_row_spec.rb
 .
 /Users/watson/src/MacRuby/spec/frozen/library/csv/generate_spec.rb
 rake aborted!
 Command failed with status (): [./mspec/bin/mspec ci -B
 ./spec/macruby.msp...]

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

 {{{
 (gdb) c
 Continuing.

 Program received signal EXC_BAD_ACCESS, Could not access memory.
 Reason: KERN_INVALID_ADDRESS at address: 0x0000000129fb2000
 0x00007fff8013ddd1 in
 libunwind::CFI_Parser<libunwind::LocalAddressSpace>::decodeFDE ()
 (gdb) bt 20
 #0  0x00007fff8013ddd1 in
 libunwind::CFI_Parser<libunwind::LocalAddressSpace>::decodeFDE ()
 #1  0x00007fff80138c7f in _unw_add_dynamic_fde ()
 #2  0x00000001004a2335 in (anonymous
 namespace)::JITEmitter::finishFunction () at atomicity.h:51
 #3  0x00000001001e0f81 in (anonymous
 namespace)::Emitter<llvm::JITCodeEmitter>::runOnMachineFunction () at
 atomicity.h:51
 #4  0x000000010051e48e in llvm::MachineFunctionPass::runOnFunction () at
 atomicity.h:51
 #5  0x00000001008df750 in llvm::FPPassManager::runOnFunction () at
 atomicity.h:51
 #6  0x00000001008dfa12 in llvm::FunctionPassManagerImpl::run () at
 atomicity.h:51
 #7  0x00000001008dfdec in llvm::FunctionPassManager::run () at
 atomicity.h:51
 #8  0x000000010048ddca in llvm::JIT::runJITOnFunctionUnlocked () at
 atomicity.h:51
 #9  0x000000010048ed6f in llvm::JIT::getPointerToFunction () at
 atomicity.h:51
 #10 0x000000010014a272 in RoxorCore::compile (this=0x102070800,
 func=0x12c8e56c0, run_optimize=<value temporarily unavailable, due to
 optimizations>) at vm.cpp:584
 #11 0x000000010015188a in rb_vm_define_method3 (klass=0x213dfd480,
 mid=<value temporarily unavailable, due to optimizations>,
 block=0x213e47400) at vm.cpp:2632
 #12 0x000000010004bfd0 in rb_mod_define_method (mod=8923370624, sel=<value
 temporarily unavailable, due to optimizations>, argc=<value temporarily
 unavailable, due to optimizations>, argv=<value temporarily unavailable,
 due to optimizations>) at proc.c:1008
 #13 0x000000010014430e in rb_vm_dispatch (_vm=0x100f1f2d0,
 cache=0x100e9e640, top=8923370624, self=8923370624, klass=0x213dfd440,
 sel=0x101247c70, block=0x0, opt=2 '\002', argc=2, argv=0x7fff5fbf3210) at
 dispatcher.cpp:448
 #14 0x00000001037004ec in ?? ()
 #15 0x000000012b1fcf70 in ?? ()
 #16 0x0000000100146987 in rb_vm_yield_args (_vm=0x100f1f2d0, argc=<value
 temporarily unavailable, due to optimizations>, argv=0x213dfd440) at
 dispatcher.cpp:100
 #17 0x00000001000ff418 in rb_yield (val=8590762880) at vm_eval.c:196
 #18 0x0000000100015b1d in rary_each (ary=8923618176, sel=<value
 temporarily unavailable, due to optimizations>) at array.c:1065
 #19 0x00000001001440ce in rb_vm_dispatch (_vm=0x100f1f2d0,
 cache=0x100e89480, top=8923370624, self=8923618176, klass=0x20006dd00,
 sel=0x100f49b50, block=0x213e3b380, opt=0 '\0', argc=<value temporarily
 unavailable, due to optimizations>, argv=0x0) at dispatcher.cpp:159
 (More stack frames follow...)
 (gdb)
 }}}

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



More information about the macruby-tickets mailing list