This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arturas@zeus:~/.rvm/rubies/jruby-head-n16$ git bisect skip | |
There are only 'skip'ped commits left to test. | |
The first bad commit could be any of: | |
2ce71d5fa87465e8839f78c4029cc0129382b4cb | |
887972985e1692889fdc0b26a2cff0aaba51071e | |
aa191e7731581f2e7a407dd0afcbd8fef0a0233f | |
76b40d503a30f733a99d02e2e14f1dd4d4dcb618 | |
We cannot bisect more! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2012-04-03 19:13:27 | |
Full thread dump Java HotSpot(TM) Client VM (21.0-b17 mixed mode): | |
"RMI TCP Connection(2)-127.0.0.1" daemon prio=10 tid=0x090ec400 nid=0x7513 runnable [0x8d5ee000] | |
java.lang.Thread.State: RUNNABLE | |
at java.net.SocketInputStream.socketRead0(Native Method) | |
at java.net.SocketInputStream.read(SocketInputStream.java:150) | |
at java.net.SocketInputStream.read(SocketInputStream.java:121) | |
at java.io.BufferedInputStream.fill(BufferedInputStream.java:235) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Registering #<TCPServer:0xa07065> r on #<NIO::Selector:0x174b39a> | |
monitor: #<NIO::Monitor:0x17a73c1> | |
suspending #<Celluloid::Task:0x1b15a50> for iowait | |
suspending #<Celluloid::Task:0x1b15a50> finished | |
Trying to nonblock read 4096. | |
READ WAITING. | |
READ EVT WAITING. | |
Registering #<TCPServer:0xa07065> r on #<NIO::Selector:0x174b39a> | |
monitor: #<NIO::Monitor:0x1ff3e67> | |
suspending #<Celluloid::Task:0x1aff8eb> for iowait |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Trying to nonblock read 4096. | |
READ WAITING. | |
READ EVT WAITING. | |
READ EVT WAITING DONE. | |
READ RETRYING. | |
Trying to nonblock read 4096. | |
Buffer is now: {"id":"1333298223564","params":{"web_player_id":0,"server_player_id":1,"version":"2012-0331-2039"},"action":"players|login"} | |
Received: {"id":"1333298223564","params":{"web_player_id":0,"server_player_id":1,"version":"2012-0331-2039"},"action":"players|login"} | |
Trying to nonblock read 4096. | |
READ WAITING. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def write(string) | |
if @__write_buffer.nil? | |
@__write_buffer = string | |
else | |
@__write_buffer << string | |
end | |
total_written = 0 | |
while @__write_buffer.length != 0 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arturas@zeus:~/work/as3_stacktracer$ sbt console | |
[info] Loading global plugins from /home/arturas/.sbt/plugins | |
[info] Loading project definition from /home/arturas/work/as3_stacktracer/project | |
[info] Set current project to AS3Stacktracer (in build file:/home/arturas/work/as3_stacktracer/) | |
[info] Starting scala interpreter... | |
[info] | |
Welcome to Scala version 2.9.1.final (Java HotSpot(TM) Server VM, Java 1.7.0). | |
Type in expressions to have them evaluated. | |
Type :help for more information. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
arturas@zeus:~/work/as3_stacktracer$ cat project/plugins.sbt | |
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "0.7.3") | |
resolvers += Resolver.url("sbt-plugin-releases", | |
new URL("http://scalasbt.artifactoryonline.com/scalasbt/sbt-plugin-releases/"))(Resolver.ivyStylePatterns) | |
arturas@zeus:~/work/as3_stacktracer$ cat project/Build.scala | |
import sbt._ | |
import Keys._ | |
import sbtassembly.Plugin._ | |
import AssemblyKeys._ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ServerActor crashed! | |
Errno::EPIPE: Broken pipe - Broken pipe | |
org/jruby/RubyIO.java:1316:in `write_nonblock' | |
org/jruby/RubyBasicObject.java:1700:in `__send__' | |
/home/arturas/.rvm/gems/jruby-1.6.6@nebulaserver/bundler/gems/celluloid-io-76973958a0fe/lib/celluloid/io/common_methods.rb:50:in `write' | |
/home/arturas/work/spacegame/server/lib/server/server_actor.rb:108:in `write' | |
org/jruby/RubyBasicObject.java:1706:in `__send__' | |
org/jruby/RubyKernel.java:2103:in `send' | |
/home/arturas/.rvm/gems/jruby-1.6.6@nebulaserver/bundler/gems/celluloid-115071ecd40e/lib/celluloid/calls.rb:93:in `dispatch' | |
/home/arturas/.rvm/gems/jruby-1.6.6@nebulaserver/bundler/gems/celluloid-115071ecd40e/lib/celluloid/actor.rb:201:in `handle_message' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
jruby-1.6.6 :001 > lambda { raise "what?" } | |
=> #<Proc:0x9bbca@(irb):1 (lambda)> | |
jruby-1.6.6 :002 > a = _ | |
=> #<Proc:0x9bbca@(irb):1 (lambda)> | |
jruby-1.6.6 :003 > puts | |
=> nil | |
jruby-1.6.6 :004 > puts | |
=> nil |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class RaidSpawner | |
# It's a regular planet. | |
KEY_PLANET = 'planet' | |
# It's a battleground planet. | |
KEY_BATTLEGROUND = 'battleground' | |
# Apocalypse is raging in the galaxy. | |
KEY_APOCALYPSE = 'apocalypse' | |
def initialize(planet) | |
@planet = planet |