Jump to content




[1.31][SMP]This happens when reload server


22 replies to this topic

#1 Averus

  • New Members
  • 22 posts

Posted 19 March 2012 - 04:01 PM

*edited

yes! i can reproduse bug!

blocks like this http://minus.com/mJCaIewl0

file startup
----------------------
while true do
rs.setOutput("left",true)
rs.setOutput("left",false)
end
---------------------------
reboot comp

and server DOWN

http://minus.com/mykQCmxSF

same error when reload server, only del startup code in world folder




bug works not only with redstone

3-22 17:59:41 [SEVERE] Unexpected exception
java.lang.StackOverflowError
at net.minecraft.server.World.getTileEntity(World.java:1608)
at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:44)
at eloraam.core.CoreLib.getTileEntity(CoreLib.java:67)
at eloraam.core.BlockExtended.d(BlockExtended.java:84)
at eloraam.core.RedPowerLib.isStrongPoweringTo(RedPowerLib.java:213)
at eloraam.core.RedPowerLib.isStrongPowered(RedPowerLib.java:223)
at eloraam.core.RedPowerLib.isPoweringTo(RedPowerLib.java:271)
at eloraam.core.RedPowerLib.isPowered(RedPowerLib.java:331)
at eloraam.lighting.BlockLamp.checkPowerState(BlockLamp.java:71)
at eloraam.lighting.BlockLamp.onPlace(BlockLamp.java:86)
at net.minecraft.server.Chunk.a(Chunk.java:341)
at net.minecraft.server.World.setRawTypeIdAndData(World.java:362)
at net.minecraft.server.World.setTypeIdAndData(World.java:459)
at eloraam.lighting.BlockLamp.checkPowerState(BlockLamp.java:68)
at eloraam.lighting.BlockLamp.doPhysics(BlockLamp.java:81)
at net.minecraft.server.World.k(World.java:535)
at net.minecraft.server.World.applyPhysics(World.java:511)
at net.minecraft.server.World.update(World.java:476)
at net.minecraft.server.World.setTypeIdAndData(World.java:460)
at eloraam.lighting.BlockLamp.checkPowerState(BlockLamp.java:68)


#2 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 19 March 2012 - 05:13 PM

Reload server in what way? As in, close it down, then start it up?

#3 Averus

  • New Members
  • 22 posts

Posted 20 March 2012 - 09:59 PM

we play all good, when reload server and this error, server cant boot till remove 100-200 last computers from world folder

#4 Casper7526

    OG of CC

  • Members
  • 362 posts

Posted 21 March 2012 - 02:48 AM

Prolly an issue with threads.... how many computers do you have LOL

Each computer generates 3 threads when started currently, so you very well maybe have hundreds of computers which will generate 1000's of threads.

#5 Averus

  • New Members
  • 22 posts

Posted 21 March 2012 - 07:42 PM

4892 comps
Server CPU load 42% RAM 60%

#6 Liraal

  • New Members
  • 477 posts
  • LocationPoland

Posted 21 March 2012 - 07:43 PM

wow. 4892*3 means... a lot? Seriously, what do you need such a number for?

#7 Averus

  • New Members
  • 22 posts

Posted 22 March 2012 - 02:52 PM

i dont need it players using it

today i have server down, last in log:

[SEVERE] at net.minecraft.server.World.applyPhysics(World.java:515)
2012-03-19 14:52:57 [SEVERE] at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:54)
2012-03-19 14:52:57 [SEVERE] at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:296)

fix plz

server down if reach 5000 mark
how too clean world from old comps? or from all comps?


2012-03-19 14:52:57 [SEVERE] at net.minecraft.server.World.k(World.java:535)
2012-03-19 14:52:57 [SEVERE] at net.minecraft.server.World.applyPhysics(World.java:514)

#8 Averus

  • New Members
  • 22 posts

Posted 22 March 2012 - 03:17 PM

-

#9 Averus

  • New Members
  • 22 posts

Posted 22 March 2012 - 03:27 PM

7:25:53 [SEVERE] Unexpected exception
java.lang.StackOverflowError
at net.minecraft.server.LongHashMap.g(LongHashMap.java:14)
at net.minecraft.server.LongHashMap.getEntry(LongHashMap.java:31)
at net.minecraft.server.PlayerManager.a(PlayerManager.java:50)
at net.minecraft.server.PlayerManager.flagDirty(PlayerManager.java:63)
at net.minecraft.server.ServerConfigurationManager.flagDirty(ServerConfigurationManager.java:394)
at net.minecraft.server.WorldManager.a(WorldManager.java:28)
at net.minecraft.server.World.notify(World.java:470)
at net.minecraft.server.World.update(World.java:475)
at net.minecraft.server.World.setData(World.java:419)
at net.minecraft.server.BlockRedstoneWire.a(BlockRedstoneWire.java:123)
at net.minecraft.server.BlockRedstoneWire.g(BlockRedstoneWire.java:46)
at net.minecraft.server.BlockRedstoneWire.doPhysics(BlockRedstoneWire.java:296)
at net.minecraft.server.World.k(World.java:535)
at net.minecraft.server.World.applyPhysics(World.java:512)
at net.minecraft.server.BlockRedstoneWire.g(


#10 Averus

  • New Members
  • 22 posts

Posted 22 March 2012 - 03:38 PM

we dell copm folder in world folder and have server down with one comp working
bugger uses this

file startup

while true do
rs.setOutput("left",true)
rs.setOutput("left",false)
end


only 1 comp with this code on both server when servers down, we cant find this comp, so its all i know

#11 Averus

  • New Members
  • 22 posts

Posted 22 March 2012 - 03:52 PM

yes! i can reproduse bug!

blocks like this http://minus.com/mJCaIewl0

file startup
----------------------
while true do
rs.setOutput("left",true)
rs.setOutput("left",false)
end
---------------------------
reboot comp

and server DOWN

http://minus.com/mykQCmxSF






bug works not only with redstone

3-22 17:59:41 [SEVERE] Unexpected exception
java.lang.StackOverflowError
at net.minecraft.server.World.getTileEntity(World.java:1608)
at net.minecraft.server.WorldServer.getTileEntity(WorldServer.java:44)
at eloraam.core.CoreLib.getTileEntity(CoreLib.java:67)
at eloraam.core.BlockExtended.d(BlockExtended.java:84)
at eloraam.core.RedPowerLib.isStrongPoweringTo(RedPowerLib.java:213)
at eloraam.core.RedPowerLib.isStrongPowered(RedPowerLib.java:223)
at eloraam.core.RedPowerLib.isPoweringTo(RedPowerLib.java:271)
at eloraam.core.RedPowerLib.isPowered(RedPowerLib.java:331)
at eloraam.lighting.BlockLamp.checkPowerState(BlockLamp.java:71)
at eloraam.lighting.BlockLamp.onPlace(BlockLamp.java:86)
at net.minecraft.server.Chunk.a(Chunk.java:341)
at net.minecraft.server.World.setRawTypeIdAndData(World.java:362)
at net.minecraft.server.World.setTypeIdAndData(World.java:459)
at eloraam.lighting.BlockLamp.checkPowerState(BlockLamp.java:68)
at eloraam.lighting.BlockLamp.doPhysics(BlockLamp.java:81)
at net.minecraft.server.World.k(World.java:535)
at net.minecraft.server.World.applyPhysics(World.java:511)
at net.minecraft.server.World.update(World.java:476)
at net.minecraft.server.World.setTypeIdAndData(World.java:460)
at eloraam.lighting.BlockLamp.checkPowerState(BlockLamp.java:68)


#12 Espen

    Curious Explorer

  • Members
  • 708 posts

Posted 22 March 2012 - 03:59 PM

Wow, four bumps in a row.
If you didn't yet know, there is an edit button in the lower right corner of your posts, so you can edit them.
If you did know this already, then I can just say that repeatedly poking someone to get his attention will only make him more and more annoyed and less inclined to help you.

#13 Averus

  • New Members
  • 22 posts

Posted 22 March 2012 - 04:15 PM

View PostEspen, on 22 March 2012 - 03:59 PM, said:

Wow, four bumps in a row.
If you didn't yet know, there is an edit button in the lower right corner of your posts, so you can edit them.
If you did know this already, then I can just say that repeatedly poking someone to get his attention will only make him more and more annoyed and less inclined to help you.
sorry, but 2 servers down 10 times in hour, i have panic!

#14 Cloudy

    Ex-Developer

  • Members
  • 2,543 posts

Posted 22 March 2012 - 09:19 PM

Are all the computers still in the world? If so, then there's your problem.

#15 Averus

  • New Members
  • 22 posts

Posted 22 March 2012 - 11:39 PM

View PostCloudy, on 22 March 2012 - 09:19 PM, said:

Are all the computers still in the world? If so, then there's your problem.
hm.... problem is bug in first post

#16 Casper7526

    OG of CC

  • Members
  • 362 posts

Posted 23 March 2012 - 06:37 AM

Still got 4000 computers?

#17 Averus

  • New Members
  • 22 posts

Posted 23 March 2012 - 05:49 PM

View PostCasper7526, on 23 March 2012 - 06:37 AM, said:

Still got 4000 computers?
yes, but can you see #1 post? its a bug, easy to reproduce or you cant reproduce it ?

#18 bbqroast

  • Members
  • 124 posts

Posted 23 March 2012 - 08:32 PM

Averus, the issue is this:
You have too many computers!
It's like saying that Skyrim is buggy because a Pentium 1 PC doesn't run it on Ultra settings.

How do you mean "reload"?
Are you typing "reload"?
Or closing the server and starting it again?

#19 RuAnShi

  • New Members
  • 5 posts

Posted 23 March 2012 - 10:33 PM

Hi guys!

Just to acomplish all this flame.
I have successfully reptoduced this bug. This bug is not related to 4K computers.
It is simple reproducable in bukkit environment. Just start server with one user and place computer and redstone wire in any side.
Then just write simple aggressive (dumb) lua code
while true do
rs.setOutput("left", true)
rs.setOutput("left", false)
end
The server will crash in 100% cases. The computer bios code newer reach "to long" sinuation.
It always crash in any configuration.

Seems this bug is not related to CC - it more specific to bukkit. But due to aggressive eventing scheme in this sittuation,
it crash bukkit lately. So the proposition is to delay any eventing from computer block to any real world.
Seems this scheme will work until bukkit got handle of it.

In addition, when CC mixrd with redpower, and red stone, it also crashed world in the same manner.

#20 Averus

  • New Members
  • 22 posts

Posted 24 March 2012 - 10:39 PM

View Postbbqroast, on 23 March 2012 - 08:32 PM, said:

Averus, the issue is this:
You have too many computers!
It's like saying that Skyrim is buggy because a Pentium 1 PC doesn't run it on Ultra settings.

How do you mean "reload"?
Are you typing "reload"?
Or closing the server and starting it again?

plz see #19





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users