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-01-31 17:47:02 | |
Full thread dump Java HotSpot(TM) Server VM (23.0-b11 mixed mode): | |
"process reaper" daemon prio=10 tid=0x095ae400 nid=0x319e waiting on condition [0x8cf52000] | |
java.lang.Thread.State: TIMED_WAITING (parking) | |
at sun.misc.Unsafe.park(Native Method) | |
- parking to wait for <0x98dec9d8> (a java.util.concurrent.SynchronousQueue$TransferStack) | |
at java.util.concurrent.locks.LockSupport.parkNanos(LockSupport.java:226) | |
at java.util.concurrent.SynchronousQueue$TransferStack.awaitFulfill(SynchronousQueue.java:460) | |
at java.util.concurrent.SynchronousQueue$TransferStack.transfer(SynchronousQueue.java:359) |
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/spacegame/flex$ jruby --1.9 -S rake flex:locales:check --trace | |
** Invoke flex:locales:check (first_time) | |
** Execute flex:locales:check | |
Checking lt.xml | |
UTF-8 | |
rake aborted! | |
rake aborted! | |
incompatible character encodings: UTF-8 and ASCII-8BIT | |
org/jruby/RubyString.java:2499:in `concat' | |
/home/arturas/.rvm/rubies/jruby-1.6.6/lib/ruby/1.9/rexml/parseexception.rb:24:in `to_s' |
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 |
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
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
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
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
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
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
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 |