Created
December 4, 2012 23:48
-
-
Save CootCraig/4210371 to your computer and use it in GitHub Desktop.
jruby 1.7.1 windows debug celluloid crash
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
| craig@WIN-CDJBO6TFFLJ ~/Documents/dev/simple | |
| $ jruby --debug simple.rb | |
| E, [2012-12-04T16:44:15.190000 #3480] ERROR -- : Celluloid::SupervisionGroup cra | |
| shed! | |
| NoMethodError: undefined method `yield' for Fiber:Class | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/ta | |
| sks/task_fiber.rb:35:in `suspend' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/ta | |
| sk.rb:22:in `suspend' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/ac | |
| tor.rb:69:in `call' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/pr | |
| oxies/actor_proxy.rb:19:in `_send_' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid.rb | |
| :112:in `new_link' | |
| org/jruby/RubyBasicObject.java:1659:in `__send__' | |
| org/jruby/RubyKernel.java:2086:in `send' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/su | |
| pervision_group.rb:133:in `start' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/su | |
| pervision_group.rb:120:in `initialize' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/su | |
| pervision_group.rb:80:in `add' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/su | |
| pervision_group.rb:71:in `supervise_as' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/su | |
| pervisor.rb:17:in `supervise_as' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/su | |
| pervision_group.rb:63:in `initialize' | |
| org/jruby/RubyBasicObject.java:1659:in `__send__' | |
| org/jruby/RubyBasicObject.java:1665:in `__send__' | |
| org/jruby/RubyKernel.java:2090:in `send' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/ca | |
| lls.rb:57:in `dispatch' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/ac | |
| tor.rb:323:in `handle_message' | |
| c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.12.3/lib/celluloid/ta | |
| sks/task_fiber.rb:22:in `initialize' | |
| NoMethodError: undefined method `yield' for Fiber:Class | |
| suspend at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/tasks/task_fiber.rb:35 | |
| suspend at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/task.rb:22 | |
| call at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/actor.rb:69 | |
| _send_ at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/proxies/actor_proxy.rb:19 | |
| new_link at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid.rb:112 | |
| __send__ at org/jruby/RubyBasicObject.java:1659 | |
| send at org/jruby/RubyKernel.java:2086 | |
| start at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/supervision_group.rb:133 | |
| initialize at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/supervision_group.rb:120 | |
| add at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/supervision_group.rb:80 | |
| supervise_as at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/supervision_group.rb:71 | |
| supervise_as at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/supervisor.rb:17 | |
| initialize at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/supervision_group.rb:63 | |
| __send__ at org/jruby/RubyBasicObject.java:1659 | |
| __send__ at org/jruby/RubyBasicObject.java:1665 | |
| send at org/jruby/RubyKernel.java:2090 | |
| dispatch at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/calls.rb:57 | |
| handle_message at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/actor.rb:323 | |
| initialize at c:/jruby/jruby-1.7.1/lib/ruby/gems/shared/gems/celluloid-0.1 | |
| 2.3/lib/celluloid/tasks/task_fiber.rb:22 | |
| I, [2012-12-04T16:44:15.214000 #3480] INFO -- : Terminating 4 actors... | |
| I, [2012-12-04T16:44:15.220000 #3480] INFO -- : Shutdown completed cleanly | |
| craig@WIN-CDJBO6TFFLJ ~/Documents/dev/simple | |
| $ |
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
| source "http://rubygems.org" | |
| gem "celluloid" |
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
| GEM | |
| remote: http://rubygems.org/ | |
| specs: | |
| celluloid (0.12.3) | |
| facter (>= 1.6.12) | |
| timers (>= 1.0.0) | |
| facter (1.6.16) | |
| timers (1.0.1) | |
| PLATFORMS | |
| java | |
| DEPENDENCIES | |
| celluloid |
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
| craig@WIN-CDJBO6TFFLJ ~/Documents/dev/simple | |
| $ jruby -v | |
| jruby 1.7.1 (1.9.3p327) 2012-12-03 30a153b on Java HotSpot(TM) Client VM 1.8.0-e | |
| a-b64 +indy [Windows Server 2008 R2-x86] | |
| craig@WIN-CDJBO6TFFLJ ~/Documents/dev/simple | |
| $ |
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
| craig@WIN-CDJBO6TFFLJ ~/Documents/dev/simple | |
| $ jruby simple.rb | |
| 2 second actor | |
| 5 second actor | |
| 2 second actor | |
| 2 second actor | |
| 5 second actor | |
| 2 second actor | |
| 2 second actor | |
| 2 second actor | |
| 5 second actor | |
| 2 second actor | |
| 2 second actor | |
| 5 second actor | |
| 2 second actor | |
| 2 second actor | |
| 2 second actor | |
| 5 second actor | |
| 2 second actor | |
| 2 second actor | |
| 5 second actor | |
| 2 second actor | |
| 2 second actor | |
| I, [2012-12-04T16:47:22.938000 #2400] INFO -- : Terminating 11 actors... | |
| I, [2012-12-04T16:47:22.997000 #2400] INFO -- : Shutdown completed cleanly | |
| craig@WIN-CDJBO6TFFLJ ~/Documents/dev/simple | |
| $ |
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
| require "rubygems" | |
| require "bundler/setup" | |
| require 'celluloid' | |
| class MyActor | |
| include Celluloid | |
| def initialize(msg,sleep_time) | |
| @msg = msg | |
| @sleep_time = sleep_time | |
| @timer = nil | |
| hello | |
| end | |
| def hello | |
| puts @msg | |
| @timer = after(@sleep_time) { hello } | |
| end | |
| end | |
| MyActor.supervise_as :actor2,'2 second actor',2 | |
| MyActor.supervise_as :actor5,'5 second actor',5 | |
| sleep 30 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment