specs crash after updating RM

49 views
Skip to first unread message

Matt Aimonetti

unread,
Jul 15, 2012, 3:59:04 PM7/15/12
to bubbl...@googlegroups.com
Looks like a nasty RM bug, can you guys confirm?


Crashed Thread:  0  Dispatch queue: com.apple.main-thread

Exception Type:  EXC_BAD_ACCESS (SIGBUS)
Exception Codes: KERN_PROTECTION_FAILURE at 0x0000000000000004

VM Regions Near 0x4:
--> __PAGEZERO             0000000000000000-0000000000001000 [    4K] ---/--- SM=NUL  /Library/RubyMotion/*
    __TEXT                 0000000000001000-0000000000a40000 [ 10.2M] r-x/rwx SM=COW  /Library/RubyMotion/*

Application Specific Information:
objc[64454]: garbage collection is ON

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   ruby                           0x000e74d9 RoxorCompiler::compile_bs_struct_new(rb_vm_bs_boxed*) + 1663
1   ruby                           0x00156f43 RoxorAOTCompiler::compile_static_bs_boxeds() + 679
2   ruby                           0x00159f60 RoxorAOTCompiler::compile_static_bs_files() + 176
3   ruby                           0x00100d98 RoxorAOTCompiler::compile_init_function(std::vector<llvm::Function*, std::allocator<llvm::Function*> >&) + 6004
4   ruby                           0x00136c0b rb_vm_aot_compile + 427
5   ruby                           0x0009be58 ruby_process_options + 552
6   ruby                           0x000d44f7 main + 135
7   ruby                           0x00002335 start + 53

Thread 1:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30

Thread 2:: Dispatch queue: com.apple.libdispatch-manager
0   libsystem_kernel.dylib         0x9a62b90a kevent + 10
1   libdispatch.dylib             0x97c55e10 _dispatch_mgr_invoke + 969
2   libdispatch.dylib             0x97c5485f _dispatch_mgr_thread + 53

Thread 3:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30

Thread 4:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30

Thread 5:
0   libsystem_kernel.dylib         0x9a62b02e __workq_kernreturn + 10
1   libsystem_c.dylib             0x96c8dccf _pthread_wqthread + 773
2   libsystem_c.dylib             0x96c8f6fe start_wqthread + 30

Thread 0 crashed with X86 Thread State (32-bit):
  eax: 0x10098c48  ebx: 0x00000000  ecx: 0x00000000  edx: 0x00000002
  edi: 0x10098af0  esi: 0x00000000  ebp: 0xbfffe388  esp: 0xbfffe1d0
   ss: 0x00000023  efl: 0x00010206  eip: 0x000e74d9   cs: 0x0000001b
   ds: 0x00000023   es: 0x00000023   fs: 0x00000000   gs: 0x0000000f
  cr2: 0x00000004
Logical CPU: 6

Matt Aimonetti

unread,
Jul 15, 2012, 4:06:57 PM7/15/12
to bubbl...@googlegroups.com
Found the problem, commented out this spec:

    # # Crashes Buggy RubyMotion 1.18
    # it "should be converted to the local timezone automatically" do
    #   @time.zone.should == Time.now.zone
    # end

Laurent didn't reply to any of the bug reports I submitted, so I won't even bother. Feel free to reduce the issue and report it.
In the mean time, please leave the spec commented out.

- Matt
Reply all
Reply to author
Forward
0 new messages