Closed Qqwy closed 9 years ago
@qqwy Not sure exactly what the problem is, but I can see from the stack trace you're running a version of celluloid that's different than what is specified for CarbonMU. Instead of starting the game through the console, try running bundle exec bin/carbonmu start
- the bundle exec should ensure the proper gems are used.
I've also done zero testing on Windows, so that could be the culprit.
Closing due to lack of response, feel free to reopen with the info requested.
When connecting to the telnet port (127.0.0.1:8421) using the PuTTYtel telnet client, the server crashes.
Steps I took:
The server crashes, printing the following log:
(This was the moment where I tried connecting using the telnet client. Now the server crashes:)
E, [2015-06-01T03:48:55.034487 #8624] ERROR -- CarbonMU: Actor crashed! ThreadError: deadlock; recursive locking c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/nio4r-1.1.0/lib/nio/selector.rb:4 0:in
synchronize' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/nio4r-1.1.0/lib/nio/selector.rb:4 0:inderegister' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/nio4r-1.1.0/lib/nio/monitor.rb:40 :in
close' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-io-0.16.5.pre0/lib/cell uloid/io/reactor.rb:52:inwait' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-io-0.16.5.pre0/lib/cell uloid/io/reactor.rb:21:in
wait_readable' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-io-0.16.5.pre0/lib/cell uloid/io.rb:53:inwait_readable' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-io-0.16.5.pre0/lib/cell uloid/io/tcp_server.rb:19:in
accept' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/carbonmu-0.0.3/lib/carbonmu/edge_ router/telnetreceptor.rb:23:in `block in run' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/carbonmu-0.0.3/lib/carbonmu/edge router/telnetreceptor.rb:23:in `loop' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/carbonmu-0.0.3/lib/carbonmu/edge router/telnet_receptor.rb:23:inrun' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/calls.rb:28:in
public_send' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/calls.rb:28:indispatch' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/call/async.rb:7:in
dispatch' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/cell.rb:50:inblock in dispatch' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/cell.rb:76:in
block in task' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/actor.rb:363:inblock in task' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/task.rb:57:in
block in initialize' c:/Ruby21-x64/lib/ruby/gems/2.1.0/gems/celluloid-0.17.0.pre15/lib/cellul oid/task/fibered.rb:14:inblock in create'
My system: Windows 8.1, Ruby 2.1.6