Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Bacon specs using Mocha, with a mock
- Reading symbols for shared libraries + done
- - passes when all expectations were fulfilled
- - fails when not all expectations were fulfilledFROM SPEC!
- - fails when there is an unexpected invocation [FAILED]
- - passes when the mockee receives all expected parameters
- - fails when the mockee receives unexpected parameters and complains about not being satisfied
- - fails when the mockee receives unexpected parameters and complains about the unexpected parametersmacruby(11319,0x100ef2000) malloc: resurrection error for object 0x200b9ea60 while assigning {conservative-block}[96](0x200c90360)[16] = RBSpecification[32](0x200b9ea60)
- garbage pointer stored into reachable memory, break on auto_zone_resurrection_error to debug
- [Switching to process 11319]
- Breakpoint 1, 0x00007fff86294ba4 in auto_zone_resurrection_error ()
- (gdb) bt
- #0 0x00007fff86294ba4 in auto_zone_resurrection_error ()
- #1 0x00007fff8628fe69 in check_resurrection ()
- #2 0x00007fff86291d0c in auto_zone_set_write_barrier ()
- #3 0x0000000100154bad in rb_vm_prepare_block ()
- #4 0x0000000100f3f173 in ?? ()
- #5 0x00007fff81dc6f67 in finalizeOneObject ()
- #6 0x00007fff862a43e5 in Auto::foreach_block_do ()
- #7 0x00007fff81dc6b5c in batchFinalize ()
- #8 0x00007fff81dc6c40 in batchFinalizeOnTwoThreads ()
- #9 0x00007fff8629e147 in Auto::Zone::invalidate_garbage ()
- #10 0x00007fff8628eb31 in auto_collect_internal ()
- #11 0x00007fff8628f0cd in auto_collection_work ()
- #12 0x00007fff80fe82c4 in _dispatch_call_block_and_release ()
- #13 0x00007fff80fc6e32 in _dispatch_queue_drain ()
- #14 0x00007fff80fc6c94 in _dispatch_queue_invoke ()
- #15 0x00007fff80fc683e in _dispatch_worker_thread2 ()
- #16 0x00007fff80fc6168 in _pthread_wqthread ()
- #17 0x00007fff80fc6005 in start_wqthread ()
- (gdb) thread apply all bt
- Thread 5 (process 11319):
- #0 0x00007fff80fc5f8a in __workq_kernreturn ()
- #1 0x00007fff80fc639c in _pthread_wqthread ()
- #2 0x00007fff80fc6005 in start_wqthread ()
- Thread 4 (process 11319):
- #0 0x00007fff80fc5f8a in __workq_kernreturn ()
- #1 0x00007fff80fc639c in _pthread_wqthread ()
- #2 0x00007fff80fc6005 in start_wqthread ()
- Thread 3 (process 11319):
- #0 0x00007fff80fc516a in kevent ()
- #1 0x00007fff80fc703d in _dispatch_mgr_invoke ()
- #2 0x00007fff80fc6d14 in _dispatch_queue_invoke ()
- #3 0x00007fff80fc683e in _dispatch_worker_thread2 ()
- #4 0x00007fff80fc6168 in _pthread_wqthread ()
- #5 0x00007fff80fc6005 in start_wqthread ()
- Thread 2 (process 11319):
- #0 0x00007fff86294ba4 in auto_zone_resurrection_error ()
- #1 0x00007fff8628fe69 in check_resurrection ()
- #2 0x00007fff86291d0c in auto_zone_set_write_barrier ()
- #3 0x0000000100154bad in rb_vm_prepare_block ()
- #4 0x0000000100f3f173 in ?? ()
- #5 0x00007fff81dc6f67 in finalizeOneObject ()
- #6 0x00007fff862a43e5 in Auto::foreach_block_do ()
- #7 0x00007fff81dc6b5c in batchFinalize ()
- #8 0x00007fff81dc6c40 in batchFinalizeOnTwoThreads ()
- #9 0x00007fff8629e147 in Auto::Zone::invalidate_garbage ()
- #10 0x00007fff8628eb31 in auto_collect_internal ()
- #11 0x00007fff8628f0cd in auto_collection_work ()
- #12 0x00007fff80fe82c4 in _dispatch_call_block_and_release ()
- #13 0x00007fff80fc6e32 in _dispatch_queue_drain ()
- #14 0x00007fff80fc6c94 in _dispatch_queue_invoke ()
- #15 0x00007fff80fc683e in _dispatch_worker_thread2 ()
- #16 0x00007fff80fc6168 in _pthread_wqthread ()
- #17 0x00007fff80fc6005 in start_wqthread ()
- Thread 1 (process 11319):
- #0 0x00007fff810ebff5 in __udivmodti4 ()
- #1 0x000000010002c015 in rb_big2dbl ()
- #2 0x00000001000338ba in rb_big2str0 ()
- #3 0x00000001000ce346 in rb_str_format ()
- #4 0x00000001000d1e61 in rb_str_intern_fast ()
- #5 0x0000000100157d8b in rb_vm_dispatch ()
- #6 0x0000000100ef686c in ?? ()
- #7 0x0000000100f31963 in ?? ()
- #8 0x0000000100157da6 in rb_vm_dispatch ()
- #9 0x0000000100ef686c in ?? ()
- #10 0x0000000100f33da7 in ?? ()
- #11 0x0000000100157da6 in rb_vm_dispatch ()
- #12 0x0000000100ef686c in ?? ()
- #13 0x0000000100f5309f in ?? ()
- #14 0x0000000100157da6 in rb_vm_dispatch ()
- #15 0x0000000100ef686c in ?? ()
- #16 0x0000000100f2fb5f in ?? ()
- #17 0x0000000100157da6 in rb_vm_dispatch ()
- #18 0x0000000100ef686c in ?? ()
- #19 0x0000000100f52d11 in ?? ()
- #20 0x000000010015a607 in rb_vm_yield_args ()
- #21 0x000000010010edd8 in rb_yield ()
- #22 0x00000001000252a8 in rb_ary_new ()
- #23 0x0000000100157da6 in rb_vm_dispatch ()
- #24 0x0000000100ef686c in ?? ()
- #25 0x0000000100f36343 in ?? ()
- #26 0x0000000100157da6 in rb_vm_dispatch ()
- #27 0x0000000100ef686c in ?? ()
- #28 0x0000000100f33571 in ?? ()
- #29 0x0000000100157d66 in rb_vm_dispatch ()
- #30 0x000000010015aa80 in rb_vm_yield_args ()
- #31 0x00000001001562fd in rb_vm_dispatch ()
- #32 0x0000000100ef686c in ?? ()
- #33 0x0000000100f55d6a in ?? ()
- #34 0x000000010015874d in rb_vm_yield_under ()
- #35 0x000000010011058f in rb_undef ()
- #36 0x0000000100157a2b in rb_vm_dispatch ()
- #37 0x0000000100ef686c in ?? ()
- #38 0x0000000100f4604e in ?? ()
- #39 0x000000010015a623 in rb_vm_yield_args ()
- #40 0x0000000100f46baf in ?? ()
- #41 0x0000000100f46116 in ?? ()
- #42 0x0000000100157da6 in rb_vm_dispatch ()
- #43 0x0000000100ef686c in ?? ()
- #44 0x0000000100f3ed91 in ?? ()
- #45 0x0000000100157da6 in rb_vm_dispatch ()
- #46 0x0000000100ef686c in ?? ()
- #47 0x0000000100f3efef in ?? ()
- #48 0x0000000100157da6 in rb_vm_dispatch ()
- #49 0x0000000100ef686c in ?? ()
- #50 0x0000000100f49cb3 in ?? ()
- #51 0x0000000100157d8b in rb_vm_dispatch ()
- #52 0x0000000100ef686c in ?? ()
- #53 0x0000000100f546a3 in ?? ()
- #54 0x000000010015a607 in rb_vm_yield_args ()
- #55 0x0000000100f46baf in ?? ()
- #56 0x0000000100f494de in ?? ()
- #57 0x0000000100157d8b in rb_vm_dispatch ()
- #58 0x0000000100ef686c in ?? ()
- #59 0x0000000100f1508d in ?? ()
- #60 0x0000000100157d8b in rb_vm_dispatch ()
- #61 0x0000000100ef686c in ?? ()
- #62 0x0000000100f4410a in ?? ()
- #63 0x000000010015874d in rb_vm_yield_under ()
- #64 0x000000010011058f in rb_undef ()
- #65 0x0000000100157a2b in rb_vm_dispatch ()
- #66 0x0000000100ef686c in ?? ()
- #67 0x0000000100f4604e in ?? ()
- #68 0x000000010015a623 in rb_vm_yield_args ()
- #69 0x0000000100f46baf in ?? ()
- #70 0x0000000100f46116 in ?? ()
- #71 0x0000000100157da6 in rb_vm_dispatch ()
- #72 0x0000000100ef686c in ?? ()
- #73 0x0000000100f3ed91 in ?? ()
- #74 0x0000000100157da6 in rb_vm_dispatch ()
- #75 0x0000000100ef686c in ?? ()
- #76 0x0000000100f3efef in ?? ()
- #77 0x0000000100f3f094 in ?? ()
- #78 0x00007fff84f8b23c in __NSFireDelayedPerform ()
- #79 0x00007fff88501be8 in __CFRunLoopRun ()
- #80 0x00007fff884ffdbf in CFRunLoopRunSpecific ()
- #81 0x00007fff835719f6 in RunCurrentEventLoopInMode ()
- #82 0x00007fff835717fb in ReceiveNextEventCommon ()
- #83 0x00007fff835716b4 in BlockUntilNextEventMatchingListInMode ()
- #84 0x00007fff82ab2e64 in _DPSNextEvent ()
- #85 0x00007fff82ab27a9 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
- #86 0x00007fff82a7848b in -[NSApplication run] ()
- #87 0x0000000100f458e7 in ?? ()
- #88 0x0000000100156143 in rb_vm_dispatch ()
- #89 0x0000000100ef686c in ?? ()
- #90 0x0000000100f44de5 in ?? ()
- #91 0x0000000100157da6 in rb_vm_dispatch ()
- #92 0x0000000100ef686c in ?? ()
- #93 0x0000000100f02023 in ?? ()
- #94 0x000000010016f3b3 in rb_vm_run ()
- #95 0x0000000100055991 in rb_load ()
- #96 0x0000000100055a5a in rb_load ()
- #97 0x0000000100157755 in rb_vm_dispatch ()
- #98 0x0000000100ef686c in ?? ()
- #99 0x0000000100ef6337 in ?? ()
- #100 0x000000010016f3b3 in rb_vm_run ()
- #101 0x000000010004d3c0 in ruby_run_node ()
- #102 0x0000000100000d28 in main ()
Add Comment
Please, Sign In to add comment