Skip to content

Instantly share code, notes, and snippets.

@agrimm
Created April 4, 2010 07:48
Show Gist options
  • Save agrimm/355211 to your computer and use it in GitHub Desktop.
Save agrimm/355211 to your computer and use it in GitHub Desktop.
Note: This is based on the following zombie-chaser commit:
commit 20173f84a936fb41109c765d8ea080fb0793b403
Author: Andrew Grimm <[email protected]>
Date: Sun Apr 4 17:34:52 2010 +1000
Failed attempt at collision avoidance.
C:\Documents and Settings\Andrew\Desktop\code\zombie-chaser>ruby test\integration.rb
Loaded suite test/integration
Started
...C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:153
: [BUG] The handle is invalid.
ruby 1.9.1p129 (2009-05-12 revision 23412) [i386-mswin32]
-- control frame ----------
c:0021 p:---- s:0083 b:0083 l:000082 d:000082 CFUNC :lock
c:0020 p:0034 s:0080 b:0080 l:000079 d:000079 METHOD c:/ruby19/lib/ruby/1.9.1/monitor.rb:164
c:0019 p:0011 s:0077 b:0077 l:000076 d:000076 METHOD c:/ruby19/lib/ruby/1.9.1/monitor.rb:188
c:0018 p:0012 s:0074 b:0074 l:000073 d:000073 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/interface.rb:59
c:0017 p:0014 s:0070 b:0070 l:000069 d:000069 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:387
c:0016 p:0013 s:0066 b:0066 l:000065 d:000065 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:379
c:0015 p:0104 s:0063 b:0063 l:0016ec d:0016ec METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:139
c:0014 p:0021 s:0060 b:0060 l:000024 d:000059 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:102
c:0013 p:---- s:0056 b:0056 l:000055 d:000055 FINISH
c:0012 p:---- s:0054 b:0054 l:000053 d:000053 CFUNC :each
c:0011 p:0082 s:0051 b:0051 l:000024 d:000050 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:101
c:0010 p:---- s:0046 b:0046 l:000045 d:000045 FINISH
c:0009 p:---- s:0044 b:0044 l:000043 d:000043 CFUNC :each
c:0008 p:0259 s:0041 b:0041 l:000024 d:000040 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:96
c:0007 p:0005 s:0034 b:0034 l:000027 d:000033 BLOCK C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133
c:0006 p:0024 s:0032 b:0032 l:000031 d:000031 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:56
c:0005 p:0023 s:0028 b:0028 l:000027 d:000027 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133
c:0004 p:0231 s:0025 b:0025 l:000024 d:000024 METHOD C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:70
c:0003 p:0303 s:0013 b:0012 l:000734 d:00150c EVAL bin/zombie-chaser:79
c:0002 p:---- s:0004 b:0004 l:000003 d:000003 FINISH
c:0001 p:0000 s:0002 b:0002 l:000734 d:000734 TOP <main>:263
---------------------------
-- Ruby level backtrace information-----------------------------------------
c:/ruby19/lib/ruby/1.9.1/monitor.rb:164:in `lock'
c:/ruby19/lib/ruby/1.9.1/monitor.rb:164:in `mon_enter'
c:/ruby19/lib/ruby/1.9.1/monitor.rb:188:in `mon_synchronize'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/interface.rb:59: in `interface_puts'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:387:in `interface_puts'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:379:in `no_surviving_mutant'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/chaser.rb:139:in `validate'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:102:in `block (3 levels) in validate'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:101:in `each'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:101:in `block (2 levels) in validate'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:96:in `each'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:96:in `block in validate'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133:in `block in while_world_running'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/world.rb:56:in `while_world_running'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:133:in `while_world_running'
C:/Documents and Settings/Andrew/Desktop/code/zombie-chaser/lib/zombie_test_chaser.rb:70:in `validate'
bin/zombie-chaser:79:in `<main>'
[NOTE]
You may encounter a bug of Ruby interpreter. Bug reports are welcome.
For details: http://www.ruby-lang.org/bugreport.html
This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
....
Finished in 73.421875 seconds.
7 tests, 7 assertions, 0 failures, 0 errors, 0 pendings, 0 omissions, 0 notifications
100% passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment