Guest User

Untitled

a guest
Jul 20th, 2018
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.24 KB | None | 0 0
  1. Bacon specs using Mocha, with a mock
  2. Reading symbols for shared libraries + done
  3. - passes when all expectations were fulfilled
  4. - fails when not all expectations were fulfilledFROM SPEC!
  5.  
  6. - fails when there is an unexpected invocation [FAILED]
  7. - passes when the mockee receives all expected parameters
  8. - fails when the mockee receives unexpected parameters and complains about not being satisfied
  9. - 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)
  10. garbage pointer stored into reachable memory, break on auto_zone_resurrection_error to debug
  11. [Switching to process 11319]
  12.  
  13. Breakpoint 1, 0x00007fff86294ba4 in auto_zone_resurrection_error ()
  14. (gdb) bt
  15. #0 0x00007fff86294ba4 in auto_zone_resurrection_error ()
  16. #1 0x00007fff8628fe69 in check_resurrection ()
  17. #2 0x00007fff86291d0c in auto_zone_set_write_barrier ()
  18. #3 0x0000000100154bad in rb_vm_prepare_block ()
  19. #4 0x0000000100f3f173 in ?? ()
  20. #5 0x00007fff81dc6f67 in finalizeOneObject ()
  21. #6 0x00007fff862a43e5 in Auto::foreach_block_do ()
  22. #7 0x00007fff81dc6b5c in batchFinalize ()
  23. #8 0x00007fff81dc6c40 in batchFinalizeOnTwoThreads ()
  24. #9 0x00007fff8629e147 in Auto::Zone::invalidate_garbage ()
  25. #10 0x00007fff8628eb31 in auto_collect_internal ()
  26. #11 0x00007fff8628f0cd in auto_collection_work ()
  27. #12 0x00007fff80fe82c4 in _dispatch_call_block_and_release ()
  28. #13 0x00007fff80fc6e32 in _dispatch_queue_drain ()
  29. #14 0x00007fff80fc6c94 in _dispatch_queue_invoke ()
  30. #15 0x00007fff80fc683e in _dispatch_worker_thread2 ()
  31. #16 0x00007fff80fc6168 in _pthread_wqthread ()
  32. #17 0x00007fff80fc6005 in start_wqthread ()
  33. (gdb) thread apply all bt
  34.  
  35. Thread 5 (process 11319):
  36. #0 0x00007fff80fc5f8a in __workq_kernreturn ()
  37. #1 0x00007fff80fc639c in _pthread_wqthread ()
  38. #2 0x00007fff80fc6005 in start_wqthread ()
  39.  
  40. Thread 4 (process 11319):
  41. #0 0x00007fff80fc5f8a in __workq_kernreturn ()
  42. #1 0x00007fff80fc639c in _pthread_wqthread ()
  43. #2 0x00007fff80fc6005 in start_wqthread ()
  44.  
  45. Thread 3 (process 11319):
  46. #0 0x00007fff80fc516a in kevent ()
  47. #1 0x00007fff80fc703d in _dispatch_mgr_invoke ()
  48. #2 0x00007fff80fc6d14 in _dispatch_queue_invoke ()
  49. #3 0x00007fff80fc683e in _dispatch_worker_thread2 ()
  50. #4 0x00007fff80fc6168 in _pthread_wqthread ()
  51. #5 0x00007fff80fc6005 in start_wqthread ()
  52.  
  53. Thread 2 (process 11319):
  54. #0 0x00007fff86294ba4 in auto_zone_resurrection_error ()
  55. #1 0x00007fff8628fe69 in check_resurrection ()
  56. #2 0x00007fff86291d0c in auto_zone_set_write_barrier ()
  57. #3 0x0000000100154bad in rb_vm_prepare_block ()
  58. #4 0x0000000100f3f173 in ?? ()
  59. #5 0x00007fff81dc6f67 in finalizeOneObject ()
  60. #6 0x00007fff862a43e5 in Auto::foreach_block_do ()
  61. #7 0x00007fff81dc6b5c in batchFinalize ()
  62. #8 0x00007fff81dc6c40 in batchFinalizeOnTwoThreads ()
  63. #9 0x00007fff8629e147 in Auto::Zone::invalidate_garbage ()
  64. #10 0x00007fff8628eb31 in auto_collect_internal ()
  65. #11 0x00007fff8628f0cd in auto_collection_work ()
  66. #12 0x00007fff80fe82c4 in _dispatch_call_block_and_release ()
  67. #13 0x00007fff80fc6e32 in _dispatch_queue_drain ()
  68. #14 0x00007fff80fc6c94 in _dispatch_queue_invoke ()
  69. #15 0x00007fff80fc683e in _dispatch_worker_thread2 ()
  70. #16 0x00007fff80fc6168 in _pthread_wqthread ()
  71. #17 0x00007fff80fc6005 in start_wqthread ()
  72.  
  73. Thread 1 (process 11319):
  74. #0 0x00007fff810ebff5 in __udivmodti4 ()
  75. #1 0x000000010002c015 in rb_big2dbl ()
  76. #2 0x00000001000338ba in rb_big2str0 ()
  77. #3 0x00000001000ce346 in rb_str_format ()
  78. #4 0x00000001000d1e61 in rb_str_intern_fast ()
  79. #5 0x0000000100157d8b in rb_vm_dispatch ()
  80. #6 0x0000000100ef686c in ?? ()
  81. #7 0x0000000100f31963 in ?? ()
  82. #8 0x0000000100157da6 in rb_vm_dispatch ()
  83. #9 0x0000000100ef686c in ?? ()
  84. #10 0x0000000100f33da7 in ?? ()
  85. #11 0x0000000100157da6 in rb_vm_dispatch ()
  86. #12 0x0000000100ef686c in ?? ()
  87. #13 0x0000000100f5309f in ?? ()
  88. #14 0x0000000100157da6 in rb_vm_dispatch ()
  89. #15 0x0000000100ef686c in ?? ()
  90. #16 0x0000000100f2fb5f in ?? ()
  91. #17 0x0000000100157da6 in rb_vm_dispatch ()
  92. #18 0x0000000100ef686c in ?? ()
  93. #19 0x0000000100f52d11 in ?? ()
  94. #20 0x000000010015a607 in rb_vm_yield_args ()
  95. #21 0x000000010010edd8 in rb_yield ()
  96. #22 0x00000001000252a8 in rb_ary_new ()
  97. #23 0x0000000100157da6 in rb_vm_dispatch ()
  98. #24 0x0000000100ef686c in ?? ()
  99. #25 0x0000000100f36343 in ?? ()
  100. #26 0x0000000100157da6 in rb_vm_dispatch ()
  101. #27 0x0000000100ef686c in ?? ()
  102. #28 0x0000000100f33571 in ?? ()
  103. #29 0x0000000100157d66 in rb_vm_dispatch ()
  104. #30 0x000000010015aa80 in rb_vm_yield_args ()
  105. #31 0x00000001001562fd in rb_vm_dispatch ()
  106. #32 0x0000000100ef686c in ?? ()
  107. #33 0x0000000100f55d6a in ?? ()
  108. #34 0x000000010015874d in rb_vm_yield_under ()
  109. #35 0x000000010011058f in rb_undef ()
  110. #36 0x0000000100157a2b in rb_vm_dispatch ()
  111. #37 0x0000000100ef686c in ?? ()
  112. #38 0x0000000100f4604e in ?? ()
  113. #39 0x000000010015a623 in rb_vm_yield_args ()
  114. #40 0x0000000100f46baf in ?? ()
  115. #41 0x0000000100f46116 in ?? ()
  116. #42 0x0000000100157da6 in rb_vm_dispatch ()
  117. #43 0x0000000100ef686c in ?? ()
  118. #44 0x0000000100f3ed91 in ?? ()
  119. #45 0x0000000100157da6 in rb_vm_dispatch ()
  120. #46 0x0000000100ef686c in ?? ()
  121. #47 0x0000000100f3efef in ?? ()
  122. #48 0x0000000100157da6 in rb_vm_dispatch ()
  123. #49 0x0000000100ef686c in ?? ()
  124. #50 0x0000000100f49cb3 in ?? ()
  125. #51 0x0000000100157d8b in rb_vm_dispatch ()
  126. #52 0x0000000100ef686c in ?? ()
  127. #53 0x0000000100f546a3 in ?? ()
  128. #54 0x000000010015a607 in rb_vm_yield_args ()
  129. #55 0x0000000100f46baf in ?? ()
  130. #56 0x0000000100f494de in ?? ()
  131. #57 0x0000000100157d8b in rb_vm_dispatch ()
  132. #58 0x0000000100ef686c in ?? ()
  133. #59 0x0000000100f1508d in ?? ()
  134. #60 0x0000000100157d8b in rb_vm_dispatch ()
  135. #61 0x0000000100ef686c in ?? ()
  136. #62 0x0000000100f4410a in ?? ()
  137. #63 0x000000010015874d in rb_vm_yield_under ()
  138. #64 0x000000010011058f in rb_undef ()
  139. #65 0x0000000100157a2b in rb_vm_dispatch ()
  140. #66 0x0000000100ef686c in ?? ()
  141. #67 0x0000000100f4604e in ?? ()
  142. #68 0x000000010015a623 in rb_vm_yield_args ()
  143. #69 0x0000000100f46baf in ?? ()
  144. #70 0x0000000100f46116 in ?? ()
  145. #71 0x0000000100157da6 in rb_vm_dispatch ()
  146. #72 0x0000000100ef686c in ?? ()
  147. #73 0x0000000100f3ed91 in ?? ()
  148. #74 0x0000000100157da6 in rb_vm_dispatch ()
  149. #75 0x0000000100ef686c in ?? ()
  150. #76 0x0000000100f3efef in ?? ()
  151. #77 0x0000000100f3f094 in ?? ()
  152. #78 0x00007fff84f8b23c in __NSFireDelayedPerform ()
  153. #79 0x00007fff88501be8 in __CFRunLoopRun ()
  154. #80 0x00007fff884ffdbf in CFRunLoopRunSpecific ()
  155. #81 0x00007fff835719f6 in RunCurrentEventLoopInMode ()
  156. #82 0x00007fff835717fb in ReceiveNextEventCommon ()
  157. #83 0x00007fff835716b4 in BlockUntilNextEventMatchingListInMode ()
  158. #84 0x00007fff82ab2e64 in _DPSNextEvent ()
  159. #85 0x00007fff82ab27a9 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:] ()
  160. #86 0x00007fff82a7848b in -[NSApplication run] ()
  161. #87 0x0000000100f458e7 in ?? ()
  162. #88 0x0000000100156143 in rb_vm_dispatch ()
  163. #89 0x0000000100ef686c in ?? ()
  164. #90 0x0000000100f44de5 in ?? ()
  165. #91 0x0000000100157da6 in rb_vm_dispatch ()
  166. #92 0x0000000100ef686c in ?? ()
  167. #93 0x0000000100f02023 in ?? ()
  168. #94 0x000000010016f3b3 in rb_vm_run ()
  169. #95 0x0000000100055991 in rb_load ()
  170. #96 0x0000000100055a5a in rb_load ()
  171. #97 0x0000000100157755 in rb_vm_dispatch ()
  172. #98 0x0000000100ef686c in ?? ()
  173. #99 0x0000000100ef6337 in ?? ()
  174. #100 0x000000010016f3b3 in rb_vm_run ()
  175. #101 0x000000010004d3c0 in ruby_run_node ()
  176. #102 0x0000000100000d28 in main ()
Add Comment
Please, Sign In to add comment